Layout tokens
Shared layout primitives for card and modal patterns. Import them from tokens and compose with cn().
Card layouts
Four layout variations built from the shared token classes. Each one styles Card's children, not the Card itself.
47,291
Goal: 50,000 steps
cardHeaderClass + cardContentClass
OS-style header bar with content below
Notifications
Configure how you receive alerts. Choose between push notifications, email digests, or both.
cardBodyClassp-4
Standard headerless card
Jane Doe
Senior Engineer
Profile cards, feature highlights, and other visual showcase content.
cardShowcaseClassp-4
Featured content: profiles, highlights
<Card>structure only
Card adds no padding or gap; rows own their spacing
Token reference
Every layout export and its key classes.
Usage
import {
cardHeaderClass,
cardContentClass,
cardBodyClass,
blurredOverlayClass,
} from "@/registry/lib/tokens"
import { cn } from "@/registry/lib/utils"
<Card>
<div className={cn(cardHeaderClass)}>Title</div>
<div className={cn(cardContentClass)}>Content</div>
</Card>