Skip to content

Presenting

A deck is driven the same way wherever it is shown: alone (recit build, recit dev), on the page of a site, or embedded in a page with <StoryEmbed>. Try everything below on this deck:

Click, tap or use ← →. 8 slides, 00:40 to presentOpen fullscreen

Keyboard shortcuts

The keyboard always works: no setting turns it off. Press ? in a deck for the same list.

KeyAction
→ / Space / Page Down / Dnext step, then next slide
← / Page Up / Aprevious step, then previous slide
Home / Endfirst / last slide
Ooverview of every slide
Mthe Contents drawer, the deck's table of contents
G, a number, then Entergo to that slide
Ffullscreen
Spresenter console (in the console: back to the audience)
B / Wblack / white screen
Llaser pointer
Shift+D, then Cpen, then clear the drawing
Tlight / dark color mode (a deck alone; a site keeps its own)
Hslide density readout, under recit dev only
RQR code of the smartphone remote (recit dev --remote)
Pdownload the deck's PDF, when its site lists one
?this help
Escapeclose a dialog, bring the screen back, leave fullscreen

In a right-to-left story (dir: rtl), ← and → swap, like the click zones and the swipe.

A shortcut never takes a key from a control: a focused button or link keeps Space and Enter, and a field, a code tab or a dialog keeps every key. On a page of a site, the deck listens once it has the focus (a click or Tab), so two decks of one page never move together.

Mouse and touch

  • Previous / next buttons sit on the edges of the slide. With a mouse they appear when it moves and fade after 2 s; on a touch screen they stay visible, as 44 px targets.

  • A click or a tap on the slide: the left third goes back, the two other thirds advance. A double click is two steps, never a selection.

  • Links, buttons, fields, code tabs and a text selection keep their click. So does any element marked data-deck-interactive, for a component that handles clicks on a plain div:

    ReactTSX
    <div data-deck-interactive onClick={spin}>…</div>
  • Swipe left or right with a finger. A vertical swipe still scrolls the page.

Overview and go to

O, or the toolbar's Overview button (in its ⋯ menu on a narrow screen), opens the overview: every slide as a thumbnail, the current one marked. Arrows move between them, Enter opens one. G followed by a number and Enter goes straight to that slide.

The table of contents of a deck, its sections and its slides, opens with M or the Contents button: see Table of contents and series.

Fullscreen

F, or the Fullscreen button, puts the deck itself in fullscreen, not the page around it. Where the browser has no Fullscreen API (an iPhone), the deck covers the window instead and Escape leaves. On the page of a site, the address follows the slide (?slide=4), so a reload stays there; an embedded deck never writes the address.

Presenter console

S, or the Presenter button, opens the console in a second window: current and next slide, notes, time and tools. It lands on the slide the audience shows, follows it step by step, and drives it: black screen, laser and pen go to the audience.

  • A deck alone opens itself with ?mode=presenter.
  • The page of a site, or a <StoryEmbed>, opens the story's own route, …/<slug>/presenter (/present/course/presenter here), full screen without the site's header. An embedded deck syncs with its own console only: another deck of the page does not move.
  • If the browser blocks the window, the deck says so and gives the link to open by hand.

The console adapts to the screen it is on, from a phone held upright to a projector. On a phone, a touch on the current slide opens the overview. Dark console, in its tools, turns the console alone dark while the audience keeps its mode, for a dark room; the console remembers it. A phone on the same network — in its browser or with the Récit Remote app (preview) — can also drive a deck run by recit dev --remote or Récit Studio: see the smartphone remote. A published deck has no remote relay.

Settings

Everything but the keyboard and the help can be turned off, in recit.config.ts, in the front matter of a story, or on one <StoryEmbed>. The strongest wins: the embed's props, then the story, then the config, then the defaults.

TypeScriptrecit.config.ts
export default defineConfig({ deck: { controls: { navigation: "auto", // "auto" | "always" | "hidden" clickToAdvance: true, swipe: true, overview: true, }, presenter: true, // false removes the console's button and the S key }, });
Markdownslides.md
--- title: Lorem ipsum controls: clickToAdvance: false ---
MDXa page of a site
<StoryEmbed slug="course" controls={{ navigation: "auto" }} presenter={false} />

In a deck embedded with <StoryEmbed>, controls.navigation defaults to "always" so readers see at once that the block has slides; set navigation: "auto" (on <StoryEmbed>, in the story's controls: front matter, or in deck.controls of recit.config.ts) to hide the buttons again when the mouse is still.

KeyDefaultEffect
controls.navigation"auto" ("always" in <StoryEmbed>)auto: buttons on mouse move and always on touch; always: always; hidden: never
controls.clickToAdvancetruea click or a tap on the slide moves it, with the exceptions above
controls.swipetruea horizontal swipe moves it
controls.overviewtruethe overview, "go to", the Overview button and the Contents drawer
controls.seriestrueon a site, the series of the deck: the foot of Contents and the card to the next deck
presentertruethe console exists

With navigation: "hidden", a touch screen still has the tap and the swipe: turn those off too and only the keyboard is left.