Progress
A simple, accessible progress bar component. Use it to display progress-level UI such as uploads, steps, or poll results.
Install Dependencies
npx quickcode-ui add ProgressExamples
Default Progress
Upload progress42%
Sizes
Small65%
Medium65%
Large65%
Custom Colors
Success85%
Warning50%
Error25%
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | Current value. Interpreted against max. |
max | number | 100 | Maximum value. |
min | number | 0 | Minimum value. |
label | string | undefined | Optional label displayed above the bar. |
showValue | boolean | true | Show percentage text next to the label. |
size | "sm" | "md" | "lg" | "md" | Visual thickness of the bar. |
barClassName | string | undefined | Extra classes applied to the inner fill element. Useful for theming. |
className | string | undefined | Additional classes for the component wrapper. |
...props | React.ComponentProps<'div'> | — | Any other valid div props are forwarded to the wrapper. |
Last updated on