Compositions
Build one scene out of many small components: put each where you want it, give it a value, a size and a moment to come in, and tie them together with connectors. 58 kinds of component, one board, every aspect ratio.
A compose scene is a board and a list of components. Each component says what it is (type), what it shows (its own fields: a value, a label, rows), where it sits, how big it is and when it comes in. Groups, panels, windows and phones hold other components, so any layout can be built by nesting. The narration drives the timing: lines are the spoken passages, and a component appears when the line it is tied to starts. Everything is data, so a person or an AI can write it.
{
"kind": "compose",
"heading": "One board, many parts",
"components": [
{
"type": "glow",
"tone": "violet",
"x": 18,
"y": 30,
"w": 40,
"h": 70
},
{
"type": "group",
"direction": "row",
"gap": 2.4,
"children": [
{
"type": "card",
"icon": "bolt",
"title": "Fast",
"text": "Starts in seconds."
},
{
"type": "card",
"icon": "shield",
"title": "Safe",
"text": "Private by design.",
"tone": "emerald"
},
{
"type": "card",
"icon": "sparkles",
"title": "Simple",
"text": "One short file.",
"tone": "amber"
}
]
},
{
"type": "badge",
"text": "New",
"icon": "✨",
"tone": "amber",
"solid": true,
"x": 50,
"y": 90,
"at": "line3"
}
],
"lines": [
{
"say": "Every part is a small component with a place and a moment."
},
{
"say": "Put them in a row, a column or a grid."
},
{
"say": "And bring each one in exactly when you talk about it."
}
]
}
The demos have a shelf of compositions to open in the editor: a dashboard, an architecture diagram, an app tour for a phone, a training plan, a party and a weekly report. The scene itself is listed in the scene reference.
The board and its units
Sizes are written in units: one unit is one percent of the width of a landscape video. A component keeps its proportions in every shape of frame, because the board and everything on it are measured in the same unit. Square and tall videos have a board with fewer units than a landscape one, so text stays easy to read on a phone:
| aspect | Layout | Board (units), about |
|---|---|---|
16:9 | Landscape | 94 × 39 |
4:3 | Landscape | 81 × 48 |
1:1 | Phone | 60 × 47 |
4:5 | Phone | 46 × 46 |
3:4 | Phone | 46 × 51 |
9:16 | Phone | 39 × 61 |
The sizes are those of a scene with a heading; without one the board is a few units taller. Plan for the shape the video will have: a row of four cards fits a landscape board and is too wide for a phone, where flow wraps it into two rows and shrinks it to fit.
Placing components
A component with an x or a y sits at a place on the board: both are percent of the board, from the top left corner, and the place is the component's centre unless anchor says which point of the component sits there (center, top, bottom, left, right, top-left, top-right, bottom-left, bottom-right). A component with neither is not placed: the flow of what holds it places it, and the board lines such components up in a column in the middle.
[
{
"type": "card",
"icon": "🧭",
"title": "Plan",
"text": "Decide what to say.",
"x": 25,
"y": 45,
"w": 24
},
{
"type": "badge",
"text": "New",
"icon": "✨",
"solid": true,
"tone": "amber",
"x": 96,
"y": 6,
"anchor": "top-right"
}
]
wandhare units, or a percentage of what holds the component ("50%"). Every component has a width of its own to start from, and a height that follows its content.scalemakes the whole component, text included, bigger or smaller;rotateturns it;opacitymakes it see-through.- Components are drawn in the order of the list, so a later one is in front.
zoverrides that. Backdrops (pattern,glowandshape) sit behind everything and connectors between the backdrops and the rest. - A
glowor ashapeon the board is placed in the middle unless it has anxand ay; apattern,sparklesorconfettifills the board unless it has a size. - What has an
xand ayis never shrunk, so keep it inside the board. A component may be put off the board (up to 300% away), to slide in from the edge.
Layouts with groups
A group is an invisible container: it lays out its children as a row, a column, a grid or a stack, and moves, scales and fades them together. panel, window and phone are containers with a look of their own. Containers can hold containers, down to 4 levels, with up to 24 children each. The board itself takes the same fields, in the scene's flow, for the components that are not placed.
| direction | How the children lie |
|---|---|
row | Side by side. When the row is full the rest wraps on to a new line (set wrap to false to keep one line). |
column | One under the other. |
grid | In columns columns (2 unless you say). |
stack | On top of each other, all in the same place: for layers, such as a picture with a badge on it. |
| Field | Type | What it does |
|---|---|---|
| direction | enum |
|
| gap | number | Space between the children, in units. Limits: 0–20 |
| align | enum | How the children line up across the direction of the flow. Default
|
| justify | enum | How the children are spread along the direction of the flow. Default
|
| columns | integer | Columns of a Limits: 1–8 |
| wrap | boolean |
|
[
{
"type": "group",
"direction": "column",
"gap": 2,
"children": [
{
"type": "title",
"text": "Three steps",
"size": 4
},
{
"type": "group",
"direction": "row",
"gap": 2,
"children": [
{
"type": "card",
"icon": "✏️",
"title": "Write",
"text": "Say it in a few lines."
},
{
"type": "card",
"icon": "👀",
"title": "Preview",
"text": "See it play at once.",
"tone": "sky"
},
{
"type": "card",
"icon": "🚀",
"title": "Publish",
"text": "Share it anywhere.",
"tone": "emerald"
}
]
}
]
}
]
- A group is only as wide as its content, unless it has a
w("100%"spans what holds it). Usespaceranddividerfor room and rules between children. - What flows is shrunk to fit the board, down to about a third, so a column that is too tall still shows. A width in percent cannot shrink with it: give the parts of a crowded flow widths in units.
Timing and movement
at says when a component comes in. It is a number of seconds from the start of the scene, or a narration moment: line1 is when the first entry of lines starts to be spoken, line2 the second, and so on. Tying components to lines keeps the picture in step with the voice, whatever the speed of the narrator. The same moments work for exitAt, a button's press, a toggle's flipAt and the stops of a pointer.
{
"kind": "compose",
"heading": "Timing",
"components": [
{
"type": "title",
"text": "Launch week",
"size": 5,
"enter": "rise"
},
{
"type": "chart",
"series": [
{
"name": "Visitors",
"values": [
12,
18,
15,
26,
31,
38
],
"tone": "sky"
}
],
"labels": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat"
],
"area": true,
"w": 50,
"h": 14,
"at": "line2",
"enter": "wipe",
"build": 2.5
},
{
"type": "stamp",
"text": "Record!",
"tone": "emerald",
"size": 3,
"at": "line3",
"exit": "shrink",
"exitAt": "line4"
}
],
"lines": [
{
"say": "A composition starts with whatever you put first."
},
{
"say": "The chart arrives when the second line starts."
},
{
"say": "The stamp slams on with the third."
},
{
"say": "And leaves with the fourth."
}
]
}
- Without
at, components on the board come in one after another: the first 0.3 seconds in, the next 0.25 seconds after it. What is inside a container comes in 0.25 seconds after the container, each child 0.18 seconds after the one before. A connector comes in 0.35 seconds after the last component it points at. - The inside of a component builds itself as it comes in: bars grow, numbers count up, lists appear row by row, text types out.
buildsets how many seconds that takes. delayadds a wait beforeenter,durationsets how longenterandexittake, andloopgives a movement that repeats while the component is on screen. A component withexitleaves atexitAt.- Nothing uses a browser transition: every frame is a function of the time, so the video plays, scrubs and exports the same way.
enter
| enter | What it does |
|---|---|
fade | Fades in. The default. |
rise | Floats up a little while fading in. |
drop | Falls from above and bounces once. |
slide-left | Slides in from the left. |
slide-right | Slides in from the right. |
pop | Grows from a little smaller, with a small overshoot. |
zoom | Shrinks into place from a larger size. |
spin | Turns half a circle while it grows. |
flip | Tips up from edge-on, like a flap turning over. |
blur | Comes into focus. |
wipe | Is uncovered from left to right, like a curtain drawn back. |
grow | Grows from nothing in its own middle, with a small overshoot. |
draw | A link, highlight or divider draws its own line; everything else is uncovered like wipe. |
none | Is there at once, with no movement. |
loop
| loop | What it does |
|---|---|
float | Drifts up and down, slowly. |
pulse | Swells and shrinks, like a heartbeat. |
spin | Turns round and round. |
sway | Rocks from side to side, hanging from its top. |
bounce | Hops up and down. |
blink | Fades down and up. |
wiggle | Shakes a little. |
breathe | Swells and shrinks, very slowly. |
exit
| exit | What it does |
|---|---|
fade | Fades out. The default. |
shrink | Shrinks to half while it fades. |
slide-left | Slides out to the left. |
slide-right | Slides out to the right. |
slide-up | Floats up and away. |
slide-down | Sinks down and away. |
blur | Goes out of focus. |
zoom | Swells while it fades. |
Connectors and pointers
Give components an id (unique in the scene), and three kinds of component can point at them. A link joins two components (from and to) with a line that draws itself; a highlight draws a frame, a circle, an underline or a bracket around its target; a pointer glides from one stop of its path to the next and clicks. They are measured from the drawn components, so they follow them when they move, or when the frame changes shape.
- An end can name a side,
api.right(top,right,bottom,leftorcenter). Without a side the line joins the sides that face each other. It can also be a point of the board,[x, y]in percent. - A
labelon a link sits in the middle of the line, with the line cut away behind it so it stays easy to read.flowmakes dashes run along the line, andshapeiscurve(the default),straightorelbow.
A diagram with connectors
Give the nodes an id, then join them with links and point at one with a highlight. The connectors draw themselves just after what they join, and follow it if it moves.
{
"kind": "compose",
"heading": "How a request travels",
"components": [
{
"type": "node",
"id": "app",
"label": "App",
"icon": "📱",
"x": 14,
"y": 55,
"tone": "sky"
},
{
"type": "node",
"id": "api",
"label": "API",
"icon": "⚡",
"x": 50,
"y": 55,
"tone": "violet"
},
{
"type": "node",
"id": "db",
"label": "Database",
"icon": "🗄️",
"x": 86,
"y": 55,
"tone": "emerald"
},
{
"type": "link",
"from": "app",
"to": "api",
"label": "request",
"at": "line1"
},
{
"type": "link",
"from": "api",
"to": "db",
"label": "query",
"flow": true,
"at": "line2"
},
{
"type": "highlight",
"target": "db",
"style": "ellipse",
"tone": "amber",
"at": "line3"
}
],
"lines": [
{
"say": "The app sends a request to the API."
},
{
"say": "The API asks the database."
},
{
"say": "That is where your data lives."
}
]
}
Square and tall videos
Everything that flows adapts by itself: a row wraps when it is full and the flow shrinks to fit. A component placed with x and y keeps that place, so a layout made for a wide board may need help on a phone. Every component takes a phone block with overrides for square and tall frames (1:1, 4:5, 3:4 and 9:16): any of x, y, w, h, anchor, scale, rotate or hide, and for a container its flow too (direction, columns, gap). only shows a component on wide or on phone frames only.
[
{
"type": "card",
"icon": "⚡",
"title": "Fast",
"text": "Starts in seconds.",
"x": 25,
"y": 50,
"w": 28,
"phone": {
"x": 50,
"y": 28,
"w": 40
}
},
{
"type": "card",
"icon": "🛡️",
"title": "Safe",
"text": "Private by design.",
"tone": "emerald",
"x": 75,
"y": 50,
"w": 28,
"phone": {
"x": 50,
"y": 72,
"w": 40
}
},
{
"type": "badge",
"text": "Wide frames only",
"only": "wide",
"x": 50,
"y": 94
}
]
A video made for a phone can also be written for that board alone: the demos' habit tracker, training plan and party are laid out in the units of their own shape and need no overrides. A phone block with x or y on a component that has none is reported, because the flow of its container places it.
Components
58 kinds of component in 9 groups. Every one also takes the fields they all share. Each entry shows the smallest useful component of its kind, then its own fields.
Layout
Hold other components and decide where they go.
spacer
Empty room inside a flow: give it a w or an h, or let it grow to take what is left.
{"type":"spacer","w":4,"h":4}
| Field | Type | What it does |
|---|---|---|
| grow | boolean | Takes all the space that is left in the row or column. |
divider
A line that draws itself across, with a small label in the middle if you like.
{"type":"divider","label":"or","w":"60%"}
| Field | Type | What it does |
|---|---|---|
| label | string | A word in the middle of the line. Limits: 1–24 characters |
| vertical | boolean | Run down instead of across. |
| dashed | boolean | A dashed line. |
| tone | enum | Accent colour, one of the colours of the theme (
|
group
An invisible container that lays its children out as a row, a column, a grid or a stack, and moves, scales and fades them together. Nest groups to build any layout. It holds components in children, laid out by the flow fields.
{"type":"group","direction":"row","gap":2,"children":[{"type":"badge","text":"One"},{"type":"badge","text":"Two"}]}
Nothing but the fields every component has.
Text
Words in every size and style.
title
A big headline. Supports emphasis; gradient paints it in the colours of the theme.
{"type":"title","text":"Ship **faster**","x":50,"y":18,"gradient":true}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The headline. Limits: 1–100 characters |
| size | number | Text size in units. Default 4.4. Limits: 0.8–20 |
| align | enum | How lines of text line up. Default
|
| weight | integer | Boldness, 300 to 900. Default 800. Limits: 300–900 |
| gradient | boolean | Paint the text in a gradient of the accent colours. |
| tone | enum | Accent colour, one of the colours of the theme (
|
text
A line or a paragraph of text. Supports emphasis and code.
{"type":"text","text":"One board, any number of parts.","x":50,"y":30,"muted":true}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The words. Limits: 1–280 characters |
| size | number | Text size in units. Default 2.2. Limits: 0.8–20 |
| align | enum | How lines of text line up. Default
|
| weight | integer | Boldness, 300 to 900. Default 500. Limits: 300–900 |
| muted | boolean | Softer, as a caption would be. |
| italic | boolean | Slanted letters. |
| tone | enum | Accent colour, one of the colours of the theme (
|
badge
A small pill with a label and an optional icon, for a status, a tag or a price.
{"type":"badge","text":"New","icon":"✨","tone":"amber","solid":true}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The label. Limits: 1–24 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| solid | boolean | A filled pill instead of an outlined one. |
| size | number | Text size in units. Default 1.8. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
quote
A quotation with a big quotation mark and an optional author.
{"type":"quote","text":"Make it simple, then make it beautiful.","by":"A designer","tone":"violet"}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | What was said. Limits: 1–220 characters |
| by | string | Who said it. Limits: 1–48 characters |
| size | number | Text size in units. Default 2.4. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
typed
Text that types itself out, letter by letter, with a blinking caret.
{"type":"typed","text":"Hello, world.","mono":true,"tone":"emerald"}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | What is typed. Limits: 1–160 characters |
| size | number | Text size in units. Default 2.6. Limits: 0.8–20 |
| mono | boolean | Typewriter letters (monospace). |
| caret | boolean |
|
| tone | enum | Accent colour, one of the colours of the theme (
|
keys
Keyboard keys pressed one after another, like ⌘ + K.
{"type":"keys","keys":["⌘","K"],"tone":"sky"}
| Field | Type | What it does |
|---|---|---|
| keysrequired | string[] | The keys, in the order they are pressed. Limits: 1–5 items, each 1–8 characters |
| size | number | Text size in units. Default 2.4. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
code
A block of code whose lines appear one by one. highlight marks lines.
{"type":"code","title":"app.ts","lines":["const video = compose(scene);","video.play();"],"highlight":[2]}
| Field | Type | What it does |
|---|---|---|
| linesrequired | string[] | The lines of code, as plain text. Limits: 1–12 items, each up to 80 characters |
| title | string | A file name shown in the top bar. Limits: 1–32 characters |
| highlight | integer[] | Numbers of the lines to mark, counting from 1. Limits: up to 12 items, each 1–12 |
| numbers | boolean | Show line numbers. |
| size | number | Text size in units. Default 1.7. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
Cards & frames
Surfaces that hold a message, or other components.
card
A glass card with an icon, a title and a line of text. The workhorse of most compositions.
{"type":"card","title":"Plan","text":"Decide what to say.","icon":"🧭","tone":"violet"}
| Field | Type | What it does |
|---|---|---|
| title | string | The heading of the card. Limits: 1–48 characters |
| text | string | A line or two of text. Limits: 1–150 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| badge | string | A small label in the corner. Limits: 1–16 characters |
| align | enum |
|
| tone | enum | Accent colour, one of the colours of the theme (
|
bubble
A chat bubble with a tail. Put two with different sides for a conversation.
{"type":"bubble","text":"Is the video ready?","from":"Sam","side":"left"}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The message. Limits: 1–150 characters |
| from | string | The name of who says it, above the bubble. Limits: 1–24 characters |
| side | enum | Which side the tail points to. Default
|
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
callout
A note with an icon that stands out: a tip, a warning, a fact. rose warns, emerald confirms.
{"type":"callout","title":"Tip","text":"Start with the question.","icon":"💡","tone":"amber"}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The note. Limits: 1–180 characters |
| title | string | A short heading. Limits: 1–40 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
note
A sticky note, a little crooked, for a brainstorm or a whiteboard.
{"type":"note","text":"Ask why five times","tone":"amber","tape":true,"rotate":-4}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | What is written on it. Limits: 1–120 characters |
| tape | boolean | A strip of tape on top. |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
stamp
A rubber stamp that slams on, crooked, like APPROVED or PAID.
{"type":"stamp","text":"Approved","tone":"emerald","rotate":-10}
| Field | Type | What it does |
|---|---|---|
| textrequired | string | The word on the stamp. Limits: 1–16 characters |
| size | number | Text size in units. Default 3.6. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
panel
A titled panel that holds other components in its children. It holds components in children, laid out by the flow fields.
{"type":"panel","title":"Today","icon":"📌","children":[{"type":"badge","text":"Live"}]}
| Field | Type | What it does |
|---|---|---|
| title | string | The heading of the panel. Limits: 1–48 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
window
A window with a title bar (a Mac window, a browser with an address bar, or a terminal) that holds other components in its children. It holds components in children, laid out by the flow fields.
{"type":"window","look":"browser","url":"videobana.com","children":[{"type":"text","text":"Hello"}]}
| Field | Type | What it does |
|---|---|---|
| title | string | The title in the bar. For a Limits: 1–40 characters |
| url | string | The address in the bar of a Limits: 1–60 characters |
| look | enum |
|
| tone | enum | Accent colour, one of the colours of the theme (
|
phone
A phone with a screen that holds other components in its children. Give it a w and an h (about 20 by 40). It holds components in children, laid out by the flow fields.
{"type":"phone","w":20,"h":40,"children":[{"type":"badge","text":"Inbox"}]}
| Field | Type | What it does |
|---|---|---|
| dark | boolean | A dark screen. |
| notch | boolean |
|
| tone | enum | Accent colour, one of the colours of the theme (
|
Lists & tables
Several entries that come in one after another.
bullets
A list of points that come in one after another, each with a marker.
{"type":"bullets","items":["Fast","Flexible","Beautiful"],"marker":"check","tone":"emerald"}
| Field | Type | What it does |
|---|---|---|
| itemsrequired | string[] | The points. Each supports emphasis. Limits: 1–12 items, each 1–80 characters |
| marker | enum |
|
| size | number | Text size in units. Default 2.2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
steps
Numbered steps joined by a line, the first to the last. Lays out as a row or as a column.
{"type":"steps","items":["Write","Preview","Publish"],"direction":"row"}
| Field | Type | What it does |
|---|---|---|
| itemsrequired | string[] | What happens in each step. Limits: 2–8 items, each 1–80 characters |
| direction | enum |
|
| size | number | Text size in units. Default 1.9. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
timeline
Dated events along a line, each with a title and an optional line of text.
{"type":"timeline","events":[{"when":"2024","title":"Idea"},{"when":"2025","title":"Launch"}]}
| Field | Type | What it does |
|---|---|---|
| eventsrequired | object[] | The events, in order. Limits: 2–8 items |
| └ whenrequired | string | The date or time, written as you want it shown. Limits: 1–16 characters |
| └ titlerequired | string | What happened. Limits: 1–48 characters |
| └ text | string | A line under the title. Limits: 1–100 characters |
| direction | enum |
|
| tone | enum | Accent colour, one of the colours of the theme (
|
table
A table whose rows appear one after another. The first row of rows is the header unless header is false.
{"type":"table","rows":[["Plan","Price"],["Free","$0"],["Pro","$12"]]}
| Field | Type | What it does |
|---|---|---|
| rowsrequired | string[][] | The rows, each a list of cells (the same number in every row). Limits: 2–10 items, each 1–6 items, each up to 32 characters |
| header | boolean | The first row is a header. Default |
| size | number | Text size in units. Default 1.8. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
compare
Two columns side by side, such as before and after or pros and cons.
{"type":"compare","left":{"title":"Before","items":["Slow"],"tone":"rose"},"right":{"title":"After","items":["Fast"],"tone":"emerald"},"marks":true}
| Field | Type | What it does |
|---|---|---|
| leftrequired | object | The left column. |
| └ titlerequired | string | The heading of the column. Limits: 1–32 characters |
| └ itemsrequired | string[] | The points, one to six. Limits: 1–6 items, each 1–80 characters |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| rightrequired | object | The right column. |
| └ titlerequired | string | The heading of the column. Limits: 1–32 characters |
| └ itemsrequired | string[] | The points, one to six. Limits: 1–6 items, each 1–80 characters |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| marks | boolean | Mark the points of the left column with ✕ and those of the right with ✓. |
| size | number | Text size in units. Default 1.9. Limits: 0.8–20 |
checklist
A to-do list whose boxes are ticked one after another.
{"type":"checklist","items":["Script","Voice","Export"],"done":2}
| Field | Type | What it does |
|---|---|---|
| itemsrequired | string[] | The tasks. Limits: 1–12 items, each 1–80 characters |
| done | integer | How many of the first tasks get ticked. Default all of them. Limits: 0–12 |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
tags
A cloud of small pills that pop in, one after another.
{"type":"tags","items":["Design","Motion","Sound"]}
| Field | Type | What it does |
|---|---|---|
| itemsrequired | string[] | The tags. Limits: 1–16 items, each 1–24 characters |
| icon | string | An icon in front of each tag. Limits: 1–16 characters |
| size | number | Text size in units. Default 1.7. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
legend
Small colour swatches with their names, to read a chart by.
{"type":"legend","items":[{"label":"Sales","tone":"violet"},{"label":"Costs","tone":"rose"}]}
| Field | Type | What it does |
|---|---|---|
| itemsrequired | object[] | The entries. Give each a Limits: 1–8 items |
| └ labelrequired | string | The name next to the swatch. Limits: 1–24 characters |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| direction | enum |
|
| size | number | Text size in units. Default 1.6. Limits: 0.8–20 |
Numbers & charts
Values that count up, fill and grow.
counter
A big number that counts up (or down) to its value while it builds.
{"type":"counter","value":12500,"prefix":"$","label":"Monthly revenue","tone":"emerald"}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | The number it ends on. Limits: -1000000000000–1000000000000 |
| from | number | The number it starts from. Default 0. Limits: -1000000000000–1000000000000 |
| decimals | integer | Digits after the decimal point. Default 0 (1 with the Limits: 0–4 |
| format | enum |
|
| prefix | string | Written before the number, such as Limits: up to 4 characters |
| suffix | string | Written after the number, such as Limits: up to 6 characters |
| label | string | A caption under the number. Limits: 1–40 characters |
| size | number | Text size in units. Default 8. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
stat
A figure tile: a number that counts up, a label and, if you like, how much it changed.
{"type":"stat","value":4820,"label":"Visitors","change":12.4,"decimals":0}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | The number. Limits: -1000000000000–1000000000000 |
| labelrequired | string | What it measures. Limits: 1–32 characters |
| change | number | The change in percent: positive shows ▲ in green, negative ▼ in red. Limits: -1000–1000 |
| decimals | integer | Digits after the decimal point. Default 0 (1 with the Limits: 0–4 |
| format | enum |
|
| prefix | string | Written before the number, such as Limits: up to 4 characters |
| suffix | string | Written after the number, such as Limits: up to 6 characters |
| icon | string | An emoji or the name of a line icon. Limits: 1–16 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
progress
A horizontal bar that fills up to a percentage.
{"type":"progress","value":72,"label":"Upload","tone":"sky"}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | How full it gets, 0 to 100. Limits: 0–100 |
| label | string | A caption above the bar. Limits: 1–40 characters |
| showValue | boolean | Write the percentage next to the caption, counting up. Default |
| tone | enum | Accent colour, one of the colours of the theme (
|
ring
A circle that fills up to a percentage, with the number counting in the middle.
{"type":"ring","value":85,"label":"Done","tone":"emerald","w":14}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | How full it gets, 0 to 100. Limits: 0–100 |
| label | string | A caption under the number. Limits: 1–24 characters |
| size | number | Text size of the number, in units. Default 4. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
gauge
A dial whose needle swings to a value between 0 and 100.
{"type":"gauge","value":68,"label":"Speed","w":18}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | Where the needle ends, 0 to 100. Limits: 0–100 |
| label | string | A caption under the dial. Limits: 1–24 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
bars
A bar chart that grows, bar by bar, with the values counting up.
{"type":"bars","data":[{"label":"Q1","value":40},{"label":"Q2","value":65},{"label":"Q3","value":92}],"h":24}
| Field | Type | What it does |
|---|---|---|
| datarequired | object[] | The bars. Limits: 2–8 items |
| └ labelrequired | string | What the value is of. Limits: 1–20 characters |
| └ valuerequired | number | The value. Negative values are not drawn. Limits: 0–1000000000000 |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| direction | enum |
|
| max | number | The value of a full bar. Default: the largest value. Limits: 0–1000000000000 |
| values | boolean | Write the value of each bar. Default |
| decimals | integer | Digits after the decimal point. Default 0 (1 with the Limits: 0–4 |
| format | enum |
|
| prefix | string | Written before the number, such as Limits: up to 4 characters |
| suffix | string | Written after the number, such as Limits: up to 6 characters |
| size | number | Size of the labels, in units. Default 1.7. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
chart
A line chart that draws itself, with one to three series. area fills under the lines.
{"type":"chart","series":[{"name":"Users","values":[4,9,7,15,22],"tone":"violet"}],"labels":["Mon","Tue","Wed","Thu","Fri"],"area":true,"h":22}
| Field | Type | What it does |
|---|---|---|
| seriesrequired | object[] | The lines. Each has its own Limits: 1–3 items |
| └ name | string | Shown in the key under the chart. Limits: 1–24 characters |
| └ valuesrequired | number[] | The points of the line, from left to right. Limits: 2–24 items, each -1000000000000–1000000000000 |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| labels | string[] | What is written under the chart, evenly spread. Fewer labels than values are spread over the width. Limits: up to 24 items, each up to 10 characters |
| area | boolean | Fill under the lines. |
| dots | boolean | A dot at every value. |
| grid | boolean | Faint horizontal lines. Default |
| size | number | Size of the labels, in units. Default 1.5. Limits: 0.8–20 |
donut
A donut chart whose slices sweep round one after another. A label in the middle if you like.
{"type":"donut","data":[{"label":"Rent","value":40},{"label":"Food","value":25},{"label":"Fun","value":15}],"centre":"total","w":16}
| Field | Type | What it does |
|---|---|---|
| datarequired | object[] | The slices. Limits: 2–8 items |
| └ labelrequired | string | What the value is of. Limits: 1–20 characters |
| └ valuerequired | number | The value. Negative values are not drawn. Limits: 0–1000000000000 |
| └ tone | enum | Accent colour, one of the colours of the theme (
|
| centre | string | Written in the middle: a short text, or Limits: 1–16 characters |
| legend | boolean | List the slices beside the donut. |
| decimals | integer | Digits after the decimal point. Default 0 (1 with the Limits: 0–4 |
| format | enum |
|
| prefix | string | Written before the number, such as Limits: up to 4 characters |
| suffix | string | Written after the number, such as Limits: up to 6 characters |
| size | number | Text size in the middle, in units. Default 3. Limits: 0.8–20 |
sparkline
A tiny line with no axes, to show a trend next to a number.
{"type":"sparkline","values":[3,5,4,7,6,9,12],"area":true,"w":14,"h":5}
| Field | Type | What it does |
|---|---|---|
| valuesrequired | number[] | The values, evenly spread from left to right. Limits: 3–24 items, each -1000000000000–1000000000000 |
| area | boolean | Fill under the line. |
| tone | enum | Accent colour, one of the colours of the theme (
|
rating
Stars that light up one after another, up to a score.
{"type":"rating","value":4.5,"tone":"amber"}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | The score. Half stars are drawn for values like 4.5. Limits: 0–10 |
| max | integer | How many stars there are. Default 5. Limits: 1–10 |
| size | number | Size of a star, in units. Default 3. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
Pictures & icons
Photos, people, line icons and vector drawings.
image
A picture (made in the editor, uploaded, or linked), with a frame and an optional caption.
{"type":"image","src":"/api/assets/cover","alt":"The cover","w":24,"h":14,"caption":"Cover art"}
| Field | Type | What it does |
|---|---|---|
| srcrequired | string | Address of the picture: one made or uploaded in the editor ( |
| alt | string | What the picture shows. Limits: 1–150 characters |
| fit | enum |
|
| shape | enum | The shape of the frame. Default
|
| caption | string | A line of text under the picture. Limits: 1–80 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
avatar
A round picture of a person, or their initials, with an optional name under it.
{"type":"avatar","name":"Ada Lovelace","status":"online","tone":"violet"}
| Field | Type | What it does |
|---|---|---|
| name | string | The name written under the avatar; its initials are used when there is no picture. Limits: 1–32 characters |
| src | string | A picture of the person. Without it, the initials. |
| status | enum | A small coloured dot in the corner.
|
| size | number | Diameter in units. Default 7. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
avatars
A row of overlapping avatars with a +N at the end: the team, the audience, the crowd.
{"type":"avatars","names":["Ada Lovelace","Alan Turing","Grace Hopper"],"more":12}
| Field | Type | What it does |
|---|---|---|
| namesrequired | string[] | The people, as names (their initials are shown). Limits: 1–8 items, each 1–32 characters |
| more | integer | The number shown as Limits: 1–9999 |
| size | number | Diameter of one avatar, in units. Default 5. Limits: 0.8–20 |
icon
A clean line icon from the built-in set, in a soft tile or on its own.
{"type":"icon","glyph":"rocket","tone":"violet"}
| Field | Type | What it does |
|---|---|---|
| glyphrequired | enum | Which icon.
|
| tile | boolean | A rounded tile behind the icon. Default |
| size | number | Size of the icon, in units. Default 6. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
drawing
A vector drawing made of shapes: the shapes, canvases and script of a motion scene, drawn inside a box of this composition. Its line1, line2 ... moments are those of the whole scene.
{"type":"drawing","canvas":"square","w":16,"shapes":[{"id":"dot","type":"circle","size":30,"x":50,"y":50,"fill":"violet","enter":"pop"}]}
| Field | Type | What it does |
|---|---|---|
| canvas | enum | The shape of the drawing area:
|
| shapesrequired | object[] | What is drawn, from the back to the front: Limits: 1–40 items |
| script | string | A GSAP timeline as text, as in the Limits: up to 4000 characters |
Diagrams & guides
Nodes, connectors, markers and pointers that tie a picture together.
node
A node of a diagram: a rounded box or a circle with a label, to be joined by links. Give it an id.
{"type":"node","id":"api","label":"API","icon":"bolt","x":50,"y":50}
| Field | Type | What it does |
|---|---|---|
| labelrequired | string | What it is called. Limits: 1–32 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| shape | enum |
|
| solid | boolean | Filled with the tone instead of glass. |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
link
A connector between two components (or points) that draws itself from from to to, and follows them if they move. It is drawn in front of the backdrops and behind the other components.
{"type":"link","from":"a.right","to":"b.left","arrow":"end","label":"calls"}
| Field | Type | What it does |
|---|---|---|
| fromrequired | string | [number, number] | Where it starts: the |
| torequired | string | [number, number] | Where it ends. |
| shape | enum |
|
| arrow | enum | Where there is an arrowhead. Default
|
| dashed | boolean | A dashed line. |
| flow | boolean | Dashes run along the line, as if something flows through it. |
| thickness | number | Thickness in units. Default 0.3. Limits: 0.1–2 |
| label | string | A small label in the middle of the line. Limits: 1–24 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
marker
A small numbered or lettered circle: a step number on a diagram, or a pin on a picture.
{"type":"marker","text":"1","pulse":true,"x":30,"y":40}
| Field | Type | What it does |
|---|---|---|
| text | string | A number or letter. Default: none, a plain dot. Limits: 1–3 characters |
| pulse | boolean | Rings that spread out from the marker. |
| size | number | Diameter in units. Default 3.4. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
highlight
A frame, a circle or an underline that draws itself around another component, to say: look here.
{"type":"highlight","target":"card1","style":"ellipse","tone":"amber"}
| Field | Type | What it does |
|---|---|---|
| targetrequired | string | The |
| style | enum |
|
| pad | number | Space between the target and the highlight, in units. Default 1. Limits: 0–10 |
| label | string | A small label on the highlight. Limits: 1–24 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
pointer
A mouse pointer that glides to one place after another and clicks, to show someone how to do something.
{"type":"pointer","path":[{"to":"a","click":true},{"to":"b","click":true}]}
| Field | Type | What it does |
|---|---|---|
| pathrequired | object[] | Where it goes, in order. Each stop is a component (or a point Limits: 1–8 items |
| └ torequired | string | [number, number] | The |
| └ at | number | string | When it gets there: seconds, or Limits: 0–600 |
| └ click | boolean | Clicks when it gets there. |
| hand | boolean | A hand instead of an arrow. |
| tone | enum | Accent colour, one of the colours of the theme (
|
Backdrops & decoration
Shapes, light, patterns and sparkle behind the story.
shape
A plain shape to build backdrops, bands and badges from. On the board it sits behind the other components (in the middle unless it has an x and a y, in front if you give it a z); inside a group it is laid out like any other component.
{"type":"shape","kind":"blob","tone":"violet","x":20,"y":30,"w":30,"h":30,"opacity":0.4,"blur":2}
| Field | Type | What it does |
|---|---|---|
| kind | enum |
|
| fill | string | Colour inside. Default: the |
| fill2 | string | A second colour: the fill becomes a gradient from |
| stroke | string | Colour of the outline. |
| strokeWidth | number | Thickness of the outline in units. Default 0.3. Limits: 0–5 |
| blur | number | Softens the shape, in units (a light that bleeds). Limits: 0–10 |
| tone | enum | Accent colour, one of the colours of the theme (
|
glow
A soft pool of coloured light, behind everything on the board (inside a group it is laid out like any other component).
{"type":"glow","tone":"sky","x":70,"y":30,"w":40,"h":40}
| Field | Type | What it does |
|---|---|---|
| tone | enum | Accent colour, one of the colours of the theme (
|
| intensity | number | How strong it is, 0 to 1. Default 0.6. Limits: 0–1 |
pattern
A tiled texture behind the others: dots, a grid or stripes. Fills the board unless you give it a size.
{"type":"pattern","kind":"grid","opacity":0.3}
| Field | Type | What it does |
|---|---|---|
| kind | enum |
|
| spacing | number | Distance between the marks, in units. Default 4. Limits: 1–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
sparkles
Little stars that twinkle in a corner or all over the board. Fills the board unless you give it a size.
{"type":"sparkles","count":14,"tone":"amber"}
| Field | Type | What it does |
|---|---|---|
| count | integer | How many. Default 12. Limits: 2–40 |
| seed | integer | A different number gives a different scatter. Limits: 0–9999 |
| tone | enum | Accent colour, one of the colours of the theme (
|
confetti
A burst of confetti that falls once, for a celebration. Fills the board unless you give it a size.
{"type":"confetti","count":40,"at":3}
| Field | Type | What it does |
|---|---|---|
| count | integer | How many pieces. Default 36. Limits: 4–80 |
| seed | integer | A different number gives a different burst. Limits: 0–9999 |
| from | enum |
|
Interface & time
Buttons, switches, fields, clocks and calendars.
button
A button. With press it gets clicked at that moment: it dips and a ripple spreads.
{"type":"button","label":"Get started","icon":"🚀","press":2.5,"tone":"violet"}
| Field | Type | What it does |
|---|---|---|
| labelrequired | string | What it says. Limits: 1–28 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| look | enum |
|
| press | number | string | When it is clicked: seconds, or Limits: 0–600 |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
toggle
A switch that flips once it has come in. Several make a settings list.
{"type":"toggle","label":"Dark mode","value":true,"tone":"emerald"}
| Field | Type | What it does |
|---|---|---|
| label | string | The name of the setting, beside the switch. Limits: 1–32 characters |
| value | boolean | The state it ends in. It starts the other way round and flips when it has come in. Default |
| flipAt | number | string | When it flips: seconds, or Limits: 0–600 |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
input
A text field in which words are typed: a search box, a form field, a prompt.
{"type":"input","placeholder":"Search…","text":"northern lights","icon":"🔍"}
| Field | Type | What it does |
|---|---|---|
| text | string | What is typed into it. Limits: 1–80 characters |
| placeholder | string | The grey hint shown while it is empty. Limits: 1–40 characters |
| label | string | A caption above the field. Limits: 1–24 characters |
| icon | string | An icon at the start of the field, such as 🔍. Limits: 1–16 characters |
| size | number | Text size in units. Default 2. Limits: 0.8–20 |
| tone | enum | Accent colour, one of the colours of the theme (
|
slider
A slider whose knob glides to a value between 0 and 100.
{"type":"slider","value":65,"label":"Volume","tone":"sky"}
| Field | Type | What it does |
|---|---|---|
| valuerequired | number | Where the knob ends, 0 to 100. Limits: 0–100 |
| label | string | A caption above the slider. Limits: 1–32 characters |
| showValue | boolean | Write the value, counting along. Default |
| tone | enum | Accent colour, one of the colours of the theme (
|
clock
A round clock whose hands sweep from one time to another.
{"type":"clock","from":"9:00","time":"17:30","digital":true,"w":14}
| Field | Type | What it does |
|---|---|---|
| time | string | The time it ends on, such as |
| from | string | The time it starts from. Default: the same as |
| digital | boolean | Also write the time as digits under the clock. |
| tone | enum | Accent colour, one of the colours of the theme (
|
calendar
A month with days that get circled one after another.
{"type":"calendar","month":6,"year":2026,"highlight":[3,17,24],"w":26}
| Field | Type | What it does |
|---|---|---|
| monthrequired | integer | The month, 1 to 12. Limits: 1–12 |
| yearrequired | integer | The year. Limits: 1970–2100 |
| highlight | integer[] | Days of the month to circle, in the order they come in. Limits: up to 12 items, each 1–31 |
| tone | enum | Accent colour, one of the colours of the theme (
|
toast
A notification that slides in with an icon, a title and a line of text.
{"type":"toast","title":"Export finished","text":"Your video is ready.","icon":"✅","tone":"emerald"}
| Field | Type | What it does |
|---|---|---|
| titlerequired | string | The heading. Limits: 1–40 characters |
| text | string | A line of text. Limits: 1–100 characters |
| icon | string | An emoji, a short symbol, or the name of a line icon ( Limits: 1–16 characters |
| tone | enum | Accent colour, one of the colours of the theme (
|
Fields every component has
| Field | Type | What it does |
|---|---|---|
| id | string | A name that other components can point at ( |
| x | number | Where the component sits across the board, in percent of its width: 0 is the left edge, 50 the middle, 100 the right edge. Without Limits: -300–300 |
| y | number | Where the component sits down the board, in percent of its height: 0 is the top, 50 the middle, 100 the bottom. Limits: -300–300 |
| anchor | enum | Which point of the component sits at
|
| w | number | string | Width: a number of units (1 unit is 1% of the width of a landscape video) or a percentage of what the component sits in, such as "50%". Each component has a width of its own to start from. Limits: 0–300 |
| h | number | string | Height, in the same terms as Limits: 0–300 |
| scale | number | Makes the whole component, text included, bigger or smaller. Default 1. Limits: 0.1–10 |
| rotate | number | Turns the component, in degrees clockwise. Limits: -360–360 |
| opacity | number | 0 is invisible, 1 solid (default). Limits: 0–1 |
| z | integer | Which component is in front: the higher one wins. Default: later in the list is in front; backdrops ( Limits: -10–100 |
| phone | object | Overrides for phone-shaped frames (1:1, 4:5, 3:4 and 9:16 videos, whose board is half as wide in units): any of |
| └ x | number | Where the component sits across the board, in percent of its width: 0 is the left edge, 50 the middle, 100 the right edge. Without Limits: -300–300 |
| └ y | number | Where the component sits down the board, in percent of its height: 0 is the top, 50 the middle, 100 the bottom. Limits: -300–300 |
| └ anchor | enum | Which point of the component sits at
|
| └ w | number | string | Width: a number of units (1 unit is 1% of the width of a landscape video) or a percentage of what the component sits in, such as "50%". Each component has a width of its own to start from. Limits: 0–300 |
| └ h | number | string | Height, in the same terms as Limits: 0–300 |
| └ scale | number | Makes the whole component, text included, bigger or smaller. Default 1. Limits: 0.1–10 |
| └ rotate | number | Turns the component, in degrees clockwise. Limits: -360–360 |
| └ hide | boolean |
|
| only | enum | Show the component only on
|
| at | number | string | When the component comes in: seconds from the start of the scene, or Limits: 0–600 |
| delay | number | Extra seconds before Limits: 0–600 |
| enter | enum | How the component comes in. Default
|
| duration | number | Seconds Limits: 0.05–30 |
| build | number | Seconds the inside of the component takes to build itself (bars growing, a number counting up, rows appearing). Default depends on the component. Limits: 0.05–30 |
| loop | enum | A movement that repeats for as long as the component is on screen.
|
| exit | enum | How the component leaves, at
|
| exitAt | number | string | When the component leaves, in the same terms as Limits: 0–600 |
Recipes
Whole scenes, to copy and change.
A dashboard
Tiles in a row above a chart. Groups line things up, and each part comes in with the line that talks about it.
{
"kind": "compose",
"heading": "This week",
"components": [
{
"type": "group",
"direction": "column",
"gap": 2.4,
"children": [
{
"type": "group",
"direction": "row",
"gap": 2,
"at": "line1",
"children": [
{
"type": "stat",
"label": "Visitors",
"value": 48200,
"change": 12,
"icon": "👀",
"tone": "sky",
"w": 22
},
{
"type": "stat",
"label": "Sign-ups",
"value": 3180,
"change": 8,
"icon": "✍️",
"tone": "emerald",
"w": 22
},
{
"type": "stat",
"label": "Revenue",
"value": 9400,
"prefix": "$",
"change": -3,
"icon": "💰",
"tone": "amber",
"w": 22
}
]
},
{
"type": "chart",
"series": [
{
"name": "Visitors",
"values": [
12,
18,
15,
26,
31,
29,
38
],
"tone": "sky"
}
],
"labels": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
],
"area": true,
"w": 70,
"h": 12,
"at": "line2"
}
]
}
],
"lines": [
{
"say": "Three numbers tell the story of the week."
},
{
"say": "And the line shows how it grew."
}
]
}
An app tour on a phone
A phone mock-up holds other components. Switches flip and a button is pressed at the moment a line is spoken, while a pointer glides from one to the next.
{
"kind": "compose",
"heading": "Make it yours",
"components": [
{
"type": "phone",
"w": 28,
"h": 57,
"children": [
{
"type": "title",
"text": "Settings",
"size": 3
},
{
"type": "toggle",
"id": "dark",
"label": "Dark mode",
"value": true,
"size": 2,
"flipAt": "line1"
},
{
"type": "toggle",
"id": "alerts",
"label": "Alerts",
"value": true,
"size": 2,
"flipAt": "line2",
"tone": "sky"
},
{
"type": "button",
"id": "save",
"label": "Save",
"press": "line3",
"size": 2
}
]
},
{
"type": "pointer",
"hand": true,
"path": [
{
"to": "dark",
"at": "line1",
"click": true
},
{
"to": "alerts",
"at": "line2",
"click": true
},
{
"to": "save",
"at": "line3",
"click": true
}
]
}
],
"lines": [
{
"say": "Turn on dark mode."
},
{
"say": "Choose which alerts you want."
},
{
"say": "Then save."
}
]
}
A countdown and a reveal
A number counts down while the first line is spoken; a stamp and confetti land with the second.
{
"kind": "compose",
"components": [
{
"type": "sparkles",
"count": 16,
"tone": "amber",
"at": "line2"
},
{
"type": "group",
"direction": "column",
"gap": 3,
"children": [
{
"type": "counter",
"from": 10,
"value": 0,
"label": "seconds to go",
"size": 9,
"build": 4,
"tone": "rose"
},
{
"type": "stamp",
"text": "Launched!",
"size": 4,
"tone": "emerald",
"rotate": -6,
"at": "line2"
}
]
},
{
"type": "confetti",
"count": 80,
"at": "line2"
}
],
"lines": [
{
"say": "Ten seconds to go."
},
{
"say": "Launched!"
}
]
}
Limits
The limits keep a scene readable at phone size and cheap to draw. A scene that goes over one is reported with its location.
| What | Limit |
|---|---|
| Components on the board | 60 |
| Components in the whole scene, children included | 120 |
| Children of one container | 24 |
| Containers inside containers | 4 |
| Lines of narration | 12 |
| Entries of a list, a legend or a set of tags | 12 |
| Rows of a table | 10 |
| Columns of a table | 6 |
| Points of a chart | 24 |
| Slices of a donut | 8 |
| Characters of a paragraph | 280 |
| Characters of a headline | 100 |
| Characters of a label | 48 |
Seconds an at can be | 600 |
Pictures are added like in any other scene: an image (or the src of an avatar) takes an address from the editor's pictures or a link. Shapes that are drawn rather than placed are described in Motion graphics: the drawing component takes the same shapes.