Interfacestable
Progress
Progress bar
A progress bar that reads as a fraction or a percentage, with an optional segmented mode.
Subtasks
Upload
Week
Customize
Valuefraction under 100, percentage at 100
variant3
value8
maxsegmentsformatUsage
import { Progress } from "zerogravity/progress"
<Progress
label="Subtasks"
/>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
variant | "pixel" | "classic" | "minimal" | "glass" | "pixel" | Style. |
value | number | 3 | Value. Range 0 to 100. |
max | number | 8 | Max. Range 1 to 100. |
segments | boolean | false | Segmented. |
format | "auto" | "percent" | "fraction" | "auto" | Value text. |
label | string | — | Accessible name, shown unless hideLabel. |
hideLabel | boolean | false | Keep the name for assistive tech only. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.