Band: Before / After Slider (band device). Native 1920×1080, 7s at 30fps.
A change shown side by side: the greyed before panel sits first, the after panel wipes in from a slider and an arrow joins them.
Motion. Before panel rises (desaturated); the after panel wipes in like a slider; its object builds; the arrow badge pops between them. Why it moves. change: grey to colour is the transformation the point promises.
Mount
Copy every manifest file path → target into your project (plus af-strata-runtime). Mount with a unique host id, data-composition-id="af-strata-before-after-16x9", data-composition-src="compositions/af-strata-before-after-16x9.html", data-duration="7" and native 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 inside data-variable-values. 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). Use "|" in a title to choose line breaks. Band colours: peach, green, periwinkle, blue, pink (aliases b1-b5); in the seaside and night colourways the same names give that colourway's bands 1-5.
number: whole number. {"type":"integer","minimum":1,"maximum":9}title (required): string. {"type":"string","minLength":1,"maxLength":28}body: string. {"type":"string","minLength":0,"maxLength":80}colour: string. {"type":"string","enum":["auto","peach","green","periwinkle","blue","pink","b1","b2","b3","b4","b5"]}prevColour: string. {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}side: string. {"type":"string","enum":["auto","left","right"]}before (required): JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":0,"maxLength":10},"text":{"type":"string","minLength":1,"maxLength":26},"object":{"type":"string","enum":["timer","target","phone","mug","hourglass","chart","bulb","rocket","coins","piggy","wallet","card","apple","dumbbell","heart","bottle","moon","calendar","clipboard","laptop","envelope","megaphone","chat","trophy","star","magnet","cloud","gear","lock","battery","book","cap","pencil","plant","house","plane","globe","key","people","shield","flag"]}},"required":["text","object"]}after (required): JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":0,"maxLength":10},"text":{"type":"string","minLength":1,"maxLength":26},"object":{"type":"string","enum":["timer","target","phone","mug","hourglass","chart","bulb","rocket","coins","piggy","wallet","card","apple","dumbbell","heart","bottle","moon","calendar","clipboard","laptop","envelope","megaphone","chat","trophy","star","magnet","cloud","gear","lock","battery","book","cap","pencil","plant","house","plane","globe","key","people","shield","flag"]}},"required":["text","object"]}
title is the band headline (max 2 lines; "|" chooses the break). body is optional (one short line under the headline in 16:9, at the foot of the band in the other sizes); leave it empty to give the device more room.number defaults to sceneIndex + 1. colour: auto follows sceneIndex (band 1 = peach, 2 = green ...); prevColour: auto is the previous band (the page for the first). Set both explicitly if your film has other scenes between bands.
Style (role "style", defaults from brand.json): colourway (candy | seaside | night), headingFont (Montserrat | Archivo), brandName, footer, sceneIndex (zero-based band position) and sceneTotal (bands in the video; drives the progress strip).
Timing
7s. Everything has landed by 4.2 s (60%), then the scene holds for reading and lifts out over the last 0.42 s.
Example
``json { "number": 2, "title": "Batch your|admin", "body": "", "colour": "green", "prevColour": "peach", "before": "{\"label\":\"Before\",\"text\":\"Inbox all day\",\"object\":\"envelope\"}", "after": "{\"label\":\"After\",\"text\":\"Twice a day, done\",\"object\":\"clipboard\"}" } ``