<div class="flex flex-wrap items-center gap-2">
<ui-badge>Default</ui-badge>
<ui-badge variant="secondary">Secondary</ui-badge>
<ui-badge variant="outline">Outline</ui-badge>
<ui-badge variant="destructive">Destructive</ui-badge>
<ui-badge variant="ghost">Ghost</ui-badge>
</div>
<ui-badge>
<ui-badge>| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "default" | The visual style variant. |
All components also accept standard HTML attributes (class, id, style, data-*, aria-*, etc.) which are passed through to the underlying element.