() => clearTimeout(timer)npx shadcn@latest add @dotui/progress-barUse progress bars to show the progression of a system operation or task.
import { ProgressBar, ProgressBarControl } from "@/components/ui/progress-bar";<ProgressBar value={60}>
<ProgressBarControl />
</ProgressBar>Use the controls below to experiment with different progress bar props and see the live preview and code update.
<ProgressBar value={60}>
<Label>Loading...</Label>
<ProgressBarTrack />
</ProgressBar>Progress bars show either determinate or indeterminate progress of an operation over time.
| Prop | Type | Default | |
|---|---|---|---|
ReactNode | function | — | ||
boolean | — | ||
DOMRenderFunction<"div", ProgressBarRenderProps> | — | ||
number | 0 | ||
ReactNode | — | ||
NumberFormatOptions | {style: 'percent'} | ||
The visual track for the progress bar.
Supports all div attributes.
Missing description.
Supports all span attributes.
Last updated on 5/22/2026