Chip

A status word in a small tinted box: uppercase mono, one or two words.

HTML
<div class="bm-stage" style="flex-direction:column;gap:var(--space-4)"><div class="bm-rowx">
  <span class="bm-chip bm-chip--success"><i class="bm-chip__dot"></i>Ready</span>
  <span class="bm-chip bm-chip--heat">Heating</span>
  <span class="bm-chip bm-chip--primary"><i class="bm-chip__dot"></i>Brewing</span>
  <span class="bm-chip bm-chip--warning"><span data-icon="triangle-alert" data-size="14"></span>Flush recommended</span>
  <span class="bm-chip bm-chip--danger"><span data-icon="circle-alert" data-size="14"></span>Scale lost</span>
  <span class="bm-chip bm-chip--ink">In use</span>
  <span class="bm-chip">Pro</span>
  <span class="bm-chip">30.2 s</span>
</div>
<div class="bm-rowx"><span class="bm-eyebrow">Heat beside warning</span><span class="bm-chip bm-chip--heat">Heating</span><span class="bm-chip bm-chip--warning"><span data-icon="triangle-alert" data-size="14"></span>Water low</span></div>
</div>
  • Tones mean something: success ready or connected, heat heating, primary a process running, warning attention before the next shot, danger a fault, ink the item in use, neutral for facts (PRO, 30.2 s).
  • The word carries the meaning; the tint only supports it. Add .bm-chip__dot for a live state.
  • A warning Chip always starts with the triangle-alert glyph and a danger Chip with circle-alert, at 14 px. Amber and the orange of heat are close neighbours, and both can sit in the Dial tile; the glyph is what tells them apart. BetterMate.hydrate() adds a missing glyph in static pages; in the app, write it in the markup.
  • One status Chip per tile, at the right of its head. Never a row of status Chips.
  • Chips are not buttons. For a choice use Segmented.

Anatomy

span.bm-chip 24 px tall, radius-sm, padding space-2, label in chip, with an optional leading dot (mark 6 px) or 14 px glyph and a gap of space-1.

Tones

ClassGroundTextLeading mark
bm-chip--successsuccess-softsuccessdot, when live
bm-chip--heatheat-softheat-textnone
bm-chip--primaryprimary-softprimary-textdot, when live
bm-chip--warningwarning-softwarningtriangle-alert, always
bm-chip--dangerdanger-softdangercircle-alert, always
bm-chip--inkinkon-inknone
neutralsurface-2inknone

Every pair holds 5.2:1 or better in the three themes. A Chip has no hover, focus or disabled state.

Content

  • One or two words, at most 20 characters: READY, HEATING, FLUSH RECOMMENDED. Longer messages are a Notice.
  • State, not instruction: SCALE LOST, not RECONNECT SCALE.
  • A fact Chip holds a value with its unit (30.2 s) and stays neutral.

Screen reader

The word is the content, so it needs nothing extra; keep the glyph and dot aria-hidden. When a status Chip changes while the page is open, mirror the new word in the page's status region.