Badge
TheVBadge component superscripts or subscripts an avatar-like icon or text onto content to highlight information to a user or to draw attention to a specific element.
Usage
Props
Content to display in the badge (typically a number or short text)
Applies specified color to the badge
Applies specified color to the badge text
Applies a border around the badge
Displays the badge as a small dot instead of text content
Size of the badge when using dot mode
Makes the badge float over the content
Icon to display in the badge
Displays the badge inline with the content
Accessibility label for the badge
Maximum number to display. Shows
max+ when content exceeds this valueControls the visibility of the badge
Horizontal offset of the badge position
Vertical offset of the badge position
Position of the badge. Options: combinations of
top, bottom, start, end, centerBorder radius of the badge
Specify a custom HTML tag to use on the root element
Transition to use when showing/hiding the badge
Slots
default
The default slot for the element the badge is attached to
badge
Slot for custom badge content