Skip to content

Slides

SlideProcess

A process or roadmap on one line: steps as dots, decision points as squares, text below each step.

  • Experimental
  • No keyboard interaction
  • Screen reader not tested yet

Playground

Change the props. The controls come from the documented props.

Pipeline · Process

From brief to screen.

  1. Describe

    The screen in plain words.

  2. Compose

    From components only.

  3. then

    Check

    Contrast, types, axe.

    Gate

  4. Fix

    At the cause.

  5. Curate

    A person decides.

tsx
<SlideProcess
  eyebrow="Pipeline · Process"
  title="From brief to screen."
  steps={[
    { name: "Describe", text: "The screen in plain words." },
    { name: "Compose", text: "From components only." },
    { name: "Check", text: "Contrast, types, axe.", gate: "Gate" },
    { name: "Fix", text: "At the cause." },
    { name: "Curate", text: "A person decides.", focus: true },
  ]}
/>

Usage

When to use

Use it for an approach, a roadmap or a pipeline: three to six steps in order, with the points where others decide.

When not to use

  • For parallel points without order: use SlideColumns.

How it works

Steps sit on one line as dots, decision points as squares after their step, as in the decks (phases are dots, gates are squares). The focus step turns terracotta. Text sits under each step.

Content guidelines

Step names are one word, a verb or a noun. The headline counts them: “Six phases, two gates.”

Do and don’t

Do
  • Name decision points as gates; they are where others decide.
Don’t
  • Don't use more than six steps; group them into phases.

Anatomy

The parts of the component and what each one does, as in the playground above.
  1. titleOne-line headline, 64px.
  2. indicatorDot per step, square per decision point; terracotta for the focus.
  3. bodyStep name 30px, text 24px.
  4. labelGate label under its step.

Examples

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

Five steps, one gate

Pipeline · Process

Five steps, one gate.

  1. Describe

    The screen in plain words.

  2. Compose

    From components only.

  3. then

    Check

    Contrast, types, axe.

    Gate

  4. Fix

    At the cause.

  5. Curate

    A person decides.

6 / 7

Props

Checked against the component's TypeScript type on every build.
SlideProcess props
NameTypeDefaultDescription
title (required)ReactNode–One sentence, e.g. “Six phases, two gates.”
steps (required)SlideStep[]–name, text, gate and focus per step; three to six.
labelstring–Plain title for screen readers when title has markup.
eyebrowReactNode–Chapter · topic, as an uppercase label at the top.
sourceReactNode–Source line, bottom left, at the caption floor.
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 SlideProcess
TokenTierValueUtility
slide.gapcomponent1cqw
accent.defaultsemantic#C6492E
spacing.2semantic8px
surface.pagesemantic#FAFAF7
text.primarysemantic#0A0A0B
text.secondarysemantic#555555
type.slide-body.sizesemantic1.5cqw
type.slide-lead.sizesemantic1.875cqw
type.slide-title.sizesemantic4cqw
weight.boldsemantic700

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.
  • Steps are an ordered list; dots and squares are decorative, gates are named in text.

Contrast

SlideProcess contrast pairings
PairingRatio (x:1)MinimumStatus
text.primary on surface.page18.924.5Pass
text.secondary on surface.page7.134.5Pass
accent.default on surface.page4.574.5Pass