Key Phrase (overlay). Native 1920×1080, 4s at 30fps. Transparent overlay: mount it on a track above a host scene.
Puts a short phrase on screen over any scene: an ink slab wipes in with a colour edge and the phrase (plus an optional detail line) wipes on inside it. Transparent; mount it on a track above the host scene.
Motion. Slab grows left to right (quintic ease-out); the text is revealed behind it (ease-out); fades out over the last 0.4 s. Why it moves. attention: the slab gives a spoken line a place to land without changing the scene under it.
Mount
Copy every manifest file into your project (plus af-marquee-runtime). Mount with a unique host id, data-composition-id="af-marquee-key-phrase-16x9", data-composition-src="compositions/af-marquee-key-phrase-16x9.html", data-duration="4" 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).
text (required): {"type":"string","minLength":1,"maxLength":40}detail: {"type":"string","minLength":1,"maxLength":60}position: {"type":"string","enum":["top","centre","bottom"]}
position keeps clear of the 9:16 platform UI.
Style: colourway, accent.
Timing
4s. Everything has landed by 2.4s (60%), then the scene holds for reading (the marquee word and the corner fans slow to a residual drift, text stays still).
Example
``json { "text": "Same time, every day", "detail": "Pick a slot and keep it", "position": "bottom" } ``