Card
A generic raised surface — a white key resting on the canvas — with header, content, and footer sections.
Sign in to seamui
Enter your email below to sign in to your account.
tsx
import { Button } from "@/registry/seam/ui/button"
import {
Card,
CardAction,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/seam/ui/card"
import { Input } from "@/registry/seam/ui/input"
export default function CardDemo() {
return (
<Card className="w-full max-w-sm">
<CardHeader>
<CardTitle>Sign in to seamui</CardTitle>
<CardDescription>
Enter your email below to sign in to your account.
</CardDescription>
<CardAction>
<Button variant="link" className="px-0">
Sign up
</Button>
</CardAction>
</CardHeader>
<CardContent className="grid gap-2.5">
<Input type="email" placeholder="m@example.com" />
<Input type="password" placeholder="Password" />
</CardContent>
<CardFooter className="flex-col gap-2">
<Button className="w-full">Sign in</Button>
<Button variant="ghost" className="w-full">
Continue with Google
</Button>
</CardFooter>
</Card>
)
}bunx --bun @seamui/cli@latest add cardNotes
- A static surface at
restingdepth — it never animates on its own; depth motion belongs to the interactive keys placed inside it and to overlays that rise above it. - Renders plain
<div>structure with no implicit semantics — use a heading element insideCardTitlewhen the card titles a page section.
Press feedback, reduced motion, and haptics follow the global policy — see Motion and Haptics.