43 of 50 in the Toggle pack

Iris Ring: Transition element for AI agents

A full-frame cut that focuses on the centre. The frame closes in to a ringed point, holds for an instant, then opens again out of the centre onto the next scene. Mount on track 1 starting 0.5 s before the cut..

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

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

Paste this into Claude Code

Use the AgentFrames Toggle pack. Add a `irisRing` beat to plan.json on a `lime` canvas with slot `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
colourenumcolour: {"type":"string","enum":["dark","accent","white"]}.dark

What your agent can change

Iris Ring (transition, overlay). Native 1920×1080, 1s at 30fps. Transparent overlay: mount it on a track above a host scene.

A full-frame cut that focuses on the centre. The frame closes in to a ringed point, holds for an instant, then opens again out of the centre onto the next scene. Mount on track 1 starting 0.5 s before the cut.

Motion. The hole closes (ease-in) with a ring on its edge until the frame is covered at 0.44 s; it reopens from 0.56 s (ease-out) to reveal the next scene. Why it moves. continuity: the closing ring points at the centre, where the next scene's headline lands.

Mount

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

  • colour: {"type":"string","enum":["dark","accent","white"]}
  • Set the outgoing scene's exit to cut.

Style: colourway, accent.

Timing

1s. Everything has landed by 0.6s (60%), then the scene holds for reading (the grid and the faint rings slow to a residual drift, text stays still).

Example

``json { "colour": "dark" } ``

FAQ

What can my AI agent change in Iris Ring?

Your agent fills the colour 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 Toggle look.

Which aspect ratios does Iris Ring support?

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

How do I get Iris Ring?

Iris Ring is included in the Toggle 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 Toggle pack

Iris Ring comes as part of Toggle: 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) · 60s · made entirely with this pack

More in Toggle

See all 50 elements in Toggle →