Card
Rounded surface with header, title, description, action, content and footer slots. A small size tightens the spacing, and an image placed first bleeds to the card's rounded top edge.
import { Button } from "@/components/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card"
/** Card with a header, body text and a full-width button in the footer. */
export default function CardDemo() {
return (
<Card className="max-w-sm">
<CardHeader>
<CardTitle>Studio</CardTitle>
<CardDescription>
Every block, every scene, and the source for both.
</CardDescription>
</CardHeader>
<CardContent>
<p className="text-sm/6 text-muted-foreground">
Install with the CLI and the files land in your repo. No runtime
dependency, no lock-in.
</p>
</CardContent>
<CardFooter>
<Button className="w-full">Get the kit</Button>
</CardFooter>
</Card>
)
}
Installation
pnpm dlx shadcn add @01orbital/cardnpx shadcn add @01orbital/cardyarn shadcn add @01orbital/cardbunx --bun shadcn add @01orbital/cardAdd the @01orbital registry to components.json once (install guide), then run the command.
It lands at components/ui/card.tsx, as source you own and edit.
Card components
The library's own card components, each installed on its own.
01
bento-cell
02
bento-window
03
card-stock-black-plate
04
card-stock-plate
05
cascade-card
06
cover-card
07
engraved-card
08
glow-card
09
headline-card
10
limned-surface
11
metal-card
12
simple-card
13
split-card
14
subtle-card
Dependencies
npm: cn. The CLI installs them for you.
No other registry pieces.
Thermal Button
A dark mono-label button built on motion that heats on hover, flashes to ember on press and greys to ash when a Thermal Provider reports depletion. Pulse respects reduced motion.
Compare
Every Card component side by side, with a picture and description of each. Open one for its preview, API and install.