# Badge
Compact status badge for labels, tags, and metadata.

## Import/Installation

<Tabs items={[{ label: 'Package', value: 'package' }, { label: 'Registry', value: 'registry' }]}>
  <TabsContent value="package">
    ```tsx
    import { Badge } from "@lottiefiles/creator-plugins-ui";
    ```
  </TabsContent>

  <TabsContent value="registry">
    ```bash
    npx shadcn@latest add @lottiefiles/badge
    ```
  </TabsContent>
</Tabs>

## Preview

<iframe src="https://creator-plugins-ds.lottiefiles.com/?story=badge--all-variants&mode=preview" style={{ width: "100%", border: "1px solid rgba(128, 128, 128, 0.4)", borderRadius: "8px" }} height="148" title="Badge component live preview" frameBorder="no" loading="lazy" />

## Usage

```tsx
<Badge variant="secondary">Draft</Badge>
```

## Props

<PropsTable
  props={[
  {
    name: "variant",
    type: '"default" | "secondary" | "destructive" | "outline"',
    default: '"default"',
    description: "Visual style of the badge.",
  },
]}
/>
