width Overall width, in pixels. | number | 300 |
height Overall height, in pixels. | number | 300 |
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. | number | 7 |
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. | cw•ccw | cw |
edgePad Inset between the arc and the edge of the box, in pixels. | number | 0 |
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. | success•neutral•danger•[number, number] | — |
color A single colour for the arc, when it should not vary with the value. Takes a token or any CSS colour. | ColorValue | contrast |
| …and every FlexProps prop | inherited | — |