Badge
A badge is a label or decorative indicator used to communicate information within the UI in a highly visual way. We categorize badges into three types: those that communicate the status of a piece of content, those that provide non-actionable information, and special cases that have been designed for a specific issue.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-elements
Badge is always on one line
Section titled “Badge is always on one line”Labels can only contain one line of text


Use only small icons
Section titled “Use only small icons”Do not use the size icons large or medium
![]()
![]()
Use a maximum of two words
Section titled “Use a maximum of two words”Keep your text brief and short, and use one or max two words.


Text truncation
Section titled “Text truncation”The badge label shouldn’t be truncated in any case.


Can’t contain action
Section titled “Can’t contain action”Badges can not contain any actionable element inside, e.g., remove button. This functionality is not allowed for accessibility reasons such clickable area being too tiny.
To let users remove a label, use a label tag.

