Bootstrap 4 Components
Badges
Badges are small and adaptive tags for categorizing your content. To create a badge element create a span with the class .badge
.
Badges scale to match the size of their immediate parent element using relative font sizing and em
units.
Example for a Badge New
Example for a Badge Advanced
Example for a Badge Latest
Example for a Badge Original
Example for a Badge Just out!
Example for a Badge Unique
Contextual Badges
You can modify the appearance of a badge using modifier classes as below.
Default Primary Success Info Warning DangerBadge Pill
Add another modifier class.badge-pill
to add rounded edges to the badges.