Badge
type Badge = { color?: 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'discovery'; id?: string; key?: string; label: string; pill?: boolean; size?: 'sm' | 'md' | 'lg'; type: 'Badge'; variant?: 'solid' | 'soft' | 'outline';};
Properties
Section titled “Properties”color?
Section titled “color?”optional color: "secondary" | "success" | "danger" | "warning" | "info" | "discovery";
optional id: string;
optional key: string;
label: string;
optional pill: boolean;
optional size: "sm" | "md" | "lg";
type: 'Badge';
variant?
Section titled “variant?”optional variant: "solid" | "soft" | "outline";