Card
A Y2K flat panel — thick navy border, pastel title bar, white content area. Use it as the canvas for grouped information.
card-default-demo.app
Welcome back
Pick up where you left off
You have 3 unread messages from the Y2K support crew.
newv0.2beta
Last seen 2h ago
Installation
terminal.sh
npx y2kui@latest add cardUsage
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional Tailwind classes for the outer panel. |
children | ReactNode | — | Sub-components: CardHeader, CardContent, CardFooter. |
CardHeader
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional classes for the pastel title bar. |