Progress bar
A horizontal progress fill that reveals on entrance, with optional benchmark ticks.
API reference
Components
<ProgressBar />
Horizontal progress track with optional reveal, reference tick, and label slots.
value
Fill length in [0,1]. Clamped; drives width and aria-valuenow when progressbar is set.
reveal?
Animate the fill with a left-anchored scaleX reveal on the theme ui spring.
revealed?
Gate for reveal. While false the fill holds at scaleX 0. Default true.
index?
Stagger index: delay = index * theme.stagger.base. Default 0.
referenceTick?
Optional reference marker at a share in [0,1]. Decorative; aria-hidden.
highlight?
Paint the fill with bg-primary. Default false.
tone?
Opaque colour for a non-highlighted fill. Ignored when highlight is set.
size?
Track height: "sm" (4px) or "md" (8px).
progressbar?
Expose the track as an ARIA progressbar.
"aria-label"?
Accessible name when progressbar is set.
label?
Leading label slot.
valueLabel?
Trailing label slot.
labelPlacement?
Label row placement relative to the track. Default "top".
className?
Merged onto the root wrapper.
ref?
Forwarded ref on the root wrapper.