Progress
Spring-animated progress bars and rings, with an indeterminate mode for unknown durations.
FeedbackRadix Progress
Uploading assets12%
Playground
Tweak the props, the preview and the code follow.
Props
60
<Progress value={60} />Installation
npx @plumsydev/plum-ui add progressUsage
import { Progress, ProgressRing } from "@/components/ui/progress"<Progress value={42} />
<ProgressRing value={42} showValue />Examples
Indeterminate
Pass value={null} when you can't measure progress.
Provisioning database…
Ring
ProgressRing for compact, circular progress.
64%
API Reference
Progress
| Prop | Type | Default |
|---|---|---|
valueCurrent value. `null` or omitted renders the indeterminate animation. | number | null | — |
maxMaximum value. | number | 100 |
variantIndicator color. | "default" | "brand" | "success" | "warning" | "destructive" | "default" |
sizeTrack height. | "sm" | "default" | "lg" | "default" |
ProgressRing
| Prop | Type | Default |
|---|---|---|
value*Current value. | number | — |
maxMaximum value. | number | 100 |
sizeDiameter in pixels. | number | 48 |
strokeWidthRing thickness. | number | 4 |
showValueDisplays the animated percentage in the center. | boolean | false |