Gauge
v1.0.4Updated 25 Jul 2026Arc / speedometer gauge drawn with pure SVG. Shows a single value against a [min, max] range as a coloured arc with a centre readout. Supports arbitrary start / end angles, colour-band thresholds, tick segments, an optio
Preview
Live · 11 stories▸Why this is recommendedgaugemeterarcspeedometer+5
The default, out-of-the-box Gauge.
- ✓KPI / score dials
- ✓Speedometer-style indicators
- ✓Utilisation / capacity gauges with colour zones
- ✓Single-value goal meters
- Pure SVG arc with rounded / butt caps
- Arbitrary startAngle / endAngle (semicircle, full sweep, etc.)
- Threshold colour bands (tones switch as the value crosses each band)
- Tick segments around the arc
- Optional needle pointer (speedometer style)
- Background track toggle
- Centre value readout with custom valueFormatter + label caption
- Tones: primary / success / warning / danger / info / muted
- Animated stroke-dasharray fill (respects prefers-reduced-motion)
- ✕Multi-metric comparison (use BarChart)
- ✕Time-series (use LineChart)
- ✕Concentric ring progress (use RadialChart)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
valueCurrent value
yesminRange floor (default 0)
—maxRange ceiling (default 100)
—startAngleArc start angle in deg (default 180)
—endAngleArc end angle in deg (default 0)
—thicknessArc stroke width in px (default 14)
—sizeSquare size in px (default 200)
—toneBase arc colour when no thresholds apply
—thresholdsColour bands (value upper-bound + tone)
—segmentsNumber of tick marks around the arc
—showValueShow centre numeric readout (default true)
—valueFormatterFormat the centre value label
—labelSmall caption under the value
—needleDraw a needle pointer (default false)
—trackShow the faint background arc (default true)
—roundedRound the arc caps (default true)
—animateAnimate the fill (default true)
—Every tonal component shares the same tone × emphasis API, so the pair looks identical across Button, Badge, Alert and more.