Structure
A market at a glance: two to six figures three to a row under a title, each large in the accent over what it measures and its source.
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 |
|---|---|---|---|
| stats | { label, source, value }[] | 3 items | Two to six figures, three to a row, each with what it measures and its source: a market at a glance. |
| stats[].label | string | — | What the figure measures, one sentence of 12 words at most. |
| stats[].source | string | "" | Where the figure comes from, like Source: IBGE 2024. Leave empty for none. |
| stats[].value | string | — | The figure, 7 characters at most: 82%, 12.4%, 5B+ PIX. |
| title | string | "Brazil at a glance" | 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 statGrid = slideBySlug("stat-grid");// Every field is optional: what's left out falls back to its default.statGrid?.render( { stats: [ { label: "Brazil has one of the highest smartphone penetrations in LATAM.", source: "Source: IBGE, DataReportal 2024", value: "82%", }, { label: "Annual growth rate of Brazil's circular economy.", source: "Source: Mordor Intelligence 2024; Research & Markets 2024", value: "12.4%", }, { label: "of Brazilians have bought or sold second-hand items.", source: "Source: OLX Research 2023; Statista 2024", value: "70%", }, ], title: "Brazil at a glance", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 32 });