Meter

A gauge for a value within a known range.

Build minutes
x

Installation

  1. Add the registryOnce per project
  2. Add meter

Usage

Use a meter for a measurement within a range, such as storage used, and Progress for a task that's underway.

Composition

Examples

Formatted value

MeterValue shows a percentage by default. Pass a function as its children to format it yourself. Set max when the range isn't 0 to 100.

Storage
x
Seats
x

Colors

Recolor the indicator by targeting its data-slot from the root.

Build minutes
x
Bandwidth
x
Requests
x

Props

The tables leave out className, style and render. Parts built on Base UI take them as its styling and composition guides describe.

Meter

MeterValue