Statuses

Meter

A graphical representation of a measured value within a fixed range, perfect for showing scores, ratings, or resource usage.

Basic

A meter displays a value within a specified range, showing how much of the total range is currently occupied. Unlike a progress bar, which typically indicates progress towards completing a task over time, a meter reflects a specific measurement or quantity at a given moment.

Storage space
1%

Installation

If you hit any issues, make sure you check out the installation guide here for more information.

Composed Components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

The Meter comes packed with several components to enhance functionality and provide a seamless experience.

Field's a core piece every other component uses. It flexes reusable styles, showing up in inputs, labels, descriptions, and more.

Manual Installation

Make sure you also install the composed components and the required packages for the component to function properly.

Anatomy

Decimal Format

By default, the meter will display the value as a percentage. You can change the format of the value by passing a formatOptions prop. This example is shown decimal format.

Progress
75.25

Currency Format

You can also change the currency format of the value by passing a formatOptions prop. This example is shown currency format.

Revenue
$15.00

Custom Value Label

You also customize the value label by passing a valueLabel prop. This example is shown value label.

Progress
25GB of 100GB