Show how much of something is used, whole or split into shares, built on Base UI.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | - | |
min | number | - | Defaults to Base UI's own Meter minimum (0). |
| Defaults to Base UI's own Meter minimum (0). | |||
max | number | - | Defaults to Base UI's own Meter maximum (100). |
| Defaults to Base UI's own Meter maximum (100). | |||
label | ReactNode | - | Text above the track, correctly wired to it via Base UI's own Meter.Label. |
| Text above the track, correctly wired to it via Base UI's own Meter.Label. | |||
description | string | - | |
icon | ReactNode | - | |
segments | MeterSegment[] | - | |
unit | string | - | Reads the value as an amount, 12.7 of 20 GB, in place of a percentage. |
Reads the value as an amount, 12.7 of 20 GB, in place of a percentage. | |||
rest | string | - | Names the empty part of the track in the legend, Free for storage. |
Names the empty part of the track in the legend, Free for storage. | |||
intent | neutral | info | success | warning | danger | neutral | |
shape | none | pill | pill | |
animated | boolean | true | |
className | string | - | |