Badges

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

Badges on Bootstrap
Soft badges
Primary Secondary Success Info Warning Danger Light Dark
<span class="badge badge-soft-primary">Primary</span>
<span class="badge badge-soft-secondary">Secondary</span>
<span class="badge badge-soft-success">Success</span>
<span class="badge badge-soft-info">Info</span>
<span class="badge badge-soft-warning">Warning</span>
<span class="badge badge-soft-danger">Danger</span>
<span class="badge badge-soft-light">Light</span>
<span class="badge badge-soft-dark">Dark</span>
Soft pill badges
Primary Secondary Success Info Warning Danger Light Dark
<span class="badge rounded-pill badge-soft-primary">Primary</span>
<span class="badge rounded-pill badge-soft-secondary">Secondary</span>
<span class="badge rounded-pill badge-soft-success">Success</span>
<span class="badge rounded-pill badge-soft-info">Info</span>
<span class="badge rounded-pill badge-soft-warning">Warning</span>
<span class="badge rounded-pill badge-soft-danger">Danger</span>
<span class="badge rounded-pill badge-soft-light">Light</span>
<span class="badge rounded-pill badge-soft-dark">Dark</span>
Background colors

Use our background utility classes to quickly change the appearance of a badge. Please note that when using Bootstrap’s default .bg-light, you’ll likely need a text color utility like .text-dark for proper styling. This is because background utilities do not set anything but background-color.

Primary Secondary Success Info Warning Danger Light Dark
<span class="badge bg-primary">Primary</span>
<span class="badge bg-secondary">Secondary</span>
<span class="badge bg-success">Success</span>
<span class="badge bg-info">Info</span>
<span class="badge bg-warning">Warning</span>
<span class="badge bg-danger">Danger</span>
<span class="badge bg-light">Light</span>
<span class="badge bg-dark dark__bg-dark">Dark</span>
Pill badges

Use the .rounded-pill utility class to make badges more rounded with a larger border-radius.

Primary Secondary Success Info Warning Danger Light Dark
<span class="badge rounded-pill bg-primary">Primary</span>
<span class="badge rounded-pill bg-secondary">Secondary</span>
<span class="badge rounded-pill bg-success">Success</span>
<span class="badge rounded-pill bg-info">Info</span>
<span class="badge rounded-pill bg-warning">Warning</span>
<span class="badge rounded-pill bg-danger">Danger</span>
<span class="badge rounded-pill bg-light">Light</span>
<span class="badge rounded-pill bg-dark dark__bg-dark">Dark</span>

Thank you for creating with Falcon |
2021 © Themewagon

v3.0.0-beta5

customize