axi-designv1.50.0

Data

Meter

A horizontal bar showing one value against its full extent. Drawn in the series ink, filled to a hard edge.

.axi-meter .axi-meter__fill .axi-meter-list .axi-meter-list__name .axi-meter-list__value

A meter says how much, and a quantity in this language is drawn as length. Reach for --axi-series to change which ink a bar is drawn in; never fade the accent to make a bar quieter.

A single meter

Fullness comes from --axi-meter-v
<div class="axi-meter"><span class="axi-meter__fill" style="--axi-meter-v: 62%"></span></div>

A ranked list

Leader in accent, the rest in a faint neutral
Scourge
1.4M Spellbreaker
884k
<div class="axi-meter-list">
  <span class="axi-meter-list__name">Scourge</span>
  <div class="axi-meter"><span class="axi-meter__fill" style="--axi-meter-v: 100%"></span></div>
  <span class="axi-meter-list__value">1.4M</span>
  <span class="axi-meter-list__name">Spellbreaker</span>
  <div class="axi-meter"><span class="axi-meter__fill" style="--axi-meter-v: 63%; --axi-series: var(--axi-text-faint)"></span></div>
  <span class="axi-meter-list__value">884k</span>
</div>

Knobs

PropertySetsFallback
--axi-seriesthe ink a meter fill, bar, plot line or .axi-diamond--series is drawn invar(--axi-accent)
--axi-meter-vhow full one .axi-meter__fill is0%
--axi-meter-hheight of a .axi-meter12px
--axi-meter-labelthe label column width of .axi-meter-list132px
--axi-meter-valuethe value column width of .axi-meter-list62px

Rules this answers