bloxa

Progress

FREE

Linear and circular progress with an animated fill, labels, localized values and an indeterminate mode.

Installation

Terminal
npx @bloxa/cli add progress
# or: npx shadcn@latest add @bloxa/progress

Packages installed automatically: motion, radix-ui

Examples

Size, tone and value

Storage64 / 100 GB
Quota88%

Live and indeterminate

value={null} is indeterminate; once values arrive the fill animates.

Preparing…

Circle

25%
60%
92%
7/10

API reference

Every component also accepts the props of the element it renders.

Progress

PropTypeDefaultDescription
valuenumber | nullnullCurrent value; null is indeterminate.
maxnumber100Maximum value.
size"sm" | "md" | "lg""md"Height and text size.
tone"accent" | "foreground" | "destructive""accent"Fill color.
labelReactNode—Text above the bar, left.
showValuebooleanfalseShow the formatted value on the right.
formatValue(value, max) => string—Custom value text; defaults to a localized percent.

ProgressCircle

PropTypeDefaultDescription
valuenumber—Current value.
sizenumber64Diameter in px.
thicknessnumber6Ring thickness in px.
showValueboolean | ReactNodetrueValue in the center, or your own node.
labelstring—Accessible name.