Skip to content

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.

Labels can only contain one line of text

Text - Do

Text - Don’t

Do not use the size icons large or medium

Icon size - Do

Icon size - Don’t

Keep your text brief and short, and use one or max two words.

Name length - Do

Name length - Don’t

The badge label shouldn’t be truncated in any case.

Truncation - Do

Truncation - Don’t

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.

Remove - Do

Remove - Don’t