← All components

Component

Card

Content container with optional media, eyebrow, title, text and footer. Use composed props for catalogue cards, or pass free children.

Card.jsx Card.d.ts Card.prompt.md Open raw preview HTML

Live demo

Rendered with the actual component source, not a re-implementation.

Seating

The Ajao Bench

Hand-jointed iroko, finished in raw linseed oil.

Usage

import { Card } from "./Card.jsx";

<Card
  interactive
  media={<img src="bench.jpg" alt="" />}
  eyebrow="Seating"
  title="The Ajao Bench"
  text="Hand-jointed iroko, finished in raw linseed."
  footer={<Button size="sm">View piece</Button>}
/>

Props

Card props — see the source .d.ts for the complete type.
PropTypeDefaultDescription
elevation"flat" | "raised""raised"Elevation style.
interactivebooleanfalseLift + shadow on hover; renders as a clickable surface.
mediaReactNode—Media node rendered in a 3:2 frame at the top.
eyebrowReactNode—Small uppercase label above the title.
titleReactNode—Card title, rendered in the display serif.
textReactNode—Supporting body text.
footerReactNode—Footer node (actions, meta) pinned to the bottom.