Core Elements
Meter
A graphical display of a fixed value within a range, e.g. disk usage.
Usage
Storage used
Installation
npm install @wunderui/reactThen import what you need:
import {
Meter,
MeterIndicator,
MeterLabel,
MeterTrack,
MeterValue,
} from "@wunderui/react"Examples
25%
A quarter step — 25% of the range.
50%
A quarter step — 50% of the range.
75%
A quarter step — 75% of the range.
100%
A full meter.
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Storage widget
Three labelled meters for storage in a card.
API Reference
| Prop | Type | Default |
|---|---|---|
| value | number | — |
| min | number | 0 |
| max | number | 100 |