Structure
A score in rows: the title, the total set large under a pill, and three to seven rows each with its label over a bar in the accent out of 10 and the score at its end.
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 |
|---|---|---|---|
| chip | string | "Total score" | The pill over the total, 2 words at most. |
| rows | { label, value }[] | 7 items | Three to seven scores out of 10, each a row with its label over a bar in the accent and the score at the row's end. |
| rows[].label | string | — | What the row scores, 5 words at most. |
| rows[].value | number | — | The score, from 0 to 10. |
| title | string | "Trust features" | The title, 3 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 scoreList = slideBySlug("score-list");// Every field is optional: what's left out falls back to its default.scoreList?.render( { chip: "Total score", rows: [ { label: "Listing from a photo", value: 9.5, }, { label: "Reviews from real sales", value: 8, }, { label: "Payments held until delivery", value: 9, }, { label: "Meetups paid in the app", value: 7.5, }, { label: "Labels and tracking", value: 8.5, }, { label: "Help from a person", value: 7, }, { label: "Payouts to the seller", value: 8, }, ], title: "Trust features", total: "8.2", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 47 });