Badges
Basic Badges
Add any of the below mentioned modifier classes to change the appearance of a badge.
Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Soft Badges
Use .bg-*-subtle for a light colored badge.
Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Outline Badges
Use .bg-transparent and .border utility
classes for outline badges.
Primary
Secondary
Success
Danger
Warning
Info
Dark
Pill Badges
Use the .rounded-pill utility class to make badges more
rounded with a larger border-radius.
Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Check Headings
Badges scale to match the size of the immediate parent element by using
relative font sizing and em units.
Example h1 New
Example h2 New
Example h3 New
Example h4 New
Example h5 New
Example h6 New
Buttons with Badges
Badges can be used as part of links or buttons to provide a counter.