Progress

Shows how far a task has come.

@paneui/theme@base-ui/reactclass-variance-authority
Uploading 24 files
x
x

Installation

pnpm dlx shadcn@latest add @paneui/progress

Usage

Examples

Tones

Use when a bar reports a storage or quota limit.

RTL

Motion

The fill eases to each new value over 300ms. With value={null} the bar is indeterminate: it slides across the track, and pulses in place under reduced motion.

API Reference

Built on the Progress primitive. Only the props this library adds or changes are listed; everything else passes through.

Progress

Also accepts every prop of Progress.Root.

value*
number | null
Current value; null is indeterminate.
size= "default"
"sm" | "default" | "lg"
Track height (4 / 6 / 8px).
tone= "default"
"default" | "success" | "warning" | "destructive"
Fill colour.
children
ReactNode
Label and value row above the track.
PropTypeDefaultDescription
value*number | null—Current value; null is indeterminate.
size"sm" | "default" | "lg""default"Track height (4 / 6 / 8px).
tone"default" | "success" | "warning" | "destructive""default"Fill colour.
childrenReactNode—Label and value row above the track.

ProgressLabel

Also accepts every prop of Progress.Label.

ProgressValue

Formatted percentage by default. Also accepts every prop of Progress.Value.