Default Badges
Use the badge
class to set a default badge.
Soft Badges
Use the badge-soft-
class with below-mentioned variation to create softer badge.
Outline Badges
Use the badge-outline-
class with the
below-mentioned variation to create a badge with the outline.
Rounded Pill Badges
Use the rounded-pill
class to make badges more rounded with a larger border-radius.
Rounded Pill Badges with soft effect
Use the rounded-pill badge-soft-
class with the below-mentioned variation to create a badge more rounded with a soft background.
Soft Border Badges
Use the badge-border
and badge-soft-
with below
mentioned modifier classes to make badges with border & soft backgorund.
Outline Pill Badges
Use the rounded-pill badge-outline-
class with the below-mentioned
variation to create a outline Pill badge.
Label Badges
Use the badge-label
class to create a badge with the label.
Gradient Badges
Use the badge-gradient-*
class to create a gradient styled badge.
Button Position Badges
Use the below utilities to modify a badge and position it in the corner of a link or button.
Badges With Button
Badges can be used as part of buttons to provide a counter.
Badges with Heading
Example of the badge used in the HTML Heading.