Card
The workhorse surface: a raised clay panel with optional header and footer rails, separated by hairline shadows instead of borders.
import { Card, CardHeader, CardTitle, CardBody, CardFooter } from "marclayui";Full anatomy
Project files
3 newEverything you drop here sits on a raised clay panel with the full double shadow. The header and footer are optional slots.
Hoverable
Hover me. The card lifts a few pixels — good affordance for clickable surfaces.
| Prop | Type | Default | Description |
|---|---|---|---|
hover | boolean | false | Lifts the card on hover. |
…rest | HTMLAttributes<HTMLDivElement> | — | Standard div props; use className for layout. |