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 { BarList } from '@redrob-labs/ui';
No rendering: the delivery ships no preview case for this one
| Prop | Type | Notes |
|---|---|---|
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 |