ZeroGravity UI

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
variant
3value
8max
segments
format

Usage

TSX
import { Progress } from "zerogravity/progress"

<Progress
    label="Subtasks"
/>

Generated from the controls above. Only props that differ from their defaults are shown.

Props

7 documented props on Progress
PropertyTypeDefaultDescription
variant"pixel" | "classic" | "minimal" | "glass""pixel"Style.
valuenumber3Value. Range 0 to 100.
maxnumber8Max. Range 1 to 100.
segmentsbooleanfalseSegmented.
format"auto" | "percent" | "fraction""auto"Value text.
labelstring—Accessible name, shown unless hideLabel.
hideLabelbooleanfalseKeep the name for assistive tech only.

Dependencies

0 external runtime dependencies

Ships with nothing but React.