Badge
Basic
Add any of the below mentioned modifier classes to change the appearance of a badge.
Solid
Use .badge-{color}
to apply these variant.
Label
Use .badge-label-{color}
to apply these variant.
Outline
Use .badge-outline-{color}
to apply these variant.
Text
Use .badge-text-{color}
to apply these variant.
Shaped badges
Make your badge to a circle or square shape by adding .badge-{circle|square}
modifier classes.
Circle
Square
Pill badges
Use the .rounded-pill
modifier class to make badge element more rounded.
Header
Badges scale to match the size of the immediate parent element by using relative font sizing and em
units
Example heading New
Example heading New
Example heading New
Button
Badges can be used as part of links or buttons to provide a counter.