45 of 50 in the Lightbox pack

The Window: Diagram element for AI agents

The signature frame: the shop window at night. The LED ticker flickers on with the status; the panels light one by one on their cables (the exterior, then two rooms) like a window at dusk; the rider, room plates and photo count light; the price card clicks on last; then the ticker letters change dot by dot to the address. The agency line sits on the glass..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Lightbox pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Lightbox pack. Add a `theWindow` beat to plan.json on a `night` canvas with slots `status`, `status2`, `rider`, `photos`, `index`, `total`, `price`, `priceLabel`, `addr`, `sub` and `specs` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
statusstringstatus: {"type":"string","minLength":1,"maxLength":16}.Just listed
status2stringstatus2: {"type":"string","minLength":0,"maxLength":16}.Linden Row
riderstringrider: {"type":"string","minLength":0,"maxLength":18}.New this week
photosstringphotos: JSON string. {"type":"array","minItems":3,"maxItems":3,"items":{"type":"object","properties":{"src":{"type":"string","minLength":0,"maxLength":200},"label":{"type":"string","minLength":0,"maxLength":14},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["src"]}}.[{"src":"assets/af-lightbox/media/demo/exterior.jpg"},{"src":"assets/af-lightbox/media/demo/sitting.jpg","label":"Sitting room"},{"src":"assets/af-lightbox/media/demo/kitchen.jpg","label":"Kitchen"}]
indexnumberindex: {"type":"integer","minimum":0,"maximum":60}.1
totalnumbertotal: {"type":"integer","minimum":0,"maximum":60}.18
pricestringprice: {"type":"string","minLength":1,"maxLength":12}.£685,000
priceLabelstringpriceLabel: {"type":"string","minLength":0,"maxLength":18}.Guide price
addrstringaddr: {"type":"string","minLength":0,"maxLength":24}.Linden Row
substringsub: {"type":"string","minLength":0,"maxLength":32}.Bramley · Victorian semi
specsstringspecs: JSON string. {"type":"array","minItems":0,"maxItems":5,"items":{"type":"object","properties":{"v":{"type":"string","minLength":1,"maxLength":8},"u":{"type":"string","minLength":0,"maxLength":6}},"required":["v"]}}.[{"v":"4","u":"bed"},{"v":"2","u":"bath"},{"v":"142","u":"m²"},{"v":"EPC","u":"C"},{"v":"Freehold"}]

What your agent can change

The Window (signature). Native 1920×1080, 7s at 30fps.

The signature frame: the shop window at night. The LED ticker flickers on with the status; the panels light one by one on their cables (the exterior, then two rooms) like a window at dusk; the rider, room plates and photo count light; the price card clicks on last; then the ticker letters change dot by dot to the address. The agency line sits on the glass.

Motion. Each panel drops a little and flickers on (fluorescent catch, 3+ frames per step) 0.35–0.45 s apart; the rider wipes; the price card flickers on at 2.5 s; the ticker changes letter by letter at 3.3 s. Why it moves. attention + character: each photo gets its turn to light, like a window coming on at dusk, and the price is the last light on.

Mount

Copy every manifest file into your project (plus af-lightbox-runtime). Mount with a unique host id, data-composition-id="af-lightbox-the-window-16x9", data-composition-src="compositions/af-lightbox-the-window-16x9.html", data-duration="7" 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).

  • status (required): {"type":"string","minLength":1,"maxLength":16}
  • status2: {"type":"string","minLength":0,"maxLength":16}
  • rider: {"type":"string","minLength":0,"maxLength":18}
  • photos (required): {"type":"array","minItems":3,"maxItems":3,"items":{"type":"object","properties":{"src":{"type":"string","minLength":0,"maxLength":200},"label":{"type":"string","minLength":0,"maxLength":14},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["src"]}}
  • index: {"type":"integer","minimum":0,"maximum":60}
  • total: {"type":"integer","minimum":0,"maximum":60}
  • price (required): {"type":"string","minLength":1,"maxLength":12}
  • priceLabel: {"type":"string","minLength":0,"maxLength":18}
  • addr: {"type":"string","minLength":0,"maxLength":24}
  • sub: {"type":"string","minLength":0,"maxLength":32}
  • specs: {"type":"array","minItems":0,"maxItems":5,"items":{"type":"object","properties":{"v":{"type":"string","minLength":1,"maxLength":8},"u":{"type":"string","minLength":0,"maxLength":6}},"required":["v"]}}
  • status and status2 are LED messages (16 characters); the second replaces the first letter by letter.
  • Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: colourway (night, daylight, high), brandColour and accent (optional hex), agency, footer, exit (lift or cut).

Timing

7s. Everything has landed by 4.2s (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 { "status": "Just listed", "status2": "Linden Row", "rider": "New this week", "photos": "[{\"src\":\"assets/af-lightbox/media/demo/exterior.jpg\"},{\"src\":\"assets/af-lightbox/media/demo/sitting.jpg\",\"label\":\"Sitting room\"},{\"src\":\"assets/af-lightbox/media/demo/kitchen.jpg\",\"label\":\"Kitchen\"}]", "index": 1, "total": 18, "price": "£685,000", "priceLabel": "Guide price", "addr": "Linden Row", "sub": "Bramley · Victorian semi", "specs": "[{\"v\":\"4\",\"u\":\"bed\"},{\"v\":\"2\",\"u\":\"bath\"},{\"v\":\"142\",\"u\":\"m²\"},{\"v\":\"EPC\",\"u\":\"C\"},{\"v\":\"Freehold\"}]" } ``

FAQ

What can my AI agent change in The Window?

Your agent fills the status, status2, rider, photos, index, total, price, priceLabel, addr, sub and specs slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Lightbox look.

Which aspect ratios does The Window support?

The Window is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

How do I get The Window?

The Window is included in the Lightbox pack, which is part of the AgentFrames All-access subscription along with 49 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 50

Get the full Lightbox pack

The Window comes as part of Lightbox: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 39s · made entirely with this pack

More in Lightbox

See all 50 elements in Lightbox →