Closers
The deck's last slide: a big closing line in heavy capitals with how to reach us, alone in the middle or beside a photo.
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 |
|---|---|---|---|
| string | "" | An email address to reach us, shown under the line. Leave empty for none. | |
| image | { alt, src } | SAMPLE_IMAGES.flatLay | A photo that fills the right half edge to edge, shown only when layout is image, with alt text that describes it. |
| layout | "centered" | "image" | "centered" | centered sets the line alone in the middle; image sets it on the left with a photo filling the right half. |
| message | string | "Thank you" | The closing line, 4 words at most. |
| tone | "light" | "dark" | "green" | "pink" | "blue" | "purple" | "grey" | "green" | The slide's colour: light (paper), dark (Cüte ink), or one of the pitch's fields: green, pink, blue, purple or grey. |
| website | string | "Cüte.com" | A website address without https://, shown under the line. Leave empty for none. |
import { slideBySlug } from "@repo/ui-web/components/slides/registry";import { SAMPLE_IMAGES } from "@repo/ui-web/components/slides/samples";const closing = slideBySlug("closing");// Every field is optional: what's left out falls back to its default.closing?.render( { email: "", image: SAMPLE_IMAGES.flatLay, layout: "centered", message: "Thank you", tone: "green", website: "Cüte.com", }, { deck: { client: "Client", title: "Deck title" }, page: 56 });