Badges are a way to give any content more context:
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Badges are a way to provide any content more details. Rectangular badges can be made by combining the .badge class with a contextual class (such as .badge-secondary) inside <span> elements. Keep in mind that badges scale to the parent element’s size, if any:
Example
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Contextual Badges
PrimarySecondarySuccessDangerWarningInfoLightDark
To alter a badge’s color, use any of the contextual classes (.bg-*):
Example
PrimarySecondarySuccessDangerWarningInfoLightDark
Pill Badges
PrimarySecondarySuccessDangerWarningInfoLightDark
To round out the badges, use the .rounded-pill class: