A badge is used to highlight the status, count, or other important characteristics of an object.

Badges can be displayed in a row or in a column.

On hover or focus, a tooltip with an explanation or additional information can be shown.

The label inside the badge is aligned to the text baseline in a table.

  • Badges can be used on their own, while tags are more often part of other controls: Select, Tag autocomplete, Tag input.
  • Don't overuse badges: the screen quickly turns into a colorful garland and emphasis is lost.
  • A list of tags can draw excessive attention. Elements can be displayed separated by commas, interpuncts, or small indentation.
Suggestions for improvement
If you found a mistake or want to improve the article, create an issue on GitHub.