← 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.
mediaReactNodeMedia node rendered in a 3:2 frame at the top.
eyebrowReactNodeSmall uppercase label above the title.
titleReactNodeCard title, rendered in the display serif.
textReactNodeSupporting body text.
footerReactNodeFooter node (actions, meta) pinned to the bottom.