17 of 42 in the Sorbet pack

This or That: Social post element for AI agents

This or that: two cards fly in with an or badge, the pick gets a ring and a tick.

Designed natively for 4:5. Above: the same element in the pack's 16:9 layout.
  • 1:1stage-fit
  • 16:9stage-fit
  • 9:16stage-fit
  • 4:5native

Watermarked preview. The Sorbet pack includes all 42 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Sorbet pack. Add a `thisOrThat` beat to plan.json on a `o` canvas with slots `title`, `a`, `b`, `pick` and `note` 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
titlestringTitle: Plain text.this or that?
astringA: Plain text.coffee
bstringB: Plain text.matcha
pickstringPick: Plain text.b
notestringNote: Plain text.tell us in the comments

What your agent can change

Surface

This or that: two cards fly in with an or badge, the pick gets a ring and a tick. Category: post. Canvases: ok o, k, b; avoid w (the element vanishes on these). Typical 3s; settles at 2.1s.

Editable (fill through plan.json slots)

  • title (string). Plain text.
  • a (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • b (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • pick (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • note (string). Plain text.

Protected

Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

Safe editing

Set values in the beat's slots in plan.json, run tools/validate.mjs, rebuild, and check qa/contact.jpg. Never hand-edit the generated index.html or this element's code for a single video.

FAQ

What can my AI agent change in This or That?

Your agent fills the title, a, b, pick and note slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Sorbet look.

Which aspect ratios does This or That support?

This or That is designed natively for 4:5 and stage-fits into 9:16, 1:1 and 16:9. A typical beat lasts 3s.

How do I get This or That?

This or That is included in the Sorbet pack, which is part of the AgentFrames All-access subscription along with 41 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 42

Get the full Sorbet pack

This or That comes as part of Sorbet: 42 elements, 4 starter videos and every size (4:5, 9:16, 1:1, 16:9), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Pack showcase (16:9) · 29s · made entirely with this pack

More in Sorbet

See all 42 elements in Sorbet →