sheengemologic ui
All components

Meter

Uses the native meter element for a scalar value within a known range.@gemologic/sheen · data

Playground

This example has no scalar controls. Its validated source remains interactive below.
<Meter label="Storage used" value={72} min={0} max={100} low={60} high={85} optimum={20} />

Variant matrix

Storage

Anatomy

Package
@gemologic/sheen
Source
packages/ui/src/primitives/Progress.tsx
Tokens
  • --sheen-color-bg-inset
  • --sheen-color-success
  • --sheen-color-warning
  • --sheen-color-danger

Accessibility

Role: meterKeyboard: No component-owned keys

Do

  • Use for a measurement with meaningful bounds and thresholds.

Do not

  • Do not use Meter for task completion; use Progress.

Generated props

NameTypeDefaultDescription
label *stringRequired accessible measurement label.
value *numberFinite current value within min and max.
minnumber0Finite lower bound.
maxnumber1Finite upper bound greater than min.
lownumberOptional lower threshold within the range.
highnumberOptional upper threshold within the range and not below low.
optimumnumberOptional optimal value within the range.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.