Progress
Clean progress bar indicator displaying the status of a task or dynamic operations.
import
import { Progress } from "@/components/ui/progress/progress";$
npx @bloomui-react/cli add progressprogress.tsx
Default
Standard progress bar representing a completed percentage.
System Loading60%
Colors
Progress supports alert-aligned colors: primary, success, warning, danger, and default.
color:
primary | success | warning | danger | defaultPrimary
Success
Warning
Danger
Default
Sizes
Control height dimensions using the size prop: sm, md, or lg.
size:
sm | md | lgSmall
Medium
Large
Indeterminate & Barber-Pole Animated Stripes
Use isIndeterminate to display a looping loading bar when the progress duration is unknown, or combine with isBarberPole for an animated striped pattern.
isIndeterminate: booleanisBarberPole: boolean
Indeterminate operation...
Barber-pole stripes animated
Real-Time Simulated Progress
Continuously simulating a background operation moving from 0 to 100 to showcase real-time transitions.
showValueLabel: any
Downloading Assets...0%
Props — Progress
Supported properties for the Progress component.
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | 0 | Current progress percentage value (0 to 100). |
| size | 'sm' | 'md' | 'lg' | 'md' | Height size configuration of the progress track. |
| color | 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'primary' | Background color fill palette for progress indicator. |
| isIndeterminate | boolean | false | Removes exact value and displays infinite looping loader. |
| isBarberPole | boolean | false | Applies animated diagonal stripes background pattern over progress bar. |