Badge

Very Long Badge Label That Might Wrap
Disabled with Icon
Success with Dot
Attribute Type Documentation Default Value
style :string

The style of the badge

"fill"
Required label * :string

The label of the badge

color :string

The color of the badge

"neutral"
size :string

The size of the badge

"small"
disabled :boolean

Whether the badge is disabled. Overrides the color attribute.

false
dot :boolean

Whether to render a dot on the side of the label.

false
rest :global
icon :slot

The icon to render next to the label. Overrides the dot attribute.

[Multiple values]