Progress Bar

A progress bar shows the progression of a task.

() => clearTimeout(timer)

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>

Playground

Use the controls below to experiment with different progress bar props and see the live preview and code update.

Loading...
<ProgressBar value={60}>
  <Label>Loading...</Label>
  <ProgressBarControl />
</ProgressBar>

API Reference

ProgressBar

Progress bars show either determinate or indeterminate progress of an operation over time.

PropType
number
boolean
ReactNode
ReactNode | function
NumberFormatOptions

ProgressBarControl

Missing description.

Supports all div attributes.

PropType
union
"sm" | "md" | "lg"
`${number}s` | `${number}ms`

Last updated on 1/13/2026

Built with passion by @mehdibha.