Reference index

Components

Meter

Meter on Base UI Meter: same hairline track and ink fill as Progress, for a value in a known range.

Preview

Storage used
x

Install

bash

npx shadcn add @eloquent/meter

Usage

tsx

import { Meter } from "@/components/ui/meter";

<Meter value={62} label="Storage used" />

States

Low
x
Mid
x
Near full
x
Score out of 5
x
x
StateTreatment
Low, mid, highInk fill length only; no colour change
min / maxRange other than 0 to 100
showValue={false}Value text hidden; the name remains

Keyboard

This component is not interactive. It is not a tab stop, so Tab skips it.

KeyAction
TabSkips it; not a tab stop

Vietnamese

Dung lượng đã dùng
x

Ink adaptation

As Progress: 1px ink outline track, square ink fill, value text in Barlow Condensed. No colour bands for low or high; the number states it.