Meter
A meter represents a measured value within a known range, such as disk usage or battery level.
Custom range
Format options
Values are formatted with Intl.NumberFormat using the formatOptions prop.
Component props
| Name | Type | Description |
|---|---|---|
| value | number | Current value (required) |
| minValue | number | Minimum value |
| maxValue | number | Maximum value |
| label | string | Label text displayed above the meter |
| showValue | boolean | Shows the formatted value |
| formatOptions | Intl.NumberFormatOptions | Number format options for the displayed value |