Meter
A measurement inside a known range — quota, disk, capacity, budget. There is no separate Progress.
Loading documentation…
Meter reports a value inside a known range. There is deliberately no
Progress component: a task with a percentage is still just a measurement,
and one bar that always means the same thing beats two that look identical and
are chosen by accident.
The tone is yours to pick, because only your application knows when 80% is fine and when it is an incident.
min and max set the range — a meter is not required to be a percentage.
format controls how showValue prints it.
A meter is small enough to be a stat's chart, which is the usual way a quota appears on a dashboard.
The measurement.
The range. They default to 0 and 100.
The row above the track.
Prints the value at the right end of the label row.
How the printed value is formatted.
Track height: 4, 6 or 10px. It defaults to base.
The fill colour. It defaults to neutral.
Merged into the root.