Skip to Content
Data & Media@hacline/ui/meter

Meter

Displays a measured value within a known range, such as storage quota.

Usage

Represent a measured value with min, max, and value, and provide a label with MeterLabel. MeterValue can display custom units.

Workspace storage

Highlighting Near-Limit Usage

Style the indicator bar based on business thresholds and show capacity status in text.

Build disk usage

Near capacity limit

Parts

PartDescriptionExtended Props
MeterIndicator
The filled part of the track, as wide as the value.—
MeterLabel
Names the meter.—
MeterTrack
The rail the indicator fills.
size
MeterValue
The formatted value, like "40%". Children replace it.—

Props

Prop

Type

View parts and state attributes in UI SDK.