Progress

Three pixels of track and a light in it. Pass indeterminate for a segment that sweeps and leaves.

pulls in@base-ui/react@afterglow/theme
Determinate68%
x
Indeterminateunknown
x

Installation

npx shadcn@latest add @afterglow/progress

API Reference

Progress

indeterminate is the sweep for work with no known length. It is a separate prop rather than a null value, because a bar at zero and a bar with no number are different things to look at.

PropTypeDefault
valuenumber | null-
indeterminatebooleanfalse

Everything else is Base UI progress's API, documented there.