Container with border, shadow, and sections.
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from "@/components/ui";This is a description of the card content.
Cards are flexible containers for grouping related content and actions.
<Card>
<CardHeader>
<CardTitle>Card Title</CardTitle>
<CardDescription>Card description goes here</CardDescription>
</CardHeader>
<CardContent>
<p>Card content goes here.</p>
</CardContent>
<CardFooter>
<Button>Action</Button>
</CardFooter>
</Card>Different card styles
<div className="grid gap-4 md:grid-cols-3"> <Card variant="default"> <CardContent className="pt-6">Default card</CardContent> </Card> <Card variant="outline"> <CardContent className="pt-6">Outline card</CardContent> </Card> <Card variant="elevated"> <CardContent className="pt-6">Elevated card</CardContent> </Card></div>Add hover effect
<Card hover className="cursor-pointer"> <CardContent className="pt-6"> Hover over me </CardContent></Card>Configure your app with the features you need and download production-ready code.
Start Configuring