Documentation and examples for badges, our small count and labeling component.
Add any preset modifier classes to change the appearance of a badge.
Use the pill prop to make badges more rounded.
Use the .badge-outline modifier class to create outline badges.
Create soft badges using .badge-soft-* modifier class.
Using the contextual .badge-* classes on an <a> element quickly provide actionable badges with hover and focus states.
use .badge-sm class for small badges.
Add .badge-indicator to display badge as an indicator.
Add any preset modifier classes to change the appearance of a badge. Using the contextual classes on an <a> element quickly provide actionable badges with hover and focus states.
Add .badge-indicator to display badge as an indicator.
Use.badge-dot .
Badges scale to match the size of the immediate parent element by using relative font sizing and em units.
Wrap with .badge-status.
Badges can be used as part of links or buttons to provide a counter.