---
title: Card
description: Displays a card with header, content, and footer.
component: true
---
## Installation
CLI
Manual
```bash
npx shadcn@latest add card
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx showLineNumbers
import {
Card,
CardAction,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card"
```
```tsx showLineNumbers
Card Title
Card Description
Card Action
Card Content
Card Footer
```