Text
What was learned: the title over the top rows and two to four learnings side by side between hairlines, each its name over a few short paragraphs.
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 | { text, title }[] | 4 items | Two to four learnings side by side between hairlines, each its name over a few short paragraphs. |
| items[].text | string | — | What was learned, a few short paragraphs split by a blank line, 60 words at most. |
| items[].title | string | — | The learning's name, 5 words at most. |
| title | string | "Key learnings" | The slide's title, 4 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 learnings = slideBySlug("learnings");// Every field is optional: what's left out falls back to its default.learnings?.render( { items: [ { text: "Every marketplace that grew put the payment between the buyer and the seller, and released it only once the item arrived.\n\nThe classifieds that didn't are where scams still happen.", title: "Pay through the platform", }, { text: "Listing is where most sellers give up. A photo that fills in the title, the category and the condition takes it from minutes to seconds.", title: "Listing in seconds", }, { text: "Reviews from real sales count for more than a profile photo. Buyers read them before the price.", title: "Reviews that mean it", }, { text: "A label and tracking in the app turn shipping from a chore into one more step of the sale.", title: "Shipping built in", }, ], title: "Key learnings", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 21 });