For more examples, visit the Storybook.

Example
<StudsBadge>
    Badge
</StudsBadge>

Props

children
string | ReactNode

The content of the badge.

variant
"default" | "secondary" | "outline" | "destructive"
default:"default"

The variant of the badge