41 of 50 in the Keytag pack

Tag Swing (transition): Transition element for AI agents

A full-frame handover: a giant key tag swings across the frame on its ring like a wiper, covers the cut and swings on, uncovering the next scene..

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

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

Paste this into Claude Code

Use the AgentFrames Keytag pack. Add a `tagSwing` beat to plan.json on a `pastel` canvas with slots `label` and `colour` 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":20}.
colourenumcolour: {"type":"string","enum":["highlight","room"]}.highlight

What your agent can change

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

A full-frame handover: a giant key tag swings across the frame on its ring like a wiper, covers the cut and swings on, uncovering the next scene.

Motion. The tag swings in about its ring (ease-out), covers the frame from 0.5 to 0.62 s, then swings on down (ease-in). Why it moves. change: the tag turning over is the next room or the next status.

Mount

Copy every manifest file into your project (plus af-keytag-runtime). Mount with a unique host id, data-composition-id="af-keytag-tag-swing-16x9", data-composition-src="compositions/af-keytag-tag-swing-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":20}
  • colour: {"type":"string","enum":["highlight","room"]}
  • 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 developer name.

Style: colourway (pastel, mono, night), 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": "", "colour": "highlight" } ``

FAQ

What can my AI agent change in Tag Swing (transition)?

Your agent fills the label and colour 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 Keytag look.

Which aspect ratios does Tag Swing (transition) support?

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

How do I get Tag Swing (transition)?

Tag Swing (transition) is included in the Keytag 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 Keytag pack

Tag Swing (transition) comes as part of Keytag: 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) · 38s · made entirely with this pack

More in Keytag

See all 50 elements in Keytag →