Badges come in four flavors and should be used to indicate “how many” of something there are. Adding the a class of
.badge-inverted will remove the badges background color.
Badges scale to match the size of the immediate parent element by using relative font sizing and em units.
Add any of the below mentioned modifier classes to change the appearance of a badge.
.badge-pill modifier class to make tags more rounded (with a larger
border-radius and additional horizontal
padding). Useful if you miss the badges from v3.
Buttons with badges
Outline buttons with badges
Block buttons with badges
Table view with badges