# Shadcn Alert Components

Displays a callout for user attention. All alert examples work out of the box with Radix UI and Base UI.

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

- [Variant 1](https://shadcnuikit.com/components/alert/1) (Free, install: `npx shadcn@latest add @shadcnuikit/alert1`)
- [Variant 2](https://shadcnuikit.com/components/alert/2) (Free, install: `npx shadcn@latest add @shadcnuikit/alert2`)
- [Variant 3](https://shadcnuikit.com/components/alert/3) (Free, install: `npx shadcn@latest add @shadcnuikit/alert3`)
- [Variant 4](https://shadcnuikit.com/components/alert/4) (Free, install: `npx shadcn@latest add @shadcnuikit/alert4`)
- [Variant 5](https://shadcnuikit.com/components/alert/5) (Free, install: `npx shadcn@latest add @shadcnuikit/alert5`)
- [Variant 6](https://shadcnuikit.com/components/alert/6) (Free, install: `npx shadcn@latest add @shadcnuikit/alert6`)
- [Variant 7](https://shadcnuikit.com/components/alert/7) (Free, install: `npx shadcn@latest add @shadcnuikit/alert7`)
- [Variant 8](https://shadcnuikit.com/components/alert/8) (Free, install: `npx shadcn@latest add @shadcnuikit/alert8`)
- [Variant 9](https://shadcnuikit.com/components/alert/9) (Free, install: `npx shadcn@latest add @shadcnuikit/alert9`)
- [Variant 10](https://shadcnuikit.com/components/alert/10) (Free, install: `npx shadcn@latest add @shadcnuikit/alert10`)
- [Variant 11](https://shadcnuikit.com/components/alert/11) (Free, install: `npx shadcn@latest add @shadcnuikit/alert11`)
- [Variant 12](https://shadcnuikit.com/components/alert/12) (Free, install: `npx shadcn@latest add @shadcnuikit/alert12`)
- [Variant 13](https://shadcnuikit.com/components/alert/13) (Free, install: `npx shadcn@latest add @shadcnuikit/alert13`)
- [Variant 14](https://shadcnuikit.com/components/alert/14) (Free, install: `npx shadcn@latest add @shadcnuikit/alert14`)
- [Variant 15](https://shadcnuikit.com/components/alert/15) (Free, install: `npx shadcn@latest add @shadcnuikit/alert15`)

## 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)