Slides
SlideQuestion
The guiding question of a talk: terracotta edge, meta label and the question in ink.
- Experimental
- No keyboard interaction
- Screen reader not tested yet
Playground
Change the props. The controls come from the documented props.
<SlideQuestion
eyebrow="The brief"
title="Not more screens. Better rules."
question="What makes a screen done?"
/>Usage
When to use
Use it once, early in a talk, to set the question the talk answers.
When not to use
- For open points at the end: use the same edge on a Slide, not a second guiding question.
How it works
A terracotta edge on the left, a meta label and the question at two-line title size. An optional headline above says how you read the brief.
Content guidelines
Ask a real question that the closing slide answers. One sentence, ending with a question mark.
Do and don’t
Do
- Ask the question once, early; answer it on the closing slide.
Don’t
- Don't give the edge to anything but the guiding question and open points.
Anatomy
The parts of the component and what each one does, as in the playground above.
- titleOptional headline, 64px.
- indicator4px terracotta edge on the left.
- labelMeta label, 20px uppercase.
- bodyThe question, 52px bold.
Examples
Type-checked, and the same code goes into the AI manifest. Import: import { SlideQuestion } from "@/ds";
Guiding question
Props
Checked against the component's TypeScript type on every build.
| Name | Type | Default | Description |
|---|---|---|---|
| question (required) | string | – | The question the talk answers, 52px. |
| title | ReactNode | – | Headline above the question. |
| questionLabel | string | "Guiding question" | Label of the question block. |
| 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.edge | component | #C6492E | |
| slide.gap | component | 1cqw | |
| slide.stack | component | 2cqw | |
| text.primary | semantic | #0A0A0B | |
| type.slide-title.size | semantic | 4cqw | |
| type.slide-title2.size | semantic | 3.25cqw | |
| 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.