Back to Components
Components
Metric Ring
Circular metric display with percentage ring and centered label.
72%Completion
Goal 80%
58%Retention
Last 30 days
94%Support SLA
Target 90%
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/metric-ring.tsx
Installation
Using shadcn CLI
npx shadcn add metric-ring --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge