Badge

Documentation and examples for badges,our small count and labeling component. Read the Official Bootstrap Documentationfor a full list of instructions and other options.
Contextual Variations

Add any of the below mentioned modifier classes to change the appearance of a badge.

PrimarySecondarySuccessDangerWarningInfoLightDark
<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>
Pill Badges

Use the .badge-pillmodifier class to make badges more rounded.

PrimarySecondarySuccessDangerWarningInfoLightDark
<span class="badge badge-pill badge-primary">...</span>
Link Badges

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>