Structure
Shares as blocks of colour: a title and a sentence on the left, and two or three figures standing up from the bottom edge, largest first, each in front of the last, with the sources in small print.
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 |
|---|---|---|---|
| blocks | { color, label, unit, value }[] | 3 items | Two or three figures, largest first, as blocks of colour rising from the bottom edge, each overlapping the one before. |
| blocks[].color | "green" | "pink" | "blue" | "purple" | — | The block's colour field. |
| blocks[].label | string | — | What the figure is a share of, 4 words at most. |
| blocks[].unit | string | "%" | The unit, set small after the figure, like %. |
| blocks[].value | string | — | The figure, 3 characters at most, like 40. |
| body | string | "Fashion, home, and electronics lead Brazil's ci…" | What the figures add up to, a sentence of 25 words at most beside them. Wrap a phrase in **double asterisks** to set it bolder. |
| sources | string | "Sources: CNI 2024; Mordor Intelligence 2024; Re…" | Where the figures come from, in small print at the foot. Leave empty for none. |
| title | string | "Brazil's circular drivers" | The slide's title, 5 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 statBlocks = slideBySlug("stat-blocks");// Every field is optional: what's left out falls back to its default.statBlocks?.render( { blocks: [ { color: "blue", label: "Fashion & Apparel", unit: "%", value: "40", }, { color: "pink", label: "Home & furniture", unit: "%", value: "33", }, { color: "green", label: "Electronics & Appliances", unit: "%", value: "19", }, ], body: "Fashion, home, and electronics lead Brazil's circular economy, accounting for more than 90% of consumer reuse and resale.", sources: "Sources: CNI 2024; Mordor Intelligence 2024; Research & Markets 2024; UNEP LAC 2023", title: "Brazil's circular drivers", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 33 });