Meter

canon

A thin static bar showing how full something is against a limit or a goal; the value stands next to it as text.

AD 26 Sep 2026 (wave B inventory): Meter and Progress are two legitimate elements, the same pair as HTML <meter> vs <progress>. Meter = a static ratio to a limit or goal (budget drawn, room occupancy, KPI, progress to promotion, project done/total, portfolio weight); Progress = work running now that ends done or failed. 7 uses on main (Rozpočty ×2, Zasedačky, Tým detail, Člen týmu KPI + Rozpočty, Portfolio výsledky, StatTile pct); Kariéra (.kar-bar, acrm !3898) and the public project page (ProgressBar.tsx deleted, .dp-*, acrm !3900) were migrated onto it on 27 Sep 2026. Moved into @acrm/ui on 27 Sep 2026 (acrm !3929: Meter + usageTone, CSS layer ds/meter.css, stories with baseline, zero visual change on 776 snapshots). TaskList .tl-prog turned out to be dead API (no screen passed progress/pct) and is deleted (acrm !3947). Track = --border like Progress — approved by the owner 27 Sep 2026 (preview meter-draha: the --surface-75 track was practically invisible on white cards). Registry repaired 17 Oct 2026 (review F3): mapped existing Ladle stories.

Used in 19 files · 15 areas · 23× — components/StatTile, components/agent-desk, components/assistant, components/clen-tymu, components/mail, components/meetings …

Default

components--meter--defaultOpen standalone ↗Code

Variants

default — positive fill
usage 86 % — tone warn (usageTone > 80 %)
usage 112 % — tone crit (usageTone > 100 %), clamped to a full bar
KPI not reached — fillColor accent
KPI reached — fillColor positive
no value in the host's text — ariaLabel makes it role=img
components--meter--variantsOpen standalone ↗Code

Sizes

default — 6 px
size="sm" — 4 px, dense rows (meeting rail speaker share, list cells)
34 %
components--meter--sizesOpen standalone ↗Code

States

mark under the value — 72 % against threshold 60 %
mark over the value — 38 % against threshold 60 %
mark with tone warn — 86 % against limit 80 %
mark at the edges (0 and 100) stays inside the rounded track
components--meter--statesOpen standalone ↗Code

Composition

Schůzky
14/ cíl 20
zbývá 6 do konce měsíce
Nové obchody
12/ cíl 10
cíl splněn
components--meter--compositionOpen standalone ↗Code