Documentation and examples for badges, our small count and labeling component. Read the Official Bootstrap Documentation for a full list of instructions and other options.
Add any of the below mentioned modifier classes to change the appearance of a badge.
<span class="badge badge-primary">Primary</span> <span class="badge badge-secondary">Secondary</span> <span class="badge badge-success">Success</span> <span class="badge badge-danger">Danger</span> <span class="badge badge-warning">Warning</span> <span class="badge badge-info">Info</span> <span class="badge badge-light">Light</span> <span class="badge badge-dark">Dark</span>
Use the .badge-pill modifier class to make badges more rounded.
<span class="badge badge-pill badge-primary">...</span>
Using the contextual badge classes on an element quickly provide actionable badges with hover and focus states.
<a href="#" class="badge badge-primary">Primary</a>