Progress
Shows how far along a task is, or that one is running at all.
- Feedback
- 1 file
- 2 npm packages
- Accessibility notes
pnpm dlx @dowel-ui/cli add progressnpm packages installed: class-variance-authority, radix-ui.
import { Progress } from "@/components/ui/progress";Default
With Label
Indeterminate
Tones
Sizes
Animated Progress Bar
<Progress>
| Prop | Type | Default |
|---|---|---|
easingHow the fill travels to a new value. | "smooth" | "spring" | "smooth" |
effectA moving texture on the fill while the value is known: | "none" | "striped" | "shine" | "none" |
fillOnMountFills from empty on mount instead of appearing at its value. For a bar that is revealed once, like a result or a quota; not for one that is polled, which would replay on every remount. Default | boolean | false |
size | "sm" | "md" | "lg" | "md" |
tone | "primary" | "success" | "warning" | "destructive" | "primary" |
Every prop of Radix UI’s Progress.Root, plus className.
8/8
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — passes
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes