32%
68%
91score
Playground
Change the props and copy the code. The controls come from the component's TypeScript types.
68%
Props
size72
stroke7
import { ProgressRing } from "@/components/ui/progress";<ProgressRing value={68} />Installation
$ pnpm dlx shadcn@latest add @synccn/progress-ringFirst time in this project? Connect synccn with one command.
Usage
import { ProgressRing } from "@/components/ui/progress";<ProgressRing value={68} />API reference
Generated from the component's TypeScript types, so it always matches the code.
ProgressRing
Circular progress with the value in the middle.
PropTypeDescription
- value
numberDefault
0Percentage, 0–100.
- size
numberDefault
72Diameter in pixels.
- stroke
numberDefault
7Ring thickness in pixels.
- className
stringExtra classes for the root element.
- children
React.ReactNodeContent to render.
Dependencies
Read from the component's imports when the site builds. The CLI installs all of these for you.
Helpers
- lib/utilscn (merges class names)
npm packages
- clsx for cn()
- tailwind-merge for cn()
Accessibility
From the source
Read from this component's code when the site builds, so it can't drift.
- ARIA roles: progressbar
- ARIA attributes: aria-label, aria-valuemax, aria-valuemin, aria-valuenow
More feedback
AlertInline message in five tones, with action and dismiss.ToastStacked notifications with actions, promises and hover to expand.ProgressLinear progress, determinate or indeterminate.SkeletonShimmering placeholder while content loads.SpinnerEight-bar loading indicator.LoadersSix loading indicators: dots, bars, pulse, ring, orbit and typing.