---
title: Alert
description: Displays a callout for user attention.
component: true
source:
radix: true
shadcn: true
---
Alert forms the core primitives for [Admonition](../fragments/admonition). Use the Admonition component unless you must deviate from our consistent patterns. Examples where Alert might make sense include:
- Bespoke icon requirement
- Highly custom internal contents
## Installation
```bash
npx shadcn-ui@latest add alert
```
## Usage
```tsx
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'
```
```tsx
Heads up!
You can add components and dependencies to your app using the cli.
```