Y2K UI

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 card

Usage

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card";

Props

PropTypeDefaultDescription
classNamestringAdditional Tailwind classes for the outer panel.
childrenReactNodeSub-components: CardHeader, CardContent, CardFooter.

CardHeader

PropTypeDefaultDescription
classNamestringAdditional classes for the pastel title bar.

On this page