---
title: "Build a slide in steps"
description: "Reveal points, chart series, diagram parts and code one step at a time, with step effects, focus and count-ups."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/deckster/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a slide in steps

Make a slide unfold in the order you explain it: reveal points one press at a time with `<Step>`, pick how each one comes in, let earlier points recede so the room looks at the newest, and stage charts, diagrams and code the same way. How steps are numbered and what the hash shows is on [steps](https://sandrinodm.github.io/deckster/concepts/steps/); this page is about writing them.

## Reveal content with `<Step>`

Wrap what should come in later in `<Step at={n}>`. Step 0 is the slide as it arrives; `at` is the press that reveals the content, a whole number of 1 or more. A `<Step>` without `at` is refused.

```mdx
<Step at={1}>

08:42:10 booked.

</Step>

<Step at={2}>

08:42:51 batched.

</Step>
```

Hidden content keeps its space, so nothing on the slide jumps when it appears. Write the content on its own lines with a blank line after `<Step>` and before `</Step>`: the effect acts on the blocks directly inside the step.

[Live slide: "Rise: each entry of the log rises into place", slide 190 of the lookbook deck](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-rise/0)

The slide opens at its first step, before any line is in, so it shows only its eyebrow. Click it and press the right arrow three times. The same three lines with other effects are on the slides after it: [fade](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-fade), [scale](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-scale), [blur](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-blur), [wipe](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-wipe) and [focus](https://sandrinodm.github.io/deckster/decks/lookbook/#/motion-focus).

## Choose an effect

`effect` sets how the content comes in. Durations and easings come from the brand.

| `effect` | What it does |
| --- | --- |
| `rise` (default) | Fades in and rises into place. |
| `fade` | Fades in. |
| `scale` | Fades in from slightly smaller, growing from the middle of the text or picture. |
| `blur` | Fades in from out of focus. |
| `wipe` | Is uncovered from the start edge across, list markers fading in with it. |

Words inside a sentence can fade, blur or wipe; `rise` and `scale` only fade there. Any other name is refused with the list of effects. Keep the default and pick another only when it carries meaning: `wipe` for a line read left to right, `scale` for a card that arrives.

*Filmstrip: the steps of "Caching at the edge cut median API latency from 212 ms to 48 ms", one still per step.* [Open the slide](https://sandrinodm.github.io/deckster/decks/components/#/edge-latency/0)

The strip above counts a figure up on step 1, then brings in one line each with `fade`, `scale` and `blur`. A real slide keeps one effect; this test slide uses three to show them.

## Recede earlier points with `focus`

Give each step of a run you walk through `focus`. Once a later step of the slide is reached, a focused step recedes to the brand's muted colour, so the one just revealed is the only one at full strength. It changes colour, never opacity, so receded text keeps its contrast.

```mdx
<Step at={1} focus>

- **Contract tests** pass against the published schema

</Step>

<Step at={2} focus>

- **The canary** holds its error rate under 0.1% for ten minutes

</Step>

<Step at={3} focus>

- **A rollback** runs green in staging the same day

</Step>

<Step at={4} effect="wipe">

A rollout that skips a check waits for the next window.

</Step>
```

Going back a step brings the receded point back to full strength.

*Filmstrip: the steps of "Three checks gate every rollout, and they run in this order", one still per step.* [Open the slide](https://sandrinodm.github.io/deckster/decks/components/#/rollout-checks/0)

## What builds without `<Step>`

Many parts of a slide take their own steps. They count as deck steps like any `<Step>`.

- **Layouts with a `reveal` field.** `reveal: true` brings the items in one per step on [`actions`](https://sandrinodm.github.io/deckster/reference/layouts/actions/), [`ask`](https://sandrinodm.github.io/deckster/reference/layouts/ask/), [`before-after`](https://sandrinodm.github.io/deckster/reference/layouts/before-after/), [`bento`](https://sandrinodm.github.io/deckster/reference/layouts/bento/), [`cards`](https://sandrinodm.github.io/deckster/reference/layouts/cards/), [`columns`](https://sandrinodm.github.io/deckster/reference/layouts/columns/), [`comparison`](https://sandrinodm.github.io/deckster/reference/layouts/comparison/), [`conversation`](https://sandrinodm.github.io/deckster/reference/layouts/conversation/), [`dashboard`](https://sandrinodm.github.io/deckster/reference/layouts/dashboard/), [`do-dont`](https://sandrinodm.github.io/deckster/reference/layouts/do-dont/), [`equation`](https://sandrinodm.github.io/deckster/reference/layouts/equation/), [`faq`](https://sandrinodm.github.io/deckster/reference/layouts/faq/), [`features`](https://sandrinodm.github.io/deckster/reference/layouts/features/), [`market`](https://sandrinodm.github.io/deckster/reference/layouts/market/), [`matrix`](https://sandrinodm.github.io/deckster/reference/layouts/matrix/), [`pricing`](https://sandrinodm.github.io/deckster/reference/layouts/pricing/), [`proof`](https://sandrinodm.github.io/deckster/reference/layouts/proof/), [`quadrants`](https://sandrinodm.github.io/deckster/reference/layouts/quadrants/), [`quiz`](https://sandrinodm.github.io/deckster/reference/layouts/quiz/), [`recap`](https://sandrinodm.github.io/deckster/reference/layouts/recap/), [`risks`](https://sandrinodm.github.io/deckster/reference/layouts/risks/), [`schedule`](https://sandrinodm.github.io/deckster/reference/layouts/schedule/), [`screen`](https://sandrinodm.github.io/deckster/reference/layouts/screen/), [`shift`](https://sandrinodm.github.io/deckster/reference/layouts/shift/), [`status`](https://sandrinodm.github.io/deckster/reference/layouts/status/), [`steps`](https://sandrinodm.github.io/deckster/reference/layouts/steps/), [`timeline`](https://sandrinodm.github.io/deckster/reference/layouts/timeline/) and [`voices`](https://sandrinodm.github.io/deckster/reference/layouts/voices/). Each layout's page gives the order. Sixteen of them are new in 0.6.0: `actions`, `before-after`, `conversation`, `dashboard`, `do-dont`, `faq`, `features`, `market`, `pricing`, `quadrants`, `quiz`, `recap`, `risks`, `schedule`, `status` and `voices`. On `quiz`, `reveal` defaults to `true` and the second step marks the answer.
- **Presentation layouts added in v0.7.0.** Ten more layouts take `reveal: true`. Each has its own order. For example, `roadmap-transit` shows parallel workstreams, then the transfer, then the milestone it enables. [Presentation patterns](https://sandrinodm.github.io/deckster/examples/presentation-patterns/#product-vision-and-strategy) · [Transit roadmap](https://sandrinodm.github.io/deckster/reference/layouts/roadmap-transit/)
- **Charts.** `at` on a chart, a series, its `highlight` or an annotation, and `reveal` by series or category. Use `focus.from` in `<RetentionCohorts>` or `buildFrom` in `<ProfitPool>` and `<MarketMovement>` to start each chart’s own sequence. [Highlights and annotations](https://sandrinodm.github.io/deckster/data-and-diagrams/highlights-and-annotations/) · [Chart props](https://sandrinodm.github.io/deckster/reference/charts/)
- **Diagrams.** `at` on nodes, groups and edges, a `<Journey>` that travels one hop per step, and `<Packet>` traffic. See [flow diagrams](https://sandrinodm.github.io/deckster/data-and-diagrams/flow-diagrams/).
- **Code.** Highlight ranges in a fence (`{2-4|7}`), `<CodeMove>` versions and `<Terminal>` commands. See [code](https://sandrinodm.github.io/deckster/write-slides/code/).
- **Video.** `cues` cut a `<Video>` into parts played one per step. See [media](https://sandrinodm.github.io/deckster/write-slides/media/).
- **Demos.** `<CommandDemo>`, `<GroundedAnswer>`, `<ReviewDiff>` and `<RunTrace>` have deck steps by default. Use `reveal={false}` to start at the finished state. [Product and AI demos](https://sandrinodm.github.io/deckster/reference/components/#product-and-ai-demonstrations)
- **Count-ups.** A stat's number, such as a `<BigNumber>`, counts up from zero when the deck moves forward onto its slide or onto the step that reveals it. Years, small numbers and text such as `1 in 4` do not count, and nothing counts going back.

A `cards` slide with `reveal: true` brings in one card per press. The example opens at the slide's last step, with every card in: press the left arrow to take the cards away one at a time.

[Live slide: "Riders are staff, with everything that comes with it", slide 39 of the lookbook deck](https://sandrinodm.github.io/deckster/decks/lookbook/#/cards-four-reveal)

`decks/lookbook/slides/cards-four-reveal.mdx`:

```mdx
---
layout: cards
title: Riders are staff, with everything that comes with it
reveal: true
cards:
  - icon: wallet
    title: €15.40 an hour
    text: A wage, not a fee per drop.
  - icon: heart
    title: Sick pay
    text: Paid when ill, like anyone on staff.
  - icon: bike
    title: A bike, serviced
    text: Built and serviced by Ostler Cycles.
  - icon: users
    title: Training
    text: Every new rider rides with Aoife first.
budget: 45s
---

310 riders, and 4% leave in a month.

<Footnote>Source: Wrenhaul operating report, October 2026.</Footnote>

<Notes>
`cards` with four cards and `reveal: true`, one card per click; use it for peers you name one at a time.
Our 310 riders are employees. [click] They earn €15.40 an hour, [click] they get sick pay, [click] a bike that someone else maintains, [click] and training with Aoife Brennan, our first rider. That is why only 4% leave in a month.
</Notes>
```

## Tell the speaker

Put a `[click]` cue in the notes at the point where each step is spoken, in order. The notes of the slide above read "Our 310 riders are employees. [click] They earn €15.40 an hour, [click] they get sick pay, ...". Notes and cues are on [speaker notes](https://sandrinodm.github.io/deckster/write-slides/speaker-notes/).

## When a slide should not build

Exports show a slide's last step, so every slide must read whole. Reveal what the speaker builds on, not every bullet by habit; experts read faster than you reveal. Leave a slide whole when nothing on it is explained part by part.

The opposite mistake has a lint rule. `few-builds` warns when a deck has 4 or more chart, diagram and code slides and fewer than 25% of them build in steps:

```console
$ deck lint launch-review
decks/launch-review/deck.config.ts
  warning few-builds: 0 of 4 chart, diagram and code slides build in steps; these show everything at once: routes, auth, limits, deploy.
          Fix: Stage the figures the notes walk through, in the order the notes explain them: `reveal` or `at` on a chart and its highlight and annotations, `at` on diagram nodes and edges or a <Journey>, step ranges on a code fence (```ts {2-4|7}), and a [click] cue in the notes for each step. Check the order with `deck shot <deck> <slide> --steps`.

launch-review: 0 errors, 1 warning in 4 slides (4 steps checked).
```

## Where nothing moves

Static mode, `deck shot` and exports show each step's end state, and every revealed step at full strength: nothing recedes. So do the slide copies in thumbnails and the presenter's panes. Viewers who ask for reduced motion get a fade for every effect, and a PowerPoint export turns each step into a fade on click. To move a whole slide or carry an element to the next one, see [transitions and morphs](https://sandrinodm.github.io/deckster/write-slides/transitions-and-morphs/). Every prop of `<Step>` is on [components](https://sandrinodm.github.io/deckster/reference/components/#props-Step).

Source: https://sandrinodm.github.io/deckster/write-slides/builds/index.mdx
