Badges Small and adaptive tag for adding context to just about any content.
Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the
.sr-onlyclass.Learn more about this component on bootstrap's official documentation.
Badge scaling
emunits
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Badge in buttons
emunits
Regular buttons
Outline buttons
Status badges
.statusclass. Comes with two badge sizes .status-smand the default .status. Comes in 3 colors, .status-danger, .status-warning, and .status-success
Contextual variations
Pill badges
.badge-pillmodifier class to make badges more rounded (with a larger border-radius and additional horizontal padding).
Links example
.badge-*class on a hyperlink element to convert it to actionable badges with hover and focus states
Nested badge
Badge header
.badge-iconwith a combination of other utility classes to create a link badge. This class will auto turncate overflow giving you a nice clean look without any hassle
