On this page
Loading...
Props
<ProgressBar>
<Label>Loading...</Label>
<ProgressBarControl />
</ProgressBar>Installation
npm
pnpm
yarn
bun
npx shadcn@latest add @dotui/progress-barUsage
Use 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>Examples
sm
md
lg
primary
success
accent
danger
warning
Loading...
Loading75%
Feeding…30 of 100 dogs
Sending…¥60
API Reference
ProgressBar
Progress bars show either determinate or indeterminate progress of an operation over time.
| Prop | Type | Default | |
|---|---|---|---|
ReactNode | function | — | ||
boolean | — | ||
number | 0 | ||
ReactNode | — | ||
NumberFormatOptions | { style: 'percent' } | ||
ProgressBarControl
ProgressBarOutput
A progress bar output displays the current value of the progress bar as text.
Supports all span attributes.
| Prop | Type | Default | |
|---|---|---|---|
Last updated on 6/16/2026