Progress Circle

A compact circular progress indicator drawn in SVG with a configurable size, an accent arc, an accessible label and the percentage in monospace below it.

src/registry/ui/progress-circle.tsx/r/progress-circle.json

Installation#

bash
npx shadcn@latest add @minidev/progress-circle

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/progress-circle.json

Usage#

tsx
import { ProgressCircle } from "@/components/ui/progress-circle"

export function Example() {
  return <ProgressCircle />
}

API reference#

ProgressCircle props
PropTypeDefault
valuenumber72
sizenumber40
classNamestring-
labelstring-
All alerts, toasts and empty states

Learn more