shadcn.io is not affiliated with official shadcn/ui
Progress examples · Sizes
Default Progress for React
A progress bar at 60 percent with its track at the default height.
Framework
UI library
A progress bar at the theme's own height, for most places a bar goes. The size examples change only the track's height; this one shows the starting point.
Preview
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
FAQ
How tall is the track?
This demo sets no height. Each theme style sets its own, from h-0.5 to h-3. The other size examples set it with a class on Progress.
What does the bar show?
value is 60 on the default range of 0 to 100. w-full max-w-md sets its width.
Which colors does it use?
The fill is bg-primary and the track bg-muted, from the theme's progress styles. This demo adds no color class.
Related
- Small ProgressA progress bar at 60 percent with a 6px
- Large ProgressA progress bar at 60 percent with a 16px
- Default SpinnerA spinner at its default size and color
- Extra Large ProgressA progress bar at 60 percent with a 24px
- Extra Small ProgressA progress bar at 60 percent with a 4px
- Complete ProgressA progress bar at 100 percent, filled to