About
Progress towards several targets, as concentric arcs.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Ring Chart to your project and fits it to your theme.
Code
How Ring Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
import { RingChart } from '@/components/ui/panel-ring-chart';
const STORAGE = [{ label: 'Storage', value: 141, maxValue: 200 }];
export default function RingChartGauge() {
return (
<RingChart data={STORAGE} size={208} strokeWidth={16} startAngle={-120} endAngle={120} className="max-w-sm">
<RingChart.Ring index={0} />
<RingChart.Center formatValue={(value) => `${value} GB`} />
</RingChart>
);
}








