41 of 50 in the Lightbox pack

Panel Swap (transition): Transition element for AI agents

A full-frame handover: two lit acrylic panels drop in on their cables and meet over the frame with an LED strip across them, then the cables lift them out to reveal the next scene: same window, next property..

  • 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 `panelSwap` beat to plan.json on a `night` canvas with slot `label` 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
labelstringlabel: {"type":"string","minLength":0,"maxLength":16}.

What your agent can change

Panel Swap (transition). Native 1920×1080, 1.1s at 30fps. Transparent: mount it on a track above the scenes.

A full-frame handover: two lit acrylic panels drop in on their cables and meet over the frame with an LED strip across them, then the cables lift them out to reveal the next scene: same window, next property.

Motion. Drop in 0.05–0.45 s (ease-out, small bounce); covered 0.45–0.65 s while the LED strip flickers on; lifted out 0.65–1.05 s (ease-in). Why it moves. continuity: the window stays, the panels change.

Mount

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

  • label: {"type":"string","minLength":0,"maxLength":16}
  • Mount it on track 1 (style="z-index:10") starting 0.56 s before the cut, and set the outgoing scene's exit to cut. label defaults to the agency name.

Style: colourway (night, daylight, high), brandColour and accent (optional hex), agency.

Timing

1.1s. Full cover from 0.5 s to 0.62 s; mount it 0.56 s before the cut.

Example

``json { "label": "" } ``

FAQ

What can my AI agent change in Panel Swap (transition)?

Your agent fills the label slot 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 Panel Swap (transition) support?

Panel Swap (transition) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 1.1s.

How do I get Panel Swap (transition)?

Panel Swap (transition) 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

Panel Swap (transition) 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 →