Two Suites Side by Side. Native 1920×1080, 5s at 30fps.
Two framed suite photos with names, rates and a detail line, divided by a brass rule that draws down (across in 9:16).
Motion. The title fades up; the rule draws; each photo fades up from 103% and its lines follow, 0.3 s apart. Why it moves. change: a choice between two rooms, side by side.
Mount
Copy every manifest file into your project (plus af-suite-runtime). Mount with a unique host id, data-composition-id="af-suite-two-suites-16x9", data-composition-src="compositions/af-suite-two-suites-16x9.html", data-duration="5" 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":30}suites (required): {"type":"array","minItems":2,"maxItems":2,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":20},"rate":{"type":"string","minLength":0,"maxLength":10},"detail":{"type":"string","minLength":0,"maxLength":26},"photo":{"type":"string","minLength":0,"maxLength":200},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["name","photo"]}}
- On the green ground: no backdrop.
Style: colourway (garden, townhouse, coastal), brandColour and accent (optional hex), agency, footer, exit (lift or cut).
Timing
5s. Everything has landed by 3.0s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.
Example
``json { "title": "Which *suite* is yours?", "suites": "[{\"name\":\"The Garden Suite\",\"rate\":\"£240\",\"detail\":\"King bed · terrace\",\"photo\":\"assets/af-suite/media/demo/hotel-room.jpg\"},{\"name\":\"The Loft\",\"rate\":\"£280\",\"detail\":\"Super king · roof view\",\"photo\":\"assets/af-suite/media/demo/bedroom.jpg\"}]" } ``