ACTIONS & SURFACES
Card
Composable surface container. Five variants share the same Memphis chrome but differ in accent, weight, and elevation.
Import
Composition
Card title
Short caption that supports the title.
Body content. Mix any inline content here.
Featured variant
Featured
The most prominent variant — solid border, hard shadow, gold accent.
Interactive variant
Hover and focus states make this variant tap-target friendly.
Elevated variant
Soft drop shadow rather than the hard Memphis shadow. Good for content that should sit behind primary surfaces.
Elevated
Soft drop shadow instead of the hard Memphis shadow.
For surfaces that should recede slightly into the page.
Inverse variant
Flipped bg/fg — use on a light page when you need a section to feel like a dark island.
Inverse
fg/bg flipped — drop on a light page for instant contrast.
API
Card props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'elevated' | 'featured' | 'interactive' | 'inverse' | 'default' | Visual treatment. Featured uses the gold accent; inverse flips fg/bg for dark surfaces. |
| padding | 'sm' | 'md' | 'lg' | 'md' | Inner spacing applied to the body and chrome rows. |
| className | string | — | Tailwind classes are merged on top of the variant defaults. |
Accessibility
- Presentational
<div>by default — forwardrole/aria-label/aria-labelledbyfor landmarks (role="region",role="article", etc.). - .componentDocs.card.a11y.1