Progress bar

A raised, glossy bar. The fill is scaled with a transform and has a moving sheen. Leave the value out for an indeterminate bar.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

ProgressBar3D props

PropTypeDefaultDescription
valuenumber0 to max. Omit for indeterminate.
maxnumber100Value at which the bar is full.
labelstringText above the bar. Also names it for screen readers.
showValuebooleantrueShow the percentage next to the label.
size"sm" | "md" | "lg""md"Bar thickness: "sm", "md" or "lg".
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks