---
title: Alert
description: Displays a callout for user attention.
component: true
---
## Installation
CLI
Manual
```bash
npx shadcn@latest add alert
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx showLineNumbers
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
```
```tsx showLineNumbers
Heads up!
You can add components and dependencies to your app using the cli.
```