() => 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>
<ProgressBarControl />
</ProgressBar>Progress bars show either determinate or indeterminate progress of an operation over time.
| Prop | Type | Default | |
|---|---|---|---|
number | 0 | ||
boolean | — | ||
ReactNode | — | ||
ReactNode | function | — | ||
NumberFormatOptions | {style: 'percent'} | ||
Missing description.
Supports all div attributes.
| Prop | Type | Default | |
|---|---|---|---|
union | 'accent' | ||
"sm" | "md" | "lg" | 'md' | ||
`${number}s` | `${number}ms` | — |
Last updated on 1/13/2026
Bringing singularity to the web.
Built with passion by @mehdibha.