Loading…
‹ Pedantic

Component · Finished

Badge

  • PUBLIC
  • WCAG 2.2 AA
  • Paid upgrade
  • Proprietary
Library entryBadges & Chips Component — split into Badge and Chips, Nov 12, 2026
Conforming nameSplit from Badgeschips, the combined entry’s conforming name
StatusFinished
BuildThe badge styles ship in the Pedantic CSS (pds-badge) and are used by the finished Table build.

Usage

Badges label a state or a standing at a glance. In tables they carry row state — On Track, At Risk, Blocked, Planned. On a system’s pages they carry its standing — PUBLIC, WCAG 2.2 AA, Paid upgrade, Proprietary: the pills at the top of this page are the pattern at work. A badge always pairs its color with text; state is never color alone.

Live example — badge variants

On Track At Risk Blocked Planned

<span class="pds-badge pds-badge--success">On Track</span>
<span class="pds-badge pds-badge--warning">At Risk</span>
<span class="pds-badge pds-badge--danger">Blocked</span>
<span class="pds-badge pds-badge--neutral">Planned</span>

Accessibility notes

The words do the work: badge text is real text, and color only supports it — the same state is never carried by color alone. Each variant’s text/background pairing is one of the measured pairings published with the system tokens.