Loading dashboard...
Loading dashboard...
import {
Card,
CardAction,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card"<Card>
<CardHeader>
<CardTitle>Card Title</CardTitle>
<CardDescription>Card Description</CardDescription>
<CardAction>Card Action</CardAction>
</CardHeader>
<CardContent>
<p>Card Content</p>
</CardContent>
<CardFooter>
<p>Card Footer</p>
</CardFooter>
</Card>Use the size="sm" prop to set the size of the card to small. The small size variant uses smaller spacing.
Add an image before the card header to create a card with an image.
The Card component is the root container for card content.
The CardHeader component is used for a title, description, and optional action.
The CardTitle component is used for the card title.
The CardDescription component is used for helper text under the title.
The CardAction component places content in the top-right of the header (for example, a button or a badge).
The CardContent component is used for the main card body.
The CardFooter component is used for actions and secondary content at the bottom of the card.
import { Button } from "@/components/ui/button"
import {
Card,import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import {import { Button } from "@/components/ui/button"
import {
Card,