Add short labels
Use badges for compact status, category, or count labels.
Badges can be used to highlight important bits of information such as labels, notifications and status.
Use badges for compact status, category, or count labels.
Colour variants help users scan states such as active, warning, or danger.
Badges add meaning beside text while keeping rows and cards compact.
Container
Content
Icon (optional)
Badge variants use colour to convey meaning at a glance. Each variant signals a different status or category.
The default tone for generic labels with no particular status weight. Use when the badge is purely informational, whether you need a stronger filled style or a quieter outlined style.
Controls whether the badge uses a filled or outlined style. Outlined gives the badge a lighter visual presence.
The default filled style uses a solid background. Use when badges need to read strongly at a glance across the full variant set.
Add a close button when the user should be able to remove the badge. For example, active filters or removable tags.
Use when the badge is informational only and should not be removed by the user.
Pair the badge with an icon when a visual cue helps users recognise meaning faster than the text alone.
Add an icon through the icon slot. Use small, recognisable icons that reinforce the badge's meaning without competing with the label.
Use full width when the badge needs to align to the width of its container.
Use the default width for short inline labels.
Each row is a colour, spacing, or size value the component uses, and the right-most column tells you where in the component you'll see it.
sgds-padding-xs4pxsgds-padding-none—sgds-padding-3-xs—sgds-border-radius-sm—sgds-close-btn-border-radius—sgds-border-width-11pxsgds-font-size-label-xs—sgds-line-height-3-xsHeight variessgds-dimension-192—sgds-dimension-24—A short status or category label works best because users can read it at a glance.
Long badge text is hard to scan at a glance and stops looking like a label.
This component does not have a separate keyboard interaction table because:
Share them with us on Slack → #ask-sgds-v3
Report it on GitHub Issues → sgds/components/badge
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.