Badge

Example

Badges scale to match the size of the immediate parent element by using relative font sizing and emunits.

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New

Variations

Add any of the below mentioned modifier classes to change the appearance of a badge.

Default badge
LightPrimarySuccessInfoWarningDangerDark
Badge Pills

Use the .rounded-pillmodifier class to make badges more rounded(with a larger border-radiusand additional horizontal padding). Useful if you miss the badges from v3.

lightPrimarySuccessInfoWarningDangerDark

Links

Using the contextual .bg-*classes on an <a>element quickly provide actionablebadges with hover and focus states.

Badge Lighten

Using the .badge-soft-**classes for Badge lighten.

PrimarySuccessInfoWarningDangerDark

Badge in Buttons

Badges can be used as part of links or buttons to provide a counter.

© Upzet.
Crafted with By dedemao