Layout
Card
A card groups a heading and a few lines in a bordered block. Cards are usually placed in a grid.
Live demo
Syntax
Markdown
MDX
Attributes and props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Optional heading (MDX only) |
className | string | — | Extra CSS classes (MDX only) |
In Markdown, the first heading inside the card plays the role of the title.
In other formats
| Format | Status | Notes |
|---|---|---|
deck | Available | Rendered in slides, the presenter console and the HTML and PDF exports. |
docs | Available | Through <StoryEmbed slug="…" /> in any page of a site. |
motion | Available | Animated block in a film. |
report | Planned · P6 | Section of a paged report. |
toon | Planned · P7 | Panel of a vertical strip. |
book | Planned · P8 | Block of a printable chapter. |