Timeline: Ticks on the Line. Native 1920×1080, 8s at 30fps.
Three to six dated events in order. The line draws ahead of the dot; each tick fills as the dot reaches it and its date and label land (above and below the line in 16:9, down the left in the other sizes).
Motion. Line draws just ahead of the dot (ease in-out per leg); tick fills on arrival; date + label rise (16:9) or slide in (vertical); dot fades at the end of the line. Why it moves. change: the dot moving along the line is time passing.
Mount
Copy every manifest file into your project (plus af-toggle-runtime). Mount with a unique host id, data-composition-id="af-toggle-timeline-16x9", data-composition-src="compositions/af-toggle-timeline-16x9.html", data-duration="8" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
title (required): {"type":"string","minLength":1,"maxLength":40}items (required): {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":10},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["date","label"]}}cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":6}
cues: scene-relative seconds for each arrival; leave [] to space them evenly (0.5 s minimum).
Style: colourway (lime, cobalt, coral), accent (optional hex), footer, ground: dark only, exit (slide or cut).
Timing
8s. Everything has landed by 4.8s (60%), then the scene holds for reading (the grid and the faint rings slow to a residual drift, text stays still) and slides out to the left in a motion blur over the last 0.5 s, leaving the empty ground.
Example
``json { "title": "A hook in 4 seconds", "items": "[{\"date\":\"0.0s\",\"label\":\"First frame moves\"},{\"date\":\"1.0s\",\"label\":\"The claim is on screen\"},{\"date\":\"2.5s\",\"label\":\"Face and voice land\"},{\"date\":\"4.0s\",\"label\":\"The promise is made\"}]", "cues": "[]" } ``