# Status colors

> Tinted success, warning, error, and info states.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/badge-05).

- Page, with a live preview: https://shadcn.exchange/r/flx/badge-05
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/badge-05-light-457b362eef64995d.png
- Registry item: https://ui.flexnative.com/r/badge-05.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/badge-05.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `badge`

## Files

### `registry/patterns/badge/badge-05.tsx`

```tsx
import { Badge } from '@/components/ui/badge'

export function Badge05() {
  return (
    <div className="flex flex-wrap items-center gap-2">
      <Badge className="border-transparent bg-emerald-500/10 text-emerald-600 dark:text-emerald-400">
        Success
      </Badge>
      <Badge className="border-transparent bg-amber-500/10 text-amber-600 dark:text-amber-400">
        Warning
      </Badge>
      <Badge className="border-transparent bg-red-500/10 text-red-600 dark:text-red-400">
        Error
      </Badge>
      <Badge className="border-transparent bg-blue-500/10 text-blue-600 dark:text-blue-400">
        Info
      </Badge>
    </div>
  )
}
```
