Progress
Progress bar component with five sizes, colors, label, percentage and animated transitions.
How to use it
Run npx @blossomui/react add progress-bar, or copy src/components/UI/Progress/ProgressBar.tsx into your React project and import it.
import { ProgressBar } from './components/ui/ProgressBar'Props
ProgressBarProps
| Prop | Type | Description |
|---|---|---|
| value (required) | number | Current progress from 0 to 100. |
| size | ProgressSize | |
| color | ProgressColor | (string & {}) | A preset, `accent` for the brand color or any CSS color. |
| label | string | Text shown above the bar, next to the percentage. |
| showValue | boolean | Show the percentage above the bar. |
| showValueInside | boolean | Show the percentage inside the bar (use with size lg or bigger). |