Badge

Success Error Warning Info Secondary Accent
Attribute Type Documentation Default Value
variant :string

badge color variant

"primary"
size :string

badge size

"md"
outline :boolean

show outline style

false
soft :boolean

show soft style with muted background

false
pill :boolean

use pill (rounded) shape

false
dot :boolean

show as a dot indicator only

false
class :any

additional CSS classes

rest :global
Required inner_block * :slot

badge text or content

[Multiple values]