# Badge

> Displays a badge or a component that looks like a badge.

Source: https://ui.cortexcn.dev/docs/components/badge

## Installation

```bash
npx shadcn@latest add @cortexcn/badge
```

## Usage

```tsx
import { Badge, badgeVariants } from "@/components/badge";
```

## Examples

### Variants

### Icon left

### Icon right

### With spinner

### asChild

### Long text

### Custom colors

Adapted from the [shadcn/ui Badge](https://ui.shadcn.com/docs/components/radix/badge) (MIT).