Progress
Atom
Determinate and indeterminate progress bars: a rounded bar that reports how far a task has gotten, or that work is underway.
Playground
Every control sets a real prop of ProgressProps. The JSX below updates as you go.
Web
iOS
Android
JSX · ProgressProps
Variants
8 examples from src/atoms/progress/progress.md, each rendered live from its own JSX.
Sizes
Anatomy
1
Label
2
Track
3
Fill
4
Value
Dimmed parts appear only in some states or variants.
Props
14 props on ProgressProps, grouped as they are declared in source. Required props are marked *.
MeasureProps · width steps xxxs 192 · xxs 256 · xs 320 · sm 384 · md 448 · lg 512 · xl 576 · xxl 672 · xxxl 768 · wide 896 · wider 1024 · widest 1152 · page 1280, plus start to pin to the leading edge.
Accessibility and keyboard
Keyboard
Not focusable. It has no interaction of its own and takes the semantics of what it wraps.
Semantics
Roles
progressbar
ARIA on web
aria-valuemax
aria-valuemin
aria-valuenow
From the docs
Name the task with string children, or pass accessibilityLabel when the visible title is omitted or contains rich content.
segments displays a fixed number of discrete 13×5 dashes with three pixels between them. It uses the same 0–1 value, intent fill and accessible percentage. Indeterminate wins over discrete segments; a labelled segmented meter retains its header.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
The bar fills the parent it is given; a step of its own (xs, lg, …, with start to pin it to the leading edge) or a Container step sets its measure.
Name the task with string children, or pass accessibilityLabel when the visible title is omitted or contains rich content.
segments displays a fixed number of discrete 13×5 dashes with three pixels between them. It uses the same 0–1 value, intent fill and accessible percentage. Indeterminate wins over discrete segments; a labelled segmented meter retains its header.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--fd
--fm
--ft
--ion
--sf4
--tx2