Skip to content

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.

Tokens first, screens second.

tsx
<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.
  1. titleHero type, two lines at most.
  2. bodyOptional note at body size.

Examples

Type-checked, and the same code goes into the AI manifest. Import: import { SlideStatement } from "@/ds";

Turn

The machine proposes.
The human decides.

4 / 7

Closing, accent surface

Complexity, simplified.

7 / 7

Props

Checked against the component's TypeScript type on every build.
SlideStatement props
NameTypeDefaultDescription
statement (required)ReactNode–One or two lines; the turn in one Highlight.
label (required)string–Plain text of the statement for screen readers.
notestring–One quiet line below, 24px.
eyebrowReactNode–Chapter · topic, as an uppercase label at the top.
surface"page" | "inverse" | "accent""page"Surface mode of the whole slide.
pagenumber–Page number, bottom right.
totalnumber–Total pages; shown as “3 / 12”.

Tokens used

Derived from the utility classes in the component's source. Copy a class with one click.
Tokens used by SlideStatement
TokenTierValueUtility
display.colorcomponent#0A0A0B
display.trackingcomponent-0.035em
display.weightcomponent800
slide.stackcomponent2cqw
text.secondarysemantic#555555
type.slide-body.sizesemantic1.5cqw
type.slide-hero.sizesemantic7.5cqw

Accessibility

What is checked automatically on every build, and what a person has tested. Nothing is marked as tested unless it was.
Testing status by check
CheckHowStatus
axe-core rulesAutomated on every npm run check, at desktop and mobile widthRuns on every build
KeyboardAutomated Playwright test (scripts/keyboard.mjs)Not applicable
Screen readerManualNot 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.