Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
Data displayReact Native

Gauge

Show a normalized circular native metric with a formatted accessible value.

Public APILumenGaugeReact Native

Native example

Use Gauge

Use for a current bounded metric, not task completion. Use Progress when the value represents work moving toward completion.

Gauge rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Gauge demo
tsx
<LumenGauge
  label="Thermal pressure"
  value={48}
  valueLabel="Fair"
  tone="warning"
/>

Reference

Public API

The primary shared and platform-specific options exposed by LumenGauge.

APIValues or typeDefaultDescription
segmentsOptional integer from 2 to 24AbsentSplits the ring into equal sections without rounding the current value. Invalid counts keep the continuous ring.
labelstringRequiredNames the bounded metric.
valuenumberRequiredProvides the current value.
maxnumber100Provides the positive maximum.
valueLabelstringRequiredProvides the visible and accessible formatted value.
toneneutral · brand · accent · success · warning · dangerbrandSelects semantic emphasis.

Native behavior

Design and accessibility

When to use it

Use for a current bounded metric, not task completion. Use Progress when the value represents work moving toward completion.

Accessibility

The visual ring is replaced by one accessible label and formatted value. Invalid values are normalized into the valid range.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives