Skip to main content

Meter

Displays a scalar measurement within a known range.

Import

Meter.Root

Groups all parts of the meter.

Props

State

  • value: number - The current value
  • min: number - The minimum value
  • max: number - The maximum value
  • optimumState: ‘optimal’ | ‘suboptimal’ | ‘sub-suboptimal’ - The state relative to the optimum value

Meter.Indicator

The filled portion of the meter that represents the current value.