Badge
Documentation and examples for badges, our small count and labeling component.
Examples
Text
Show codePrimary Secondary Success Danger Warning Info Dark
Links
Using the contextual .badge-*
classes on an <a>
element quickly provide actionable badges with hover and focus states.
Show code Icon
Show codePrimary Secondary Success Danger Warning Info Dark
Colors
Soft
Show codeSoft primary Soft secondary Soft success Soft danger Soft warning Soft info Soft dark
Shapes
Pills
Show codeWarning
Circle
Show code3 3 3 3 3 3 3
Sizing
Show codeWarning Warning Warning
Dots
Show codePrimary Secondary Success Danger Warning Info Dark
Show codeWarning Warning Warning
Badges can be used as part of links or buttons to provide a counter.
Default
Floating
Badges can be used as part of links or buttons to provide a counter.
Show code Show code