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

BulletBar

Insights · src/components/BulletBar/BulletBar.tsx

A bullet graph: where a figure is against its goal, and optionally against a comparison, in the space of a table cell. For a habit with a target ("Check, target 85%") rather than a figure that only goes up.

The full reading ("Now 72% · target 85% · Company 78%") is the accessible name, so the ticks are never the only way to tell the three apart.

Import

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

Rendered

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

Props

PropTypeNotes
value number | null
target required number The goal. Drawn as a band up to it and a tick at it.
compare number | null A comparison, e.g. the company figure. A thinner tick.
compareLabel string
valueLabel string "Now" by default.
targetLabel string "target" by default.
max number
format (v: number | null | undefined) => string
className string