Progress Bar

A progress bar shows the progression of a task.

() => clearTimeout(timer)

Installation

pnpm dlx 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...

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 12/21/2025

dotUI

Bringing singularity to the web.

Built with passion by @mehdibha.