Status and count
Badge
A small error-role indicator for numeric counts, short labels, capped values, and status dots.Playground
Configure the component and copy synchronized Vue code.
Token map
The manual manifest combines inherited token owners with local deltas.
MBadge · All8 tokens
m3-badgeMBadge API
Props, slots, and events are generated from the current public kit contract.
Props
NameTypeDefault
valueText or numeric value displayed by the badge.string | numberundefinedmaxLargest numeric value shown before the badge appends a plus sign.number99dotRenders a compact status dot without visible label content.booleanfalseSlots
Events
MBadge does not emit component-specific events. Native events fall through to its root element.