Statements
A statement scattered across the slide: a few short lines in heavy capitals, each at the start, centre or end, one in the accent, under a paragraph that sets them up.
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 |
|---|---|---|---|
| lead | string | "People have plenty to sell and plenty they woul…" | A short paragraph in the top corner that sets the statement up, 25 words at most. Leave empty for none. |
| lines | { accent, align, text }[] | 5 items | Two to five short lines in heavy capitals, read top to bottom, each set at the start, the centre or the end of the slide, one of them in the accent. |
| lines[].accent | boolean | false | Whether the line is set in the accent. |
| lines[].align | "start" | "center" | "end" | "start" | Where the line sits across the slide. |
| lines[].text | string | — | The line, 2 words at most. |
| tone | "light" | "dark" | "green" | "pink" | "blue" | "purple" | "grey" | "light" | 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 scatter = slideBySlug("scatter");// Every field is optional: what's left out falls back to its default.scatter?.render( { lead: "People have plenty to sell and plenty they would buy used. What stands between them is a stranger.", lines: [ { accent: false, align: "end", text: "This is", }, { accent: false, align: "center", text: "the", }, { accent: true, align: "end", text: "trust gap", }, { accent: false, align: "start", text: "in", }, { accent: false, align: "end", text: "resale", }, ], tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 11 });