Guidelines
Badge variants
- Default: Use it to signal unread items, new content, or a count of things waiting for the user's attention. It uses the primary accent color, giving it enough visual weight to catch attention without implying urgency or risk. This is the right choice in the vast majority of cases.
- Default subtle: Use it in contexts where the Badge needs to be present but not dominant — for example, within dense layouts or when a stronger visual hierarchy already draws attention to the parent element.
- Warning: It signals that action is needed, but not that something has broken.
- Danger: Use only when something has gone wrong and the user needs to act. Reserve it for errors that affect functionality — for example, a message failed to send.
Badge position
- Anchored to a child component - mostly used for Buttons should be placed in the right upper corner, overflowing it’s boundaries slightly.
- Standalone for example in tag (following the label), in the Side Menu informing about a new feature.
Do
Content
- If the count equals 0, don't display the badge.
- Use (999+) if you need to display a number above 999.