Image
One thing in the spotlight: a pill naming it over the title, a paragraph and a few points in the first three columns, and a photo filling the rest of the slide.
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 |
|---|---|---|---|
| chip | string | "Protected payments" | What the spotlight is on, in a solid pill over the title, 3 words at most. Leave empty for none. |
| image | { alt, src } | SAMPLE_IMAGES.checkout | A photo filling the right of the slide, from the fourth column to the edge, with alt text that describes it. |
| points | string[] | 3 items | Up to four short points under the text, 14 words each at most. |
| text | string | "A sale between strangers works when neither of…" | A paragraph under the title, 35 words at most. |
| title | string | "Paid only when it arrives" | The title, 8 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";import { SAMPLE_IMAGES } from "@repo/ui-web/components/slides/samples";const spotlight = slideBySlug("spotlight");// Every field is optional: what's left out falls back to its default.spotlight?.render( { chip: "Protected payments", image: SAMPLE_IMAGES.checkout, points: [ "The buyer pays in the app, by PIX, card or wallet.", "The money waits until the item arrives as described.", "The seller is paid two days after delivery if nothing is reported.", ], text: "A sale between strangers works when neither of them has to trust the other first. Cüte holds the payment, so both can trust the sale.", title: "Paid only when it arrives", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 27 });