Badge
Documentation and examples for badges, our small count and labeling component.
Examples
Text
Show code
Primary
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 code
Primary
Secondary
Success
Danger
Warning
Info
Dark
Colors
Soft
Show code
Soft primary
Soft secondary
Soft success
Soft danger
Soft warning
Soft info
Soft dark
Shapes
Pills
Show code
Warning
Circle
Show code
3
3
3
3
3
3
3
Sizing
Show code
Warning
Warning
Warning
Dots
Show code
Primary
Secondary
Success
Danger
Warning
Info
Dark
Show code
Warning
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