# On video

### Captions
Captions made from the scene's timed words (its "transcript"). look: karaoke (the line shows, the spoken word lights up and swells), bold (words punch in as they are said, key words coloured), pop (one big word at a time), boxed (a calm caption box that fills in as it is spoken).
props: look?: karaoke|bold|pop|boxed = "karaoke"; perLine?: 1–8 = 3 (words per line); size?: 34–240 = 78; color?: color = "white"; active?: color = "accent2" (the spoken or key word); upper?: true|false = false; outline?: color = "black" (a stroke round the letters); outlineW?: 0–40 = 10; glow?: color; from?: seconds|cue (caption only the words spoken from here); to?: seconds|cue (…until here); w?: 200–1080 = 920
example: {"el":"Captions","look":"karaoke"}

### BigWord
One huge word or number. Put it behind the speaker (the back layer) so their head overlaps it.
props: text: string; size?: 80–1200 = 620; color?: color = "accent"; italic?: true|false = false; tracking?: -0.1–0.6 = -0.06; from?: pose = {"y":200,"scale":0.8,"opacity":0}; curve?: curve = "punchy"; outline?: color; outlineW?: 0–60 = 0; glow?: color
example: {"el":"BigWord","text":"20"}

### Headline
A line on a coloured slab, slightly tilted, that wipes in; the words follow one by one and the marked ones take the second colour.
props: text: string; mark?: string = ""; size?: 34–240 = 80; fill?: color (overrides the surface's fill); ink?: color = "white"; markColor?: color = "accent2"; radius?: 0–200 (overrides the surface's corner); tilt?: -20–20 = -2; w?: 200–1040 = 880
example: {"el":"Headline","text":"What nobody tells you","mark":"nobody"}

### Callout
A label with a line that draws out to a point and ends in a dot: for naming something on screen. dx and dy are where the dot lands, in pixels from the label.
props: text: string; dx?: number = -170; dy?: number = 230; fill?: color (overrides the surface's fill); ink?: color = "ink"; accent?: color = "accent"; radius?: 0–200 (overrides the surface's corner)
example: {"el":"Callout","text":"Founder"}

### Sticker
An icon on a round badge with a thick ring, tilted: it spins in and keeps a slight wiggle.
props: icon?: check|x|plus|arrow|heart|star|bolt|play|clock|user|chat|mic|sparkle|search|bell|scissors|music|send|cursor = "bolt"; size?: 60–600 = 210; fill?: color = "accent2"; ink?: color = "night"; ring?: color = "white"; tilt?: -45–45 = -10
example: {"el":"Sticker","icon":"bolt"}

### StatChip
A small card for a corner of the frame: a number that counts up, with a label.
props: value?: number = 0; label?: string = ""; prefix?: string = ""; suffix?: string = ""; word?: string = "" (the figure as the speaker says it, when it is not plain digits ("a billion"): shown instead of the count); fill?: color (overrides the surface's fill); ink?: color = "ink"; accent?: color = "accent"; radius?: 0–200 (overrides the surface's corner)
example: {"el":"StatChip","value":20,"suffix":" yrs","label":"of experience"}

### PointsCard
A card with a title and numbered points that arrive one after another.
props: items: [string]; title?: string = ""; each?: 0–3 = 0.45; w?: 300–1040 = 840; fill?: color (overrides the surface's fill); ink?: color = "ink"; accent?: color = "accent"; radius?: 0–200 (overrides the surface's corner)
example: {"el":"PointsCard","title":"In one take","items":["Cut the pauses","Add captions","Post it"]}

### BrollCard
A picture card that swings up over the speaker, with a caption under it. Give it a src, or leave the labelled placeholder.
props: label?: string = "b-roll"; caption?: string = ""; src?: string; w?: 200–1040 = 760; h?: 120–1400 = 480; radius?: 0–200 = 40; tilt?: -20–20 = 3
example: {"el":"BrollCard","label":"your screenshot","caption":"the dashboard"}

### Arrow
A hand-drawn curved arrow that draws itself. Rotate it to aim it.
props: color?: color = "accent2"; size?: 60–800 = 260; thickness?: 2–30 = 9
example: {"el":"Arrow"}

### ProgressBar
A thin bar along the top that fills as the video plays.
props: color?: color = "accent2"; h?: 4–60 = 14; track?: color = "rgba(255,255,255,.3)"
example: {"el":"ProgressBar"}

### Scrim
Darkens the picture behind the speaker so type on top reads. strength 0–1.
props: strength?: 0–1 = 0.5; tone?: color = "black"
example: {"el":"Scrim","strength":0.5}

### DuoCaption
A two-size caption: a small plain lead-in and one big glowing word under it.
props: small?: string = ""; big: string; color?: color = "white"; hot?: color = "accent2"; size?: 40–600 = 170
example: {"el":"DuoCaption","small":"if your","big":"Content"}

### Strike
Wraps something and strikes a line through it.
props: color?: color = "bad"; thickness?: 2–60 = 12; delay?: 0–30 = 0.3; tilt?: -30–30 = -4
example: {"el":"Strike","children":[{"el":"text","text":"Content","size":150}]}

### FocusRing
A ring that closes in on something and holds, with a small tag on its edge: "look here".
props: size?: 60–1600 = 520; tag?: string = ""; color?: color = "accent2"
example: {"el":"FocusRing","tag":"you"}

### ToastStack
Warning pills that pile up one under another.
props: items: [string]; each?: 0–5 = 0.5; color?: color = "bad"; w?: 200–1040 = 640
example: {"el":"ToastStack","items":["Where do I say it?","Is the light okay?"]}

### RecHud
A small blinking REC mark for a corner of the frame.
props: color?: color = "bad"
example: {"el":"RecHud"}

### Picture
One of the reel's pictures on a small card over the speaker, with a caption under it. Give the picture's id.
props: src: string; caption?: string = ""; ratio?: 0.2–5 = 1.5; ink?: color = "ink"; w?: 80–1000 = 520
example: {"el":"Picture","src":"","caption":"the dashboard"}

### LowerThird
Who is speaking: a name and a role on a small plate that slides in from the side.
props: name: string; role?: string = ""; ink?: color = "ink"
example: {"el":"LowerThird","name":"Maya Haddad","role":"Founder"}

### PercentRing
A percentage: a ring that fills to it while the number counts up, with a label.
props: value: 0–100; label?: string = ""; ink?: color = "ink"; accent?: color = "accent"
example: {"el":"PercentRing","value":72,"label":"watch to the end"}

### HighlightLine
A short line of the speaker's words with a highlighter swept across the phrase that matters.
props: text: string; mark?: string = ""; ink?: color = "white"; size?: 30–200 = 66
example: {"el":"HighlightLine","text":"the edit is the easy part","mark":"easy part"}
