Statements
A chapter's first page: its letter and its name on one line across the middle, on the report cover's line.
Live, with its default content. It's drawn at 1920 by 1080 and scales to fit, so it lays out the same at every size. Grid lays the slide grid over it.
The same content in every tone: paper, Cüte ink and the pitch's colour fields. The accent, the numbered circles and the wave follow the tone.
light
dark
green
pink
blue
purple
grey
What the slide holds, read from its schema. Every field has a default, so it renders whole with none set.
| Prop | Type | Default | Description |
|---|---|---|---|
| marker | string | "A" | The chapter's letter or number, as the contents mark it, 2 characters at most. |
| title | string | "The market" | The chapter's name, 4 words at most. |
| tone | "light" | "dark" | "green" | "pink" | "blue" | "purple" | "grey" | "dark" | The slide's colour: light (paper), dark (Cüte ink), or one of the pitch's fields: green, pink, blue, purple or grey. |
import { slideBySlug } from "@repo/ui-web/components/slides/registry";const chapter = slideBySlug("chapter");// Every field is optional: what's left out falls back to its default.chapter?.render( { marker: "A", title: "The market", tone: "dark", }, { deck: { client: "Client", title: "Deck title" }, page: 9 });