Badge

Renders a badge component

Read more Read less

Examples

<.badge>Badge</.badge>
<.badge variant="destructive">Badge</.badge>
Badge
Attribute Type Documentation Default Value
class :string
variant :string the badge variant style "default"
rest :global
Required inner_block * :slot
Badge