Variants and sizes

  • Continuous: one k-meter__fill with a width, for minutes and money.
  • Segmented: k-meter--segmented, one segment per item, for counts up to 8. Items not done yet are k-meter__fill--empty.
  • Late: k-meter__fill--late hatches a segment in caution and caution-stripe.
  • Ink: k-meter__fill--ink when the bar compares people rather than progress toward a goal.
  • Thick: k-meter--thick, 8 px, for each person's share of a project, with k-meter__marker at the target.

States

  • Empty, partial, full: the written value always says how far ("0/100 min", "100/100 min"), so length is never the only cue.
  • Late: a hatched segment plus the word in the caption, "1 late" in caution. The hatch is a pattern, so it reads without colour.
  • Target: the marker is on-ink where it crosses the ink fill and ink where it falls on the empty track, so it always shows.

A meter is not interactive: no hover, focus or pressed states.

Do and don’t

Do

  • Write the value beside the bar, in figures: "50/100 min".

  • Use segments for small counts and a continuous fill for minutes and money.

  • Say "late" in words next to a hatched segment.

Don’t

  • Fill a segment with caution without the hatch and the word.

  • Use a meter to show loading.

What you provide

  • Label, value, total and unit; for segments, the count and which ones are late.
  • An optional caption, the target for the marker, and the aria-valuetext or aria-label sentence.