alwkala

Card

Cards

About

A content container with optional header, title, description, body and footer slots for grouping related information and actions into a bordered, elevated surface.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Card to your project and fits it to your theme.

Code

How Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

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

export default function CardDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <Card variant="elevated" className="w-full max-w-sm">
        <CardHeader>
          <div>
            <CardTitle>Sovereign Design Tokens</CardTitle>
            <CardDescription>Qahera UI Kit · v1.0.0</CardDescription>
          </div>
        </CardHeader>
        <CardBody>
          <p className="text-sm leading-relaxed text-[var(--qhr-content-secondary,#64748b)]">
            A three-layer semantic token system with logical properties, built
            for authentic RTL support across every component.
          </p>
        </CardBody>
        <CardFooter>
          <span className="text-xs text-[var(--qhr-content-secondary,#64748b)]">
            Updated 2 days ago
          </span>
          <a
            href="#"
            className="text-sm font-semibold text-[var(--qhr-color-primary,#0b6bcb)] hover:underline"
          >
            View docs
          </a>
        </CardFooter>
      </Card>
    </div>
  );
}

More by alwkala

View all
  • Callout

    Callout

    10
  • Progress Bar

    Progress Bar

    2
  • Breadcrumb

    Breadcrumb

    1
  • Navbar

    Navbar

    1
  • Kbd

    Kbd

  • Pagination

    Pagination

  • Back To Top

    Back To Top

  • Checkbox

    Checkbox

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    45
  • Folded Card

    Folded Card

    45
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    335
  • Statistics Card 10

    Statistics Card 10

    303
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    715
  • Product List 01

    Product List 01

    41