Structure
A score and what makes it: the title, the total set large under a pill, and three to nine bars out of 10 rising from the foot of the slide, edge to edge, in steps of the accent.
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 |
|---|---|---|---|
| bars | { label, value }[] | 7 items | Three to nine scores out of 10, in order, each a bar from the foot of the slide, edge to edge, in steps of the accent from light to strong. |
| bars[].label | string | — | What the bar scores, 2 words at most. |
| bars[].value | number | — | The score, from 0 to 10. |
| chip | string | "Total score" | The pill over the total, 2 words at most. |
| note | string | "Out of 10, from our own review of the app." | A line under the title, like where the scores come from, 12 words at most. Leave empty for none. |
| title | string | "How Cüte scores" | The title, 4 words at most. |
| total | string | "8.2" | The overall score, set large in the top right, 4 characters 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 scoreBars = slideBySlug("score-bars");// Every field is optional: what's left out falls back to its default.scoreBars?.render( { bars: [ { label: "Listing", value: 9.5, }, { label: "Trust", value: 8, }, { label: "Paying", value: 9, }, { label: "Meetups", value: 7.5, }, { label: "Shipping", value: 8.5, }, { label: "Help", value: 7, }, { label: "Payouts", value: 8, }, ], chip: "Total score", note: "Out of 10, from our own review of the app.", title: "How Cüte scores", total: "8.2", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 46 });