Badge – Regular badge to label content.
From Bootstrap - Demo Wiki
Component | ||
---|---|---|
Name | Badge | |
Description | Regular badge to label content. | |
Provider | Skin | |
Reference | getbootstrap.com - regular badge | |
Styling | For all possible color styles and corresponding examples, see colors. |
Result
Primary Secondary Success Danger Warning Info Light Dark
Code
<span class="badge badge-primary">Primary</span>
<span class="badge badge-secondary">Secondary</span>
<span class="badge badge-success">Success</span>
<span class="badge badge-danger">Danger</span>
<span class="badge badge-warning">Warning</span>
<span class="badge badge-info">Info</span>
<span class="badge badge-light">Light</span>
<span class="badge badge-dark">Dark</span>