Progress

Displays an indicator showing the completion progress of a task. Fills from the inline start — works in LTR and RTL.

Basic

Show task completion with a value from 0 to 100.

Installation

CLI
npx @sonojs/ui@latest add progress

Composition

structure
Progress

Usage

progress.tsx
import { Progress } from "@/components/ui/progress"

export function Example() {
  return <Progress value={33} />
}

Props

PropTypeDefaultDescription
valuenumber · null · undefined—Completion from `0` to `100`. Omit for indeterminate when supported by the primitive.
maxnumber100Maximum value used for the accessible progress range.
classNamestring—Merge extra Tailwind classes on the root track.