@redrob-labs/ui v1.8.0 · Redrob Group Design System 2026

BarList

Insights · src/components/BarList/BarList.tsx

Horizontal bars on one shared scale, one row per group, for comparing teams, tools or kinds of work.

Each row is a list item whose text carries the label, the figure and its note, so the list reads in full without the bars. A group below the privacy floor keeps its row - leaving it out would let a reader subtract it back from the total - but shows a hatched track and the reason instead of a number.

Import

import { BarList } from '@redrob-labs/ui';

Rendered

No rendering: the delivery ships no preview case for this one

Props

PropTypeNotes
rows BarListRow[]
format (v: number | null | undefined) => string
max number The scale's end. The largest value or reference by default.
referenceLabel React.ReactNode Legend for the reference tick, printed under the list.
hiddenLabel string What a hidden row says. "Fewer than 3 people" by default.
onNavigate (href: string, event: React.MouseEvent<HTMLAnchorElement>) => void Plain-click handler for linked rows, for a client-side router. Same contract as AppShell.onNavigate.
className string

Exported types

BarListRow