Decision: Icons in Badges

Status

Accepted

Date

November 12, 2026

Context

Nothing in the system says when a Badge should carry an icon. What exists says how, and implies yes:

  • badge.md has an Icons section (size, gap, and a table pairing Check, AlertCircle, ArrowRight, X and Star with uses), a "With Icons" example, and a "Processing" badge with a spinning LoaderCircle.
  • The helix-data-patterns skill says a status pill "may carry an optional leading icon for emphasis" — a clock on "In review", a live dot on "Call active" — and that the icon is decoration.
  • card.md shows trend badges with TrendingUp / TrendingDown, and a property card whose badges are an icon and a number (<Bed /> 4).

"Optional, for emphasis" is not a rule; it is a choice left to every author. The result is the one this record exists to stop: badges with icons and badges without them, side by side, with no stated reason for either.

That mix costs more than consistency. A badge says two things, its words and its tone, and both are already defined (the status vocabulary in helix-copy-patterns, the tones in Badge). An icon on some badges in a list and not others adds a third signal nobody defined. The reader sees the iconned ones as more urgent, more important, or a different kind of thing, and there is nothing behind that reading. Optional emphasis is unranked emphasis.

Decision

Badges do not carry icons. The label names the state; the tone confirms it.

  • This covers every Badge: status pills, category chips, counts, and trend deltas.
  • A badge's meaning lives in its words. "Colour is never the only carrier of meaning" (helix-ux, status-and-tone §5) is satisfied by the label, so accessibility never needs the icon either.
  • Alert is not a precedent. An alert's variant colour lives on a thin rail, so its icon is what gives the variant a shape. A badge's whole surface is the tone, and its text is the name of the state.

Exceptions

An icon is allowed only when it carries information that neither the label nor the tone can carry, and only once that case is written into this record by name, surface and reason. An exception that is not listed here is not an exception.

None is listed. Every case found in the system so far fails the test:

CaseWhereWhy it fails
Trend arrow on a delta (<TrendingUp /> +12.5%)card.md, docs dashboardThe sign already says the direction, and the tone says whether it is good. The arrow repeats the +.
Spinner on "Processing"badge.mdThe word says it is in progress. Motion draws the eye to a state that needs nothing from the person, and needs a reduced-motion fallback besides.
Live dot on "Call active"helix-data-patternsThe word says it. See When to Revisit: this is the closest call.
Clock on "In review", check on "Approved"helix-data-patterns, badge.mdThe word says it. This is the "optional emphasis" the rule removes.
Icon plus number (<Bed /> 4)card.md property cardThe icon is the label, so "4" means nothing without it, and a screen reader hears "4". This is a spec list, not a badge: write it as text ("4 beds · 2 baths").
ArrowRight on a link badgebadge.mdvariant="link" already marks it as navigation (primary text, underline on hover). The arrow repeats it.
X on a removable badgebadge.mdThat X is a control, not decoration: an unnamed button inside a non-interactive element. Removable chips are a different component, which Helix does not ship yet.

Anti-pattern

// ✗ An icon for emphasis
<Badge variant="success"><Check /> Approved</Badge>
<Badge variant="outlineSage"><TrendingUp /> +12.5%</Badge>

// ✓ The label carries it
<Badge variant="success">Approved</Badge>
<Badge variant="outlineSage">+12.5%</Badge>

Alternatives Considered

  1. Icons optional, for emphasis (the current state). Rejected. It leaves the choice to each author, so lists mix iconned and plain badges, and the mix reads as a ranking that was never defined.
  2. Icons optional, but all or none within a set. Rejected. It fixes the mixed list but not the mixed product: one team's tables have icons, another's do not, and the icons still say nothing the label does not. It also needs a fixed icon for every status, which is a second vocabulary to keep in step with the first.
  3. Icons required on status badges, one fixed icon per tone, as Alert does. Rejected. It doubles a signal the label already carries, adds 16px to every pill in a dense table, and the reasoning that makes it right for Alert (a thin rail needs a shape) does not apply to a filled pill.
  4. A closed set of widely recognised icons: a check on done, a cross on rejected, a spinner on processing, arrows on trends, each always shown with its state. Considered seriously and rejected. Every one of them repeats a word the reader sees anyway, the set invites "and also" additions until it is the optional icon again, and states outside the set would read as lesser beside the ones inside it.

Consequences

The rule is stated here and enforced elsewhere:

  • Docs (done): badge.md's Icons section points here, and its examples carry no icons. card.md's trend badges have no arrows; its property card is a text spec line.
  • Previews (done): BadgePreview, CardPreview and the docs dashboard show badges without icons.
  • Skill (done): helix-data-patterns says a status pill carries no icon and points here. (Its "bare icon with visually hidden text" treatment is not a badge and is unaffected.)
  • Metadata (done): an antiPatterns entry and a pitfall on badge.metadata.ts, so an agent consulting Badge is told.
  • Dev warning (done): Badge warns once (dev-only, via lib/dev-warn.ts) when it renders an svg. An icon in a badge compiles and looks fine, which is exactly the gap the warning layer is for. Existing product badges with icons keep working; the warning is the migration signal.

Badge keeps its [&>svg]:size-3 sizing for now, so an exception, if one is ever listed, needs no API change.

When to Revisit

  • Live, real-time state. "Call active" is the one case where an icon might carry something the word does not: that the state is happening now and will change on its own. If a surface shows that a static label is being misread as stale, list it as the first exception, with the dot's reduced-motion behaviour specified.
  • A tone shared by two states that sit in one list. The first fix is the words (two labels, not one icon). Revisit only if the vocabulary cannot separate them.
  • A removable chip. When Helix ships one, its dismiss control belongs to that component's API, not to Badge.

TimelyCare Design System

v0.14.0