Skip to Content
Notion UI

Meter

Displays a numeric value within a known range.

Meter Demo

<MeterBar value={72} trackColor="#2383e2" />

Installation

pnpm add @notion-kit/ui

Anatomy

Use MeterBar for linear progress and MeterRing for compact circular progress. Add MeterLabel and MeterValue when the value needs to be announced or displayed inside the meter root.

API Reference

Meter

Meter extends the Base UI Meter root and renders a <div>.

Prop

Type

MeterBar

MeterBar extends Meter and renders a horizontal track with an indicator.

Prop

Type

MeterRing

MeterRing extends Meter and renders a circular SVG indicator.

Prop

Type

MeterLabel

MeterLabel extends the Base UI Meter label and renders a <span>.

MeterValue

MeterValue extends the Base UI Meter value and renders a <span>.

Prop

Type

On this page