All components

Meter

Static gauges for a value within a known range, like storage or quota, with the progress bar look.

Storage
x

Variants

Storage
x
outline
Storage
x
subtle

Sizes

Storage
x
xs
Storage
x
sm
Storage
x
md
Storage
x
lg
Storage
x
xl

Custom range and format

Set min/max for real units and format the value text; it also becomes the root's aria-valuetext.

Storage
x

Thresholds

Pick the palette from the value to flag levels: healthy, getting full, critical.

API quota
x
API quota
x
API quota
x

Install

Source

components/ui/base-ui/meter.tsx