Statements
A numbered chapter that makes a claim: its number in the corner, the claim in heavy capitals along the bottom and a photo in the top right, on a colour field.
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 |
|---|---|---|---|
| image | { alt, src } | SAMPLE_IMAGES.seller | A photo in the top right corner, three columns by three rows, with alt text that describes it. |
| layout | "image" | "plain" | "image" | image sets the photo in the top right corner; plain leaves it out. |
| number | string | "1" | The chapter's number, 2 characters at most. |
| statement | string | "Trust is\nthe **baseline**" | The chapter's claim in heavy capitals along the bottom, 6 words at most. Wrap the words to set in the accent in **double asterisks**, and break lines with a new line (\n). |
| tone | "light" | "dark" | "green" | "pink" | "blue" | "purple" | "grey" | "blue" | 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";import { SAMPLE_IMAGES } from "@repo/ui-web/components/slides/samples";const chapterStatement = slideBySlug("chapter-statement");// Every field is optional: what's left out falls back to its default.chapterStatement?.render( { image: SAMPLE_IMAGES.seller, layout: "image", number: "1", statement: "Trust is\nthe **baseline**", tone: "blue", }, { deck: { client: "Client", title: "Deck title" }, page: 10 });