Rebar UI

1.0

synthetic

BulletGraph

A measure bar against a target tick, read against three shaded bands.

October targetsTasks, hours and Harbour progress against plan
Tasks done33 / 30Hours logged109 / 120Harbour (%)84 / 80
October targets
Below target
Interviews done9 / 12
Over target
Rota export runs14 / 10

In context

Studio dashboardOne card of KPIs
This month
Tasks done33 / 30Hours logged109 / 120

Props

PropTypeRequiredDefault
measuresBulletGraphMeasure[]Yes—
titlestring | undefinedNo—
ariaLabelstring | undefinedNo—
valueFormat((v: number) => string) | undefinedNo(v: number) => Math.round(v).toLocaleString()
rowHeightnumber | undefinedNo48
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

Reading it

A bar for the value, a tick for the target, and three shaded bands for poor, satisfactory and good. Each measure is scaled to its own ranges.

data-rebar-* attributes

data-rebar-component="bullet-graph" on the root <figure>; data-rebar-part="measure" per row, "measure-bar" and "target" within it.

Migrating to Ant Design

Not codemod-covered. Compose a thin Progress bar with a target-tick overlay, or adopt a dataviz library.