Slides
SlideColumns
Headline and two to four parallel points under a rule each; one column can carry the terracotta focus.
- Experimental
- No keyboard interaction
- Screen reader not tested yet
Playground
Change the props. The controls come from the documented props.
<SlideColumns
eyebrow="System · Structure"
title="Three parts, one system."
columns={[
{ label: "Tokens", title: "One source", text: "Every colour, size and curve." },
{ label: "Components", title: "Built once", text: "Documented the same way." },
{
label: "Gate",
title: "Checked always",
text: "Red means not done.",
focus: true,
},
]}
/>Usage
When to use
Use it for two to four parallel points: roles in a team, parts of a system, options to compare.
When not to use
- For a sequence: use SlideProcess.
- For more than four points: split the slide.
How it works
A one-line headline, then the columns, each under a 2px rule with a label, a point at lead size and a short text. One column can carry the focus: its rule and label turn terracotta.
Content guidelines
Labels are nouns. Points are short claims, the same grammatical form in every column.
Do and don’t
Do
- Use focus for the one column that is your own part (“Experience · I lead”).
Don’t
- Don't use it for more than four points; split the slide.
Anatomy
The parts of the component and what each one does, as in the playground above.
- titleOne-line headline, 64px bold.
- groupTwo to four columns, each under a 2px rule.
- labelColumn label, 20px uppercase; terracotta for the focus column.
- bodyPoint at 30px, text at 24px.
Examples
Type-checked, and the same code goes into the AI manifest. Import: import { SlideColumns } from "@/ds";
Four parts, one in focus
Props
Checked against the component's TypeScript type on every build.
| Name | Type | Default | Description |
|---|---|---|---|
| title (required) | ReactNode | – | One sentence, one line, 64px. |
| columns (required) | SlideColumn[] | – | label, title, text and focus per column; two to four. |
| label | string | – | Plain title for screen readers when title has markup. |
| eyebrow | ReactNode | – | Chapter · topic, as an uppercase label at the top. |
| source | ReactNode | – | Source line, bottom left, at the caption floor. |
| surface | "page" | "inverse" | "accent" | "page" | Surface mode of the whole slide. |
| page | number | – | Page number, bottom right. |
| total | number | – | Total pages; shown as “3 / 12”. |
Tokens used
Derived from the utility classes in the component's source. Copy a class with one click.
| Token | Tier | Value | Utility |
|---|---|---|---|
| slide.gap | component | 1cqw | |
| accent.default | semantic | #C6492E | |
| text.primary | semantic | #0A0A0B | |
| text.secondary | semantic | #555555 | |
| type.slide-body.size | semantic | 1.5cqw | |
| type.slide-lead.size | semantic | 1.875cqw | |
| type.slide-title.size | semantic | 4cqw | |
| weight.bold | semantic | 700 |
Accessibility
What is checked automatically on every build, and what a person has tested. Nothing is marked as tested unless it was.
| Check | How | Status |
|---|---|---|
| axe-core rules | Automated on every npm run check, at desktop and mobile width | Runs on every build |
| Keyboard | Automated Playwright test (scripts/keyboard.mjs) | Not applicable |
| Screen reader | Manual | Not tested yet |
Semantics and focus
- Each slide is a region with aria-roledescription “slide” and a label.
- Columns are a list, read in order.