2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Data

RadialGauge

Updated: November 15, 2025
View on GitHub
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:
Prop
Type
Default
width
Overall width, in pixels.
number300
height
Overall height, in pixels.
number300
line
The tick marks around the arc: how many, how thick, how long.
{ count?: number; width?: number; length?: number; }
unit
Rendered after the value — a percent sign, a unit, anything.
React.ReactNode
value
Where the gauge reads, 0–100.
number7
angle
Where the arc starts and how far it sweeps, in degrees. 360 is a full ring.
{ start: number; sweep: number; }{ start: 0, sweep: 360, }
direction
Which way the sweep runs from the start angle.
cwccw
cw
edgePad
Inset between the arc and the edge of the box, in pixels.
number0
children
Rendered in the middle of the gauge, in place of the value.
React.ReactNode
hue
Colour the arc by its value — a named ramp, or a [from, to] pair of hue degrees to interpolate between.
successneutraldanger[number, number]
color
A single colour for the arc, when it should not vary with the value. Takes a token or any CSS colour.
ColorValuecontrast
…and every FlexProps propinherited
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.
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club