Skip to Content
✨ QuickCode UI keeps growing! More components, more features, and more ways to make your projects shine. Stay tuned & maybe… hire me or sponsor me 😉 
DocumentationProgress

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 Progress

Examples

Default Progress

Upload progress42%

Sizes

Small65%
Medium65%
Large65%

Custom Colors

Success85%
Warning50%
Error25%

Props

PropTypeDefaultDescription
valuenumber0Current value. Interpreted against max.
maxnumber100Maximum value.
minnumber0Minimum value.
labelstringundefinedOptional label displayed above the bar.
showValuebooleantrueShow percentage text next to the label.
size"sm" | "md" | "lg""md"Visual thickness of the bar.
barClassNamestringundefinedExtra classes applied to the inner fill element. Useful for theming.
classNamestringundefinedAdditional classes for the component wrapper.
...propsReact.ComponentProps<'div'>Any other valid div props are forwarded to the wrapper.
Last updated on