Renders a badge component.
:class - Additional CSS classes to apply to the badge. :variant - The visual style of the badge. Available variants: "default" - Primary color with white text (default) "secondary" - Secondary color with contrasting text "destructive" - Typically red, for warning or error states "outline" - Bordered style with no background <.badge>Badge</.badge> <.badge variant="destructive">Warning</.badge> <.badge variant="outline" class="text-sm">Custom</.badge>
<.badge > Default </.badge> <.badge variant="secondary"> Secondary </.badge> <.badge variant="destructive"> Destructive </.badge> <.badge variant="outline"> Outline </.badge>