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.

Primary Secondary Success Info Warning Danger Dark Light

Label

Use .badge-label-{color} to apply these variant.

Primary Secondary Success Info Warning Danger Dark Light

Outline

Use .badge-outline-{color} to apply these variant.

Primary Secondary Success Info Warning Danger Dark Light

Text

Use .badge-text-{color} to apply these variant.

Primary Secondary Success Info Warning Danger Dark Light

Shaped badges

Make your badge to a circle or square shape by adding .badge-{circle|square} modifier classes.

Circle

A B C D

Square

A B C D

Pill badges

Use the .rounded-pill modifier class to make badge element more rounded.

Primary Secondary Info Success Warning Danger Dark Light

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.

© Clivax.
Crafted with by Codebucks