Composable card with header, title, description, content, and footer sub-components. A flexible container for grouping related content.
All 49 static components have been polished with consistent design tokens including frosted glass overlays, ring borders, and hover shadows.
Card is a compound component with 6 sub-components that can be composed together. Each part uses data-slot attributes for styling and targeting.
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardContent,
CardFooter,
} from "@/components/ui/shared/card"<Card>
<CardHeader>
<CardTitle>Title</CardTitle>
<CardDescription>Description</CardDescription>
</CardHeader>
<CardContent>
<p>Content goes here.</p>
</CardContent>
<CardFooter>
<button>Action</button>
</CardFooter>
</Card>Check your inbox for the latest updates.
We use cookies to improve your experience. You can customize your preferences below.
CarddivRoot container — rounded-2xl, gradient bg, ring border. Supports variant prop: default | solid | ghost | elevated
CardHeaderdivHeader section with contrasting background and bottom separator
CardTitledivSemibold heading with tight tracking
CardDescriptiondivMuted description text
CardContentdivMain content area with padding
CardFooterdivFooter with contrasting background and top separator for actions