Use the .badge class, followed by.badge-secondaryclass within element to create
secondary badge.
Use the .badge class, followed by.badge-primaryclass within element to create
primary badge.
Use the .badge class, followed by.badge-successclass within element to create
success badge.
Use the .badge class, followed by.badge-dangerclass within element to create
danger badge.
Use the .badge class, followed by.badge-infoclass within element to create info
badge.
Use the .badge class, followed by.badge-warningclass within element to create
warning badge.
Use class .badge-square with .badge to make your badge square
Use <a> tag inside your .badge to create a badge with
icon
Use .dropdown-toggle class with your badge text to create a badge with
dropdown
Add icon before your dropdown toggle text to create a dropdown toggle with icon
Use .block class with .badge, to display badge as a block
element.
Add your icon inside <a> tag class to make your block badge a link
Use classes badge-{xl|lg|md|sm} to change size of a badge