Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Card

A surface that groups related content and actions. Interactive cards move with the style's physics.

DisplayDumb extras
Deploy preview
Every branch gets its own URL.
38 previews this week, median build 51s.
Props
$ pnpm dlx shadcn@latest add @dumb/card

Needs the @dumb registry in components.json and the style tokens. See Installation.

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
<Card>
  <CardHeader>
    <CardTitle>Usage</CardTitle>
    <CardDescription>Resets on the 1st.</CardDescription>
  </CardHeader>
  <CardContent>...</CardContent>
</Card>

Interactive

interactive with asChild on a link: shift, lift or tint on hover.

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

Card

PropTypeDefault
interactiveextraboolean

Hover and press feedback using the style's surface physics.

false
asChildextraboolean

Render as the child element, e.g. a link.

false