Skip to main content

Progress Bar

A progress bar shows the progression of a task.

On this page
Loading...
Props
<ProgressBar>
  <Label>Loading...</Label>
  <ProgressBarControl />
</ProgressBar>

Installation

npx shadcn@latest add @dotui/progress-bar

Usage

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.

PropType
ReactNode | function
boolean
number
ReactNode
NumberFormatOptions

ProgressBarControl

The visual track for the progress bar.

Supports all div attributes.

PropType

ProgressBarOutput

A progress bar output displays the current value of the progress bar as text.

Supports all span attributes.

PropType

Last updated on 6/16/2026