Bootstrap 5: use <span class="badge text-bg-secondary"> (or text-bg-primary, text-bg-success, text-bg-info, text-bg-warning, text-bg-danger). The theme also maps legacy badge-primary etc. for older markup. .my-* is only for spacing.
Spec Custom Badges: Availble with different colors Please use span tag, for example <span class="badge badge-spec"> for default badge, you can use .badge-blue for blue badge & so on.
Badges With Radius: You should add an additional class .badge-circle or .badge-extra-circle into <span> tag to do circle badges.
Default Bootstrap examples:
Spec Custom Badge Examples (Small Radius): You will need to use an extra class .badge-circle.
Spec Custom Badge Examples (Big Radius): You will need to use an extra class .badge-extra-circle.
| # | First Name | Last Name | Username | Status |
|---|---|---|---|---|
| 1 | Mark | Otto | @mdo | Expiring |
| 2 | Jacob | Thornton | @fat | Success |
| 3 | Larry | the Bird | Error! | |
| 4 | htmlstream | Web Design | @htmlstream | Pending |