Skip to content

Badges ​

The v-badge component superscripts or subscripts an avatar-like icon or text onto content to highlight information to a user or to just draw attention to a specific element. Content within the badge usually contains numbers or icons.

Usage ​

Badges in their simplest form display to the upper right of the content that it wraps and requires the badge slot.

API ​

ComponentDescription
v-badgePrimary Component

Examples ​

Props ​

Dot ​

The dot property removes badge's content and reduces its overall size. This is useful when you need to draw a user's attention subtly.

Inline ​

Inline badges can be placed anywhere with content and can render without a default slot.

Content ​

For simple text, use the content property to display a value on the badge.

Released under the MIT License.