Slides
SlideTitle
Opening slide: kicker, title in hero type, editorial subline and byline under a short terracotta rule.
- Experimental
- No keyboard interaction
- Screen reader not tested yet
Playground
Change the props. The controls come from the documented props.
<SlideTitle
kicker="Design system · Showcase"
title="Playground deck"
byline="Michael Lenz · free•lenz"
/>Usage
When to use
Use it as the first slide of a talk or a case presentation.
When not to use
- For a chapter break inside the talk: use SlideStatement.
How it works
The kicker names the context (case, client, role), the title is set in hero type, the subline is editorial, and the byline sits under a short terracotta rule.
Content guidelines
The subject is the hero: the client's project name, not your brand. The subline says what the talk delivers in one line.
Do and don’t
Do
- Make the subject the hero, not your own brand: the client's project title is the title.
Don’t
- Don't add a logo wall or an agenda to the title slide.
Anatomy
The parts of the component and what each one does, as in the playground above.
- labelKicker in label type.
- titleHero type, 120px at full size.
- bodyEditorial subline, 38px.
- indicatorShort terracotta rule above the byline.
Examples
Type-checked, and the same code goes into the AI manifest. Import: import { SlideTitle } from "@/ds";
Opening
Props
Checked against the component's TypeScript type on every build.
| Name | Type | Default | Description |
|---|---|---|---|
| title (required) | ReactNode | – | The title, 120px; may contain one Highlight. |
| kicker | string | – | Case · client · role, above the title. |
| subline | string | – | Editorial line under the title, 38px. |
| byline | string | – | Name and brand, under a short terracotta rule. |
| label | string | – | Plain title for screen readers when title has markup. |
| 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 | |
| pill.radius | component | 9999px | |
| slide.gap | component | 1cqw | |
| slide.stack | component | 2cqw | |
| accent.default | semantic | #C6492E | |
| spacing.1 | semantic | 4px | |
| spacing.12 | semantic | 48px | |
| text.primary | semantic | #0A0A0B | |
| text.secondary | semantic | #555555 | |
| type.slide-body.size | semantic | 1.5cqw | |
| type.slide-editorial.size | semantic | 2.375cqw | |
| type.slide-hero.size | semantic | 7.5cqw | |
| weight.semibold | semantic | 600 |
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.