6 of 50 in the Launchkit pack

Plan picker: Diagram element for AI agents

A who-is-it-for question branches to 2-3 plan cards; the cursor picks the best fit and the rest dim..

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

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

Paste this into Claude Code

Use the AgentFrames Launchkit pack. Add a `planPicker` beat to plan.json on a `ion` canvas with slots `eyebrow`, `title`, `question`, `pick` and `options` 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
eyebrowstringeyebrow: {"type":"string","minLength":0,"maxLength":32}.Pricing
titlestringtitle: {"type":"string","minLength":1,"maxLength":40}.Pick a plan. Start free.
questionstringquestion: {"type":"string","minLength":1,"maxLength":28}.Who is replying?
picknumberpick: {"type":"integer","minimum":0,"maximum":2}.1
optionsstringoptions: {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"plan":{"type":"string","minLength":1,"maxLength":12},"price":{"type":"string","minLength":1,"maxLength":8},"note":{"type":"string","minLength":1,"maxLength":26}},"required":["label","plan","price","note"]}}.[{"label":"Just me","plan":"Solo","price":"$0","note":"50 drafts a month"},{"label":"A small team","plan":"Team","price":"$19","note":"Unlimited drafts"},{"label":"A support desk","plan":"Scale","price":"$49","note":"Shared inbox + SLAs"}]

What your agent can change

Plan picker · pilot role: Decision branch. A who-is-it-for question branches to 2-3 plan cards; the cursor picks the best fit and the rest dim.

Native 1920×1080, 5s at 30 fps. Graphics only (no footage). Use the matching aspect variant; never stretch another size.

Mount

Copy every manifest file path→target, plus af-launchkit-runtime. Mount with a unique host id, data-composition-id="af-launchkit-plan-picker-16x9", data-composition-src="compositions/af-launchkit-plan-picker-16x9.html" and data-variable-values (JSON object). The starter projects already contain everything.

Slots (content)

  • eyebrow: {"type":"string","minLength":0,"maxLength":32}
  • title: {"type":"string","minLength":1,"maxLength":40}
  • question: {"type":"string","minLength":1,"maxLength":28}
  • pick: {"type":"integer","minimum":0,"maximum":2}
  • options: JSON string; {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"plan":{"type":"string","minLength":1,"maxLength":12},"price":{"type":"string","minLength":1,"maxLength":8},"note":{"type":"string","minLength":1,"maxLength":26}},"required":["label","plan","price","note"]}}

Nested slots are JSON strings inside data-variable-values. UI blocks (panel, checkout) use the ui.json block shapes in docs/UI-SCHEMA.md; {"type":"shot","src":"data:image/png;base64,..."} puts a screenshot in the window instead of rebuilt UI.

Style

brandName (1-28), logo (empty → monogram app icon, or an inline base64 image), look (midnight | paper), colourway (midnight: ion, aurora, ember · paper: signal, cobalt, moss), accent (empty or #RRGGBB, overrides the colourway accent), timeOffset (seconds; Paper's corner timecode continues across a film).

Headline syntax: \n breaks a line. *word* is the accent (serif italic in Paper, accent colour in Midnight). A Midnight headline with two lines and no *accent* colours its last line (two-tone).

Limits and errors

Out-of-range input stops the block with a message on data-launchkit-error and in the console (for example "slots.steps has 5 items; supported: 2-4"). Copy that is within the character limits but still too wide or tall for this size is also refused ("does not fit the 16x9 layout"), never shrunk. Everything has landed by 3.0s; the last 0.4 s is the outro.

Source: editable HTML + local GSAP and fonts. Deterministic (no randomness, no clock). See the pack LICENCE.md, NOTICE and TRADEMARKS.md.

FAQ

What can my AI agent change in Plan picker?

Your agent fills the eyebrow, title, question, pick and options 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 Launchkit look.

Which aspect ratios does Plan picker support?

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

How do I get Plan picker?

Plan picker is included in the Launchkit 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 Launchkit pack

Plan picker comes as part of Launchkit: 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) · 32s · made entirely with this pack

More in Launchkit

See all 50 elements in Launchkit →