Openers
The contents: a row for each chapter, its letter or number, its name and what it holds, between hairlines, across the slide or beside a dark half carrying the title.
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 |
|---|---|---|---|
| items | { detail, title }[] | 6 items | Two to seven chapters, in order, each a row across the slide with its marker, its name and a detail. |
| items[].detail | string | — | What the chapter holds, set small at the row's end, 6 words at most; or the page it starts on, like 12. |
| items[].title | string | — | The chapter's name, 4 words at most. |
| layout | "full" | "split" | "full" | full runs the rows across the slide, as Hanzo's index does; split sets them on the right half beside a dark one carrying the title, as R/GA's contents page does. |
| markers | "letters" | "numbers" | "letters" | letters marks the chapters A, B, C, as Hanzo does; numbers marks them 1, 2, 3. |
| title | string | "Contents" | The page's name, shown only in the split layout's dark half, 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 contents = slideBySlug("contents");// Every field is optional: what's left out falls back to its default.contents?.render( { items: [ { detail: "Who buys, who sells, and why", title: "The market", }, { detail: "What holds a sale back", title: "Key takeaways", }, { detail: "The classifieds people grew up on", title: "Classifieds", }, { detail: "The apps that built trust in", title: "Marketplaces", }, { detail: "What resale looks like next", title: "The ones to watch", }, { detail: "Sources and method", title: "Appendix", }, ], layout: "full", markers: "letters", title: "Contents", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 4 });