Atelier UI

Search components…

Search components…

Circular Progress

SVG ring progress with centered percentage, adjustable size, thickness and color.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

CircularProgressProps

Also accepts all props of Omit<React.ComponentProps<"div">, "children">

PropTypeDefaultDescription
value* requirednumber—0 - 100
sizenumber96Outer diameter in px
thicknessnumber8Stroke width in px
colorstring"text-primary"Tailwind text color class for the arc, e.g. "text-emerald-500". Defaults to text-primary.
childrenReact.ReactNode—Replace the default percent text in the center.
showValuebooleantrue—
labelstring"Progress"—

Install

$ npx shadcn@latest add https://chromotion.dev/r/circular-progress.json

More like this