Results
Cost lines as shares of net revenue, period by period: stacked bars with each layer's share inside and the total over it, the years after a dotted rule, and a legend.
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 |
|---|---|---|---|
| annual | { label, total, values }[] | 3 items | Up to three years after a dotted rule, the oldest first. Empty for none. |
| annual[].label | string | — | The period under the bar, like 3Q26 or 2025. |
| annual[].total | string | — | The whole stack as shown over it, like 11.6% or n.m. |
| annual[].values | number[] | — | Each series' share in percentage points, in the series' order. Empty draws no bar, for a period whose base is nothing. |
| chart | { title, unit } | { … } | The chart's name and unit, over it. |
| chart.title | string | "Cost of services" | What the chart shows, 3 words at most. |
| chart.unit | string | "% of net revenue" | The unit its values are in, like € thousand or % of net revenue. |
| note | string | "Each line's cost in the period over its net rev…" | A footnote under the chart: the basis of a comparison, or a conversion, 30 words at most. Leave empty for none. |
| periods | { label, total, values }[] | 3 items | The periods compared, the oldest first: the same period last year, the previous one and this one. |
| periods[].label | string | — | The period under the bar, like 3Q26 or 2025. |
| periods[].total | string | — | The whole stack as shown over it, like 11.6% or n.m. |
| periods[].values | number[] | — | Each series' share in percentage points, in the series' order. Empty draws no bar, for a period whose base is nothing. |
| series | string[] | 4 items | What each layer is, bottom to top, 3 words at most each: the accent, the ink, the wave, then two tints of the ink. |
| title | string | "Each sale costs less to serve as volume grows" | The thesis: what the chart proves, in one sentence of 12 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 shareBars = slideBySlug("share-bars");// Every field is optional: what's left out falls back to its default.shareBars?.render( { annual: [ { label: "2024", total: "n.m.", values: [], }, { label: "2025", total: "14.1%", values: [ 9.4, 2.8, 1.9, 0, ], }, { label: "2026 to date", total: "12.0%", values: [ 8.6, 2.3, 0.8, 0.3, ], }, ], chart: { title: "Cost of services", unit: "% of net revenue", }, note: "Each line's cost in the period over its net revenue, BRL converted to EUR at the ECB's monthly average rates.", periods: [ { label: "3Q25", total: "14.6%", values: [ 9.6, 3.1, 1.9, 0, ], }, { label: "2Q26", total: "12.4%", values: [ 8.8, 2.5, 0.9, 0.2, ], }, { label: "3Q26", total: "11.6%", values: [ 8.4, 2.2, 0.6, 0.4, ], }, ], series: [ "Transaction fees", "Shipping we bore", "Compensations", "Chargebacks", ], title: "Each sale costs less to serve as volume grows", tone: "light", }, { deck: { client: "Client", title: "Deck title" }, page: 52 });