Card
v1.0.2Updated 20 Jul 2026Generic container with subtle border, padding, and slots for header / title / description / content / footer. Adds elevation levels, hover lift, selected state, tonal tint, and a loading overlay for richer surface compos
Preview
Live · 15 stories▸Why this is recommendedcontainerpanelboxsurface+2
The default, out-of-the-box Card.
- ✓Dashboard tiles
- ✓Form sections
- ✓Content groupings
- ✓Selectable tiles
- ✓Marketing / pricing cards
- Composable slots
- Consistent spacing
- Bordered surface
- Composable slots (header / media / body / footer)
- Elevation 0-5
- Hover lift
- Selected state
- Tonal tint variants
- Loading overlay
- Clickable variant
- i18n: labels prop overrides the loading-overlay screen-reader announcement (DEFAULT_CARD_LABELS)
- ✕Layout shells (use AppShell)
- ✕Single inline alerts (use Alert)
- ✕Trivial framing (use Paper)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
elevationShadow elevation
—hoverLiftAnimate elevation on hover
—selectedSelected state ring
—toneTonal tint
—loadingShow loading overlay
—labelsOverride built-in UI strings (loading-overlay screen-reader announcement) for i18n; English defaults exported as DEFAULT_CARD_LABELS
—Every tonal component shares the same tone × emphasis API, so the pair looks identical across Button, Badge, Alert and more.