Structure
A loop: three to five steps as circles of colour around a ring, an arrow between each two and what the loop drives in the middle, with the title and what turns it on the left. A marketplace's flywheel.
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 |
|---|---|---|---|
| body | string | "Listing in seconds brings more items. More item…" | What turns the wheel, beside it, 30 words at most. Leave empty for none. |
| hub | string | "More trust,\nmore trades" | What the loop drives, set in the middle of the wheel, 5 words at most. Break a line with a new line (\n). |
| steps | { color, title }[] | 4 items | Three to five steps around the wheel, clockwise from the top, each leading to the next and the last back to the first. |
| steps[].color | "green" | "pink" | "blue" | "purple" | — | The step's colour field. |
| steps[].title | string | — | The step, 3 words at most. |
| title | string | "Every sale **feeds the next**" | The slide's title, 6 words at most. Wrap the words that matter in **double asterisks** to set the wavy underline under them. |
| 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 flywheel = slideBySlug("flywheel");// Every field is optional: what's left out falls back to its default.flywheel?.render( { body: "Listing in seconds brings more items. More items bring more buyers. Every protected, reviewed sale turns a buyer into a seller.", hub: "More trust,\nmore trades", steps: [ { color: "green", title: "Listing in seconds", }, { color: "pink", title: "More to choose", }, { color: "blue", title: "More buyers", }, { color: "purple", title: "Buyers become sellers", }, ], title: "Every sale **feeds the next**", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 37 });