About
A semicircular or ring gauge for a value out of a whole, continuous or segmented, with room for content in the middle. Use it for capacity, health scores, or progress toward a target.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Radial Gauge to your project and fits it to your theme.
Code
How Radial Gauge is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { RadialGauge } from "@/components/ui/dashboardcn-radial-gauge"
export default function RadialGaugeDemo() {
return (
<div className="flex flex-wrap items-end justify-center gap-10">
<RadialGauge value={99.7} segments={40} size={180} thickness={12} color="var(--color-emerald-500)">
<span className="text-2xl font-semibold tabular-nums">99.7%</span>
<span className="text-muted-foreground text-xs">Uptime</span>
</RadialGauge>
<RadialGauge value={48} size={180} thickness={12}>
<span className="text-2xl font-semibold tabular-nums">48%</span>
<span className="text-muted-foreground text-xs">Coverage</span>
</RadialGauge>
<RadialGauge value={72} sweep={360} size={120} thickness={8} color="var(--chart-2)">
<span className="text-lg font-semibold tabular-nums">72</span>
</RadialGauge>
</div>
)
}
















