Badge

Badges are subtle elements to highlight information which are often used in tables and lists as well as in combination with metrics

Live

Attribute Type Documentation Default Value
class :string
color :string
size :string "sm"
rest :global
icon :slot
<:icon>
  <.icon name="hero-signal" />
</:icon>
Live
inner_block :slot