---
title: "Card"
description: "A container for grouped content with a header, title, description, action, content, and footer, for dashboards and settings pages."
plan: Free
docs: https://ui.edbn.me/docs/components/card
---

# Card

A container for grouped content with a header, title, description, action, content, and footer, for dashboards and settings pages.

## Installation

```bash
npx shadcn@4.19.0 add https://ui.edbn.me/r/card.json
```

## Dependencies
- edbn: edbn-base

## Usage

```tsx examples/card-basic.tsx
"use client";
import { Button } from "@/components/ui/button";
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card";

export default function CardBasicPreview() {
  return (
    <Card className="w-full max-w-dialog">
      <CardHeader>
        <CardTitle>Team plan</CardTitle>
        <CardDescription>For growing product teams.</CardDescription>
      </CardHeader>
      <CardContent>
        <p className="text-stat">$24</p>
      </CardContent>
      <CardFooter>
        <Button className="w-full">Upgrade</Button>
      </CardFooter>
    </Card>
  );
}
```

## Files
- components/ui/card.tsx (112 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
