Statements
A chapter's turn: its name as a title in the top corner and one statement in the pitch's heavy capitals, along the bottom or right under it. Problem, Insight, or a slide that is only the statement.
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 |
|---|---|---|---|
| align | "bottom" | "top" | "bottom" | bottom sits the statement on the bottom margin, under the label; top sets it right under the label, or in the top corner with no label. |
| label | string | "Problem" | The chapter the statement opens, set as a title in the top corner, 3 words at most. Leave empty for none. |
| size | "large" | "medium" | "large" | large sets the capitals at 208, about 14 letters a line; medium at 168, about 17. |
| statement | string | "Why people\navoid buying &\nselling used?" | The statement, in the pitch's heavy capitals, 8 words at most. Break the lines where they should break with a new line (\n). |
| tone | "light" | "dark" | "green" | "pink" | "blue" | "purple" | "grey" | "green" | 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 poster = slideBySlug("poster");// Every field is optional: what's left out falls back to its default.poster?.render( { align: "bottom", label: "Problem", size: "large", statement: "Why people\navoid buying &\nselling used?", tone: "green", }, { deck: { client: "Client", title: "Deck title" }, page: 5 });