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>
);
}















