Skip to main content

Interface: MeterProps

Defined in: components/Meter/Meter.tsx:62

Props for the Meter component.

Extends

  • Omit<RACMeterProps, "style" | "className" | "children">

Properties

evaluation?

optional evaluation?: "primary" | "accent" | "positive" | "caution" | "negative"

Defined in: components/Meter/Meter.tsx:73

Authorial emphasis matching the meaning of the level: positive for a healthy fill (storage available), caution for an approaching limit, negative for a critical level (battery almost empty). primary is the neutral default.

Default

'primary'

label?

optional label?: ReactNode

Defined in: components/Meter/Meter.tsx:75

Visible label shown above the bar (e.g. "Storage used").


showValueLabel?

optional showValueLabel?: boolean

Defined in: components/Meter/Meter.tsx:80

Whether to render the formatted value alongside the label.

Default

true