
Before / After
Styling before/after: the 'after' photo is revealed from the right behind a deep divider block that sweeps to the middle; before/after tags and a Playfair caption band
- 1:1native
- 16:9stage-fit
- 9:16stage-fit
- 4:5stage-fit
39 of 46 in the Lookbook pack
Two looks side by side: two photo wells cut in from opposite edges, label blocks underneath, a deep 'vs' tag breaks out between them.
Watermarked preview. The Lookbook pack includes all 46 elements, clean and editable, in every size.
Use the AgentFrames Lookbook pack. Add a `splitScreen` beat to plan.json on a `w` canvas with slots `photoA`, `photoB`, `posA`, `posB`, `labelA`, `labelB` and `mid` from my script. Then run validate → build → qa and show me qa/contact.jpg.The slots your agent fills from your script, through plan.json.
| Slot | Type | What it holds | Example |
|---|---|---|---|
photoA | string | Photo A: Plain text. | |
photoB | string | Photo B: Plain text. | |
posA | string | Pos A: Plain text. | 50% 25% |
posB | string | Pos B: Plain text. | 50% 25% |
labelA | string | Label A: Plain text. | desk day |
labelB | string | Label B: Plain text. | dinner after |
mid | string | Mid: Plain text. | vs |
Two looks side by side: two photo wells cut in from opposite edges, label blocks underneath, a deep 'vs' tag breaks out between them. Category: frame. Canvases: ok w, g. Typical 3.6s; settles at 1.6s.
slots)photoA (string). Plain text.photoB (string). Plain text.posA (string). Plain text.posB (string). Plain text.labelA (string) EXAMPLE DATA: replace or get client sign-off. Plain text.labelB (string) EXAMPLE DATA: replace or get client sign-off. Plain text.mid (string). Plain text.Optional style/layout overrides: way. Use them only to fix fit, never to change the brand.
Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.
Set values in the beat's slots in plan.json, run tools/validate.mjs, rebuild, and check qa/contact.jpg. Never hand-edit the generated index.html or this element's code for a single video.
Your agent fills the photoA, photoB, posA, posB, labelA, labelB and mid slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Lookbook look.
Split Screen is designed natively for 1:1 and stage-fits into 4:5, 9:16 and 16:9. A typical beat lasts 3.6s.
Split Screen is included in the Lookbook pack, which is part of the AgentFrames All-access subscription along with 45 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.
This is 1 of 46
Split Screen comes as part of Lookbook: 46 elements, 4 starter videos and every size (1:1, 4:5, 9:16, 16:9), re-brandable to your colours in one file. Included in All-access with every other pack.

Styling before/after: the 'after' photo is revealed from the right behind a deep divider block that sweeps to the middle; before/after tags and a Playfair caption band

Photo in the mat: gradient ground cuts up, the photo well cuts in and settles, a caption tracks in under it and a deep rating tag breaks out of its corner

Selfie-video window: a 9:16 well for UGC footage cuts in on the left, a light column carries the eyebrow, Playfair title and note, the handle runs up the side, a deep day tag breaks out

Ad / gifted disclosure: a small deep 'ad' tag breaks in at the top left and a light plate with the partnership line cuts out of it; stays on screen
Community: coming soon · Markdown version of this page