Slides
SlideStatement
One statement in hero type: the turn of a talk, a chapter break or the closing thought.
- Experimental
- No keyboard interaction
- Screen reader not tested yet
Playground
Change the props. The controls come from the documented props.
<SlideStatement
label="Tokens first, screens second."
statement="Tokens first, screens second."
/>Usage
When to use
Use a statement slide for the turn of a talk, a chapter break, or the one closing thought.
When not to use
- For a statement with evidence: use Slide with its stage.
How it works
One or two lines in hero type, vertically centred. The turn goes in terracotta with Highlight; on the accent surface the slide turns terracotta with white type, for the one closing statement.
Content guidelines
Two lines at most, each a full thought: “Erstmals nativ. / Nicht erstmals digital.” Terracotta marks the turn, never decoration.
Do and don’t
Do
- Mark the turn, not decoration, in terracotta: “Erstmals nativ. Nicht erstmals digital.”
- Use the accent surface for the one closing statement of a talk.
Don’t
- Don't use more than one accent statement per talk.
- Don't write three lines; shorten instead.
Anatomy
The parts of the component and what each one does, as in the playground above.
- titleHero type, two lines at most.
- bodyOptional note at body size.
Examples
Type-checked, and the same code goes into the AI manifest. Import: import { SlideStatement } from "@/ds";
Turn
Closing, accent surface
Props
Checked against the component's TypeScript type on every build.
| Name | Type | Default | Description |
|---|---|---|---|
| statement (required) | ReactNode | – | One or two lines; the turn in one Highlight. |
| label (required) | string | – | Plain text of the statement for screen readers. |
| note | string | – | One quiet line below, 24px. |
| eyebrow | ReactNode | – | Chapter · topic, as an uppercase label at the top. |
| 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 |
|---|---|---|---|
| display.color | component | #0A0A0B | |
| display.tracking | component | -0.035em | |
| display.weight | component | 800 | |
| slide.stack | component | 2cqw | |
| text.secondary | semantic | #555555 | |
| type.slide-body.size | semantic | 1.5cqw | |
| type.slide-hero.size | semantic | 7.5cqw |
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.
- The Highlight is colour only; the label carries the full sentence.