The RadialGauge component renders a tick-based circular or arc-shaped gauge that is ideal for health metrics, KPIs, and other real-time values. It supports full circles, semicircles, and custom arcs with configurable angles, direction, density, and visual health states.
Use the hue prop to quickly change the color ramp of active ticks to represent different states.
You can create semicircular or arc gauges by combining angle and edgePad. The angle system is intuitive:
- 0° = left
- 90° = top
- 180° = right
- 270° = bottom
Control how many ticks are rendered and how long they are using lineCount, lineWidth, and lineLength.
For interactive demos or dashboards, you can animate the value over time on the client. The example below simulates accelerating and braking.
The RadialGauge component accepts all layout props from Column (except direction) plus the following gauge-specific props:
Use RadialGauge when you need a compact, highly legible representation of a single metric that can be scanned quickly, such as system health, SLO burn rate, or real-time utilization.