marclayuiv0.4.0
Components

Card

The workhorse surface: a raised clay panel with optional header and footer rails, separated by hairline shadows instead of borders.

tsx
import { Card, CardHeader, CardTitle, CardBody, CardFooter } from "marclayui";

Full anatomy

Project files

3 new
Everything 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.
PropTypeDefaultDescription
hoverbooleanfalseLifts the card on hover.
…restHTMLAttributes<HTMLDivElement>—Standard div props; use className for layout.