Meter
A static gauge that graphs a numeric value within a known range.
Basic
Disk usage
Show codeHide code
Levels
Storage used
Storage used
Storage used
Show codeHide code
Formatted value
The format prop takes Intl.NumberFormatOptions; here the readout is shown as a percentage.
Seats used
Show codeHide code
Thresholds
low, high, and optimum set the color breakpoints, so the fill reflects which segment the value falls in.
Low (warning)
Middle (warning)
High (success)
Show codeHide code
Without value
showValue={false} hides the readout text; the gauge still announces its value to assistive tech.
Disk usage
Show codeHide code
Installation
import { Meter } from "@makeplane/propel/components/meter";