Ring
COMPONENT

DATA VIZ / RING

Ring

Minimalist circular progress ring without built-in labels — ideal for compact multi-device battery rows or combining with ZStack for fully custom center layouts. For an all-in-one dial with centered values and gradients, see RingGauge.

Signature#

SIGNATURE
<Ring
  value={86}
  total={100}
  size={48}
  lineWidth={5}
  color="theme.success"
  trackColor="theme.track"
/>
86% · 48pt · lineWidth={5}

Props#

Inherits StyleProps:

valuenumberRequired
Current progress value.
totalnumberDefault 100
Maximum total.
sizenumberDefault 48
Outer ring diameter in points.
lineWidthnumberDefault 5
Ring stroke width in points.
colorstringDefault "theme.accent"
Active arc color token or hex.
trackColorstringDefault "theme.track"
Background track ring color.

Example: Multi-Device Battery Rings#

TSX
<HStack spacing={16}>
  <Ring value={88} size={52} lineWidth={5}
    color="theme.success" />
  <Ring value={64} size={52} lineWidth={5}
    color="theme.blue" />
  <Ring value={22} size={52} lineWidth={5}
    color="theme.warning" />
</HStack>
Multi-Device Rings
88%
64%
22%

In Action#