Badges
Default
A simple labeling component. Badges scale to match the size of the immediate parent element by using relative font sizing and em
units.
h1.Example heading New
h2.Example heading New
h2.Example heading New
h4.Example heading Info Link
h5.Example heading New
h6.Example heading New
Pill Badges
Use the .rounded-pill
modifier class to make badges more rounded.
Lighten Badges
Use the .bg-*-subtle text-*
modifier class to make badges lighten.
Outline Badges
Using the .badge-outline-*
to quickly create a bordered badges.
Contextual variations
Add any of the below mentioned modifier classes to change the appearance of a badge.
Badge can be more contextual as well. Just use regular convention e.g. badge-*color
, bg-primary
to have badge with different background.
Lighten Badges
Using the .bg-*-subtle text-*
modifier class, you can have more soften variation.
Outline Badges
Using the .badge-outline-*
to quickly create a bordered badges.
Badge Positioned
Use utilities to modify a .badge
and position it in the corner of a
link or button.