Components

Meter

Display scalar measurements within a known range with visual indicators

Preview

Storage Usage

Installation

Usage

Examples

Different Sizes

Display meters in various sizes.

Small
Medium
Large

With Labels

Add descriptive labels to meters.

Product Rating
Memory Usage

With Min and Max

Define custom minimum and maximum values.

Response Time
Rating

With Optimum Range

Highlight the optimal value range.

Blood Sugar

Normal range: 4.5-5.5 mmol/L

With Thresholds

Set thresholds for different value ranges.

Battery Level (higher is better)

Battery
Battery
Battery

CPU Temperature (lower is better)

CPU Temp
CPU Temp
CPU Temp

Body Temperature (middle range is safe)

Body Temp
Body Temp
Body Temp

With Segments

Display segmented meter visualization.

Setup Progress
Segmented with thresholds
Battery Level

API Reference

The Meter component is built on top of Base UI's Meter. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.

For the complete Base UI API, see the Base UI Meter documentation.

Custom Props

MeterRoot

Prop

MeterTrack

Prop