Lumeo

Gauge

Displays a single metric value within a defined range using radial, arc, or linear visual styles.

When to Use

  • Visualize capacity, utilisation, or performance metrics at a glance.
  • Show a single KPI (CPU usage, battery level, score) within a min/max range.
  • Use Radial for dashboards, Arc for compact metric cards, Linear for inline progress.
  • Apply thresholds to automatically shift colour from green → amber → red as values rise.
25%
60%
90%
30%
65%
95%
40%
70%
90%
CPU
RAM
Disk
30%
30
65%
65%
65%

Switch variant to compare Radial, Arc, and Linear shapes.

Low
Med
High

API Reference

Gauge

Property Type Default Description
Valuedouble0Current value within the Min–Max range.
Mindouble0Minimum value.
Maxdouble100Maximum value.
VariantGaugeVariantRadialVisual shape. Values: Radial (270° arc), Arc (180° semicircle), Linear (horizontal bar).
Sizeint120Diameter (Radial/Arc) or width (Linear) in pixels.
StrokeWidthint8Thickness of the arc/bar in pixels.
Labelstring?nullCentre text. Defaults to the percentage when null.
ShowValuebooltrueShow the value/percentage label.
Colorstring"primary"Theme token for the value arc/bar (e.g. "primary", "success", "destructive").
TrackColorstring"muted"Theme token for the background track.
ThresholdsIReadOnlyList<GaugeThreshold>?nullColour bands. Each entry has a Value (threshold) and Color (CSS color). The highest matching threshold wins.
  • Progress — Linear and circular progress bars with indeterminate support.
  • RingProgress — A clean determinate progress ring optimised for inline use.
  • Statistic — Display a single numeric KPI with label and trend.