45 of 53 in the Mise pack

Compare: Diagram element for AI agents

Two options in columns with up to five comparisons in the middle, the better value in butter; rows are set down on their cues..

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

Watermarked preview. The Mise pack includes all 53 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Mise pack. Add a `compare` beat to plan.json on a `k` canvas with slots `kicker`, `title`, `a`, `b`, `rows` and `cues` 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
kickerstringkicker: {"type":"string","minLength":0,"maxLength":14}.
titlestringtitle: {"type":"string","minLength":1,"maxLength":32}.Butter vs *oil*
astringa: {"type":"string","minLength":1,"maxLength":8}.Butter
bstringb: {"type":"string","minLength":1,"maxLength":8}.Oil
rowsstringrows: JSON string. {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"a":{"type":"string","minLength":1,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":5},"lower":{"type":"boolean"}},"required":["name","a","b"]}}.[{"name":"Flavour","a":"9","b":"6"},{"name":"Smoke pt","a":"5","b":"8"},{"name":"Browning","a":"9","b":"7"},{"name":"Cost","a":"7","b":"4","lower":true}]
cuesstringcues: JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}.[]

What your agent can change

Compare. Native 1920×1080, 5s at 30fps. A full-frame card on the kitchen tiles.

Two options in columns with up to five comparisons in the middle, the better value in butter; rows are set down on their cues.

Motion. Boards and pills are set down on the table: up from below, 0.94x, a soft settle (no clip; words are never cut). Why it moves. clarity: the matchup in numbers.

Mount

Copy every manifest file into your project (plus af-mise-runtime). Mount with a unique host id, data-composition-id="af-mise-compare-16x9", data-composition-src="compositions/af-mise-compare-16x9.html", data-duration and data-variable-values. A longer data-duration than 5s 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).

  • kicker: {"type":"string","minLength":0,"maxLength":14}
  • title (required): {"type":"string","minLength":1,"maxLength":32}
  • a (required): {"type":"string","minLength":1,"maxLength":8}
  • b (required): {"type":"string","minLength":1,"maxLength":8}
  • rows (required): {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"a":{"type":"string","minLength":1,"maxLength":5},"b":{"type":"string","minLength":1,"maxLength":5},"lower":{"type":"boolean"}},"required":["name","a","b"]}}
  • cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}
  • lower: true marks a row where lower is better. cues: one block-relative time per row (from your transcript); leave it empty to space them 0.25 s apart.

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, avatar, ctaFollow, ctaLink, ctaCode. Layout: exit (clear or hold).

Example

``json { "kicker": "", "title": "Butter vs *oil*", "a": "Butter", "b": "Oil", "rows": "[{\"name\":\"Flavour\",\"a\":\"9\",\"b\":\"6\"},{\"name\":\"Smoke pt\",\"a\":\"5\",\"b\":\"8\"},{\"name\":\"Browning\",\"a\":\"9\",\"b\":\"7\"},{\"name\":\"Cost\",\"a\":\"7\",\"b\":\"4\",\"lower\":true}]", "cues": "[]" } ``

FAQ

What can my AI agent change in Compare?

Your agent fills the kicker, title, a, b, rows and cues 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 Mise look.

Which aspect ratios does Compare support?

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

How do I get Compare?

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

Get the full Mise pack

Compare comes as part of Mise: 53 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) · 22s · made entirely with this pack

More in Mise

See all 53 elements in Mise →