Badge
Small pill-shaped labels used to highlight status, categories, or metadata. For announcement strips, use the BadgeGroup compound component.
Colors
13 semantic colours in two sizes — sm (text-xs) and md (text-sm).
Small (sm)
Medium (md)
With dot
Add a leading status dot via the dot prop. The dot colour matches the badge colour automatically.
Small
Medium
With icons
Use startContent for a leading icon and endContentfor a trailing icon (e.g. a dismiss ×).
Leading icon
Trailing icon (dismiss)
Both icons — md
Icon only
Set isIconOnly for a compact square-ish badge showing only an icon. Pass the icon via startContent.
Small
Medium
Badge Group
A compound announcement strip: a coloured pill containing an inner chip label and a message. Use badgePosition to place the chip left or right. Add endContent on the message or badgeEndContent inside the chip.
Colors — sm
Colors — md
With trailing icon
Badge position right