npx gluestack-ui add badgeimport { Badge } from '@/components/ui/badge';


export default () => (
<Badge>
<BadgeText />
<BadgeIcon />
</Badge>
);
| Prop | Type | Default | Description |
|---|---|---|---|
action | error | warning | success | info | muted | success | Determines the color scheme of the badge. |
variant | solid | outline | solid | Determines the visual style of the badge. |
size | sm | md | lg | md | Determines the size of the badge. |