On this page
Overview
Show code, SeatsAssigned.tsx
Anatomy
Meter
Label
Value
Track
Indicator
Show code, MeterAnatomy.tsx
Behaviour
Out of range
A value outside the range shows as its nearest end.
Adapting to width
A meter fills its container. The label and the value wrap onto two lines where they don't fit.
Show code, LongLabel.tsx
Rules
A meter has no warning color of its own, so say in text when a limit is reached.
Use it when
- A quantity within a known range, such as storage used of a quota
- Several limits compared at a glance, such as a plan's seats and projects
Show code, PlanUsage.tsx
Show code, FullWithoutWords.tsx
Content
Name what is measured in the label, such as Seats assigned.