Badge

Small numerical value or status descriptor for UI elements. Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count.

Examples

Badges scale to match the size of the immediate parent element by using relative font sizing and em units.

For notification count or new notification

Unread messages count or new message notification appears close to button or icon.

Used for record count in Tabs

When to use

Can be used to

"Stamp" another piece of UI, such as an Avatar, a text title or inside a button

  • When an element needs to be highlighted or two items need to be differentiated from each other.

Should not be used

  • Do not use too long labels or whole sentences.

  • Avoid numbers longer than 3 digits when possible.

Last updated