Badge

Small status indicators and labels for UI elements.

Import

Usage

DefaultSecondaryDestructiveOutline

Badge Props

AttributeTypeDefaultDescription
variant'default' | 'secondary' | 'destructive' | 'outline''default'The visual style of the badge.
asChildbooleanfalseWhen true, renders as its child element.
classNamestring-Additional CSS classes for styling.