sgds-components-badge

Installation
SKILL.md

SGDS Badge Component Skill

<sgds-badge> is the standard label and status indicator element. Use it to highlight categories, states, or short descriptive text alongside other content.

Prerequisites

See sgds-components-setup for installation and framework integration (React 19+ vs React ≤18, Vue, Angular).

No CSS styling modifications — custom properties and CSS parts are not exposed on this component.

Quick Decision Guide

Which variant?

  • Default / informational → primary (default)
  • Supporting accent color → accent
  • Positive / completed → success
  • Error / invalid → danger
  • Caution → warning
  • Teal supplementary tone → cyan
Related skills

More from govtechsg/sgds-web-component

Installs
2
GitHub Stars
12
First Seen
Mar 12, 2026