# Shadcn Sonner Toast Components

An opinionated toast component for React. Every toast example sits comfortably next to Radix UI and Base UI components.

- Page: https://shadcnuikit.com/components/sonner-toast
- Variants: 12 (12 free, 0 pro)
- Built with shadcn/ui, Tailwind CSS v4, React and Next.js

- [Variant 1](https://shadcnuikit.com/components/sonner-toast/1) (Free, install: `npx shadcn@latest add @shadcnuikit/toast1`)
- [Variant 2](https://shadcnuikit.com/components/sonner-toast/2) (Free, install: `npx shadcn@latest add @shadcnuikit/toast2`)
- [Variant 3](https://shadcnuikit.com/components/sonner-toast/3) (Free, install: `npx shadcn@latest add @shadcnuikit/toast3`)
- [Variant 4](https://shadcnuikit.com/components/sonner-toast/4) (Free, install: `npx shadcn@latest add @shadcnuikit/toast4`)
- [Variant 5](https://shadcnuikit.com/components/sonner-toast/5) (Free, install: `npx shadcn@latest add @shadcnuikit/toast5`)
- [Variant 6](https://shadcnuikit.com/components/sonner-toast/6) (Free, install: `npx shadcn@latest add @shadcnuikit/toast6`)
- [Variant 7](https://shadcnuikit.com/components/sonner-toast/7) (Free, install: `npx shadcn@latest add @shadcnuikit/toast7`)
- [Variant 8](https://shadcnuikit.com/components/sonner-toast/8) (Free, install: `npx shadcn@latest add @shadcnuikit/toast8`)
- [Variant 9](https://shadcnuikit.com/components/sonner-toast/9) (Free, install: `npx shadcn@latest add @shadcnuikit/toast9`)
- [Variant 10](https://shadcnuikit.com/components/sonner-toast/10) (Free, install: `npx shadcn@latest add @shadcnuikit/toast10`)
- [Variant 11](https://shadcnuikit.com/components/sonner-toast/11) (Free, install: `npx shadcn@latest add @shadcnuikit/toast11`)
- [Variant 12](https://shadcnuikit.com/components/sonner-toast/12) (Free, install: `npx shadcn@latest add @shadcnuikit/toast12`)

## Install with the shadcn CLI

Add the registry to components.json once:

```json
"registries": {
  "@shadcnuikit": {
    "url": "https://shadcnuikit.com/r/{name}.json",
    "headers": {
      "Authorization": "Bearer ${REGISTRY_TOKEN}"
    }
  }
}
```

Then install any item by its registry name, for example `npx shadcn@latest add @shadcnuikit/hero1`. Free items install without an API key. Pro items need a license and an API key from https://shadcnuikit.com/account/api-keys, set as REGISTRY_TOKEN in your .env file.

More from Shadcn UI Kit: [llms.txt](https://shadcnuikit.com/llms.txt)