5 of 54 in the Swatch pack

Swatch Wipe: Transition element for AI agents

A full-frame handover between beats: three stacked product smears (blush, cream, nude) cross the frame in the brush direction, cover the cut and drag the next shot in behind their bristle tails..

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

Watermarked preview. The Swatch pack includes all 54 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Swatch pack. Add a `swatchWipe` beat to plan.json on a `k` canvas with slot `direction` 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
directionenumdirection: {"type":"string","enum":["right","left"]}.right

What your agent can change

Swatch Wipe (transition). Native 1920×1080, 1s at 30fps. A full-frame transition over the footage.

A full-frame handover between beats: three stacked product smears (blush, cream, nude) cross the frame in the brush direction, cover the cut and drag the next shot in behind their bristle tails.

Motion. The strokes accelerate in from the side (ease-in), cover the whole frame from 0.42 to 0.58 s (the cut is at 0.5 s), then run off the other side (ease-out), tilted 4°. Why it moves. continuity: the swatch crossing the frame carries the viewer to the next step like a swipe of product.

Mount

Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-swatch-wipe-16x9", data-composition-src="compositions/af-swatch-swatch-wipe-16x9.html", data-duration and data-variable-values. A longer data-duration than 1s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).

  • direction: {"type":"string","enum":["right","left"]}
  • Mount it on a track above the footage starting 0.5 s before the cut; full cover 0.42-0.58 s. The mount before it uses exit: "hold".

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode.

Example

``json { "direction": "right" } ``

FAQ

What can my AI agent change in Swatch Wipe?

Your agent fills the direction 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 Swatch look.

Which aspect ratios does Swatch Wipe support?

Swatch Wipe is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 1s.

How do I get Swatch Wipe?

Swatch Wipe is included in the Swatch pack, which is part of the AgentFrames All-access subscription along with 53 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 54

Get the full Swatch pack

Swatch Wipe comes as part of Swatch: 54 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 →

Full frame (16:9) · 26s · made entirely with this pack

More in Swatch

See all 54 elements in Swatch →