Badges

Documentation and examples for badges, our small count and labeling component.

Default colors

Documentation and examples for badges, our small count and labeling component.

Bootstrap default

Primary Secondary Success Danger Warning Info Light Dark

Dashcore color scheme

badge-1 badge-2 badge-3 badge-4 badge-5 badge-6

Outline badges

In need of a badge, but not the hefty background colors they bring? Replace the default modifier classes with the .badge-outline-* ones to remove all background images and colors on any badge.

Bootstrap default

Primary Secondary Success Danger Warning Info Light Dark

Dashcore color scheme

badge-1 badge-2 badge-3 badge-4 badge-5 badge-6

Rounded

Use the .badge-pill modifier class to make badges more rounded (with a larger border-radius and additional horizontal padding). Useful if you miss the badges from v3.

Bootstrap default

Primary Secondary Success Danger Warning Info Light Dark
Primary Secondary Success Danger Warning Info Light Dark

Dashcore color scheme

badge-1 badge-2 badge-3 badge-4 badge-5 badge-6
badge-1 badge-2 badge-3 badge-4 badge-5 badge-6

Scaling

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

Example heading New

Example heading New
Example heading New

Light badges

Some colors are better seen on dark backgrounds, those are the ones with light colors.

badge-1 badge-outline-1 badge-outline-6 badge-outline-light