13 of 50 in the Strata pack

Band: Don’t vs Do Cards: Diagram element for AI agents

A comparison in one band: a "don’t" card with a cross and a "do" card with a tick; the don’t card dims once the do card lands..

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

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

Paste this into Claude Code

Use the AgentFrames Strata pack. Add a `compare` beat to plan.json on a `candy` canvas with slots `number`, `title`, `body`, `colour`, `prevColour`, `side`, `left` and `right` 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
numbernumbernumber: {"type":"integer","minimum":1,"maximum":9}.4
titlestringtitle: {"type":"string","minLength":1,"maxLength":28}.Swap the|scroll
bodystringbody: {"type":"string","minLength":0,"maxLength":80}.
colourenumcolour: {"type":"string","enum":["auto","peach","green","periwinkle","blue","pink","b1","b2","b3","b4","b5"]}.blue
prevColourenumprevColour: {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}.periwinkle
sideenumside: {"type":"string","enum":["auto","left","right"]}.
leftstringleft: JSON string. {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":14},"points":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":30}}},"required":["title","points"]}.{"title":"Don’t","points":["Phone in bed","Scroll till late"]}
rightstringright: JSON string. {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":14},"points":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":30}}},"required":["title","points"]}.{"title":"Do","points":["Charge it outside","Read 10 pages"]}

What your agent can change

Band: Don’t vs Do Cards (band device). Native 1920×1080, 7.5s at 30fps.

A comparison in one band: a "don’t" card with a cross and a "do" card with a tick; the don’t card dims once the do card lands.

Motion. The left card slides in and its points wipe; the cross stamps; the right card slides in, points wipe, tick pops; the left card dims and shrinks a little. Why it moves. consequence: dimming the wrong way after the right way lands shows which one wins.

Mount

Copy every manifest file path → target into your project (plus af-strata-runtime). Mount with a unique host id, data-composition-id="af-strata-compare-16x9", data-composition-src="compositions/af-strata-compare-16x9.html", data-duration="7.5" and native 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 inside data-variable-values. 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). Use "|" in a title to choose line breaks. Band colours: peach, green, periwinkle, blue, pink (aliases b1-b5); in the seaside and night colourways the same names give that colourway's bands 1-5.

  • number: whole number. {"type":"integer","minimum":1,"maximum":9}
  • title (required): string. {"type":"string","minLength":1,"maxLength":28}
  • body: string. {"type":"string","minLength":0,"maxLength":80}
  • colour: string. {"type":"string","enum":["auto","peach","green","periwinkle","blue","pink","b1","b2","b3","b4","b5"]}
  • prevColour: string. {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}
  • side: string. {"type":"string","enum":["auto","left","right"]}
  • left (required): JSON string. {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":14},"points":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":30}}},"required":["title","points"]}
  • right (required): JSON string. {"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":14},"points":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":30}}},"required":["title","points"]}
  • title is the band headline (max 2 lines; "|" chooses the break). body is optional (one short line under the headline in 16:9, at the foot of the band in the other sizes); leave it empty to give the device more room.
  • number defaults to sceneIndex + 1. colour: auto follows sceneIndex (band 1 = peach, 2 = green ...); prevColour: auto is the previous band (the page for the first). Set both explicitly if your film has other scenes between bands.

Style (role "style", defaults from brand.json): colourway (candy | seaside | night), headingFont (Montserrat | Archivo), brandName, footer, sceneIndex (zero-based band position) and sceneTotal (bands in the video; drives the progress strip).

Timing

7.5s. Everything has landed by 4.5 s (60%), then the scene holds for reading and lifts out over the last 0.42 s.

Example

``json { "number": 4, "title": "Swap the|scroll", "body": "", "colour": "blue", "prevColour": "periwinkle", "left": "{\"title\":\"Don’t\",\"points\":[\"Phone in bed\",\"Scroll till late\"]}", "right": "{\"title\":\"Do\",\"points\":[\"Charge it outside\",\"Read 10 pages\"]}" } ``

FAQ

What can my AI agent change in Band: Don’t vs Do Cards?

Your agent fills the number, title, body, colour, prevColour, side, left and right 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 Strata look.

Which aspect ratios does Band: Don’t vs Do Cards support?

Band: Don’t vs Do Cards is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7.5s.

How do I get Band: Don’t vs Do Cards?

Band: Don’t vs Do Cards is included in the Strata 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 Strata pack

Band: Don’t vs Do Cards comes as part of Strata: 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 Strata

See all 50 elements in Strata →