Image
A story beside its photo: the title with a phrase in the accent and two columns of text on the left half, the photo filling the right half, with an optional sticker on its corner.
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 |
|---|---|---|---|
| badge | string | "" | A word or two in a round sticker on the photo's top corner, like Top rated. Leave empty for none. |
| columns | string[] | 2 items | One or two columns of text under the title, each a few short paragraphs split by a blank line, 55 words a column at most. |
| image | { alt, src } | SAMPLE_IMAGES.rail | A photo that fills the right half edge to edge, with alt text that describes it. |
| title | string | "Closing the gap: resale that **feels like a sho…" | The title on the left, 12 words at most. Wrap the words to set in the accent in **double asterisks**. |
| 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 splitPhoto = slideBySlug("split-photo");// Every field is optional: what's left out falls back to its default.splitPhoto?.render( { badge: "", columns: [ "Classifieds made posting easy and left the rest to the people trading: the haggling, the payment, the meetup and the parcel.\n\nThe marketplaces that grew took that work on themselves.", "On Cüte the sale happens in the app: the offer, the payment held until delivery, the label and the tracking.\n\nA buyer trusts the sale, not the stranger.", ], image: SAMPLE_IMAGES.rail, title: "Closing the gap: resale that **feels like a shop**", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 24 });