Vue Badge - Soft UI
Use our Vue.js badges as elements to show counts or labels separately or inside other components. They usually appear in proximity to notifications or user avatars with eye-catching appeal.
Find below some examples of badge components that can be modified by the style and size using Vue Soft UI Dashboard.
Default Badge
Use this example to create simple and versatile badges.
Badge
Props Information
Name | Type | Default | Description |
---|---|---|---|
color | 'primary''secondary''info''success''warning''danger''light''dark' | success | Change the SoftBadge background color. |
variant | 'gradient''fill' | fill | Change the SoftBadge background type. |
size | 'sm''md''lg' | md | Change the SoftBadge size. |
circle | bool | false | Make the SoftBadge circular. |
floating | bool | false | |
slot* | node | The SoftBadge has a default slot that you can pass node or content inside it |
Badge Sizes
Use these examples to create badges of different sizes.
Badge
Badge
Badge
Badge Variants
Use these examples to create awesome badges in different styles: filled and with gradient.
Fill
Gradient