45 of 50 in the Strata pack

CTA: Share to Friends: Section title element for AI agents

Ask for the share: paper planes fly from the share button to three friends, who each get a tick..

  • 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 `ctaShare` beat to plan.json on a `candy` canvas with slots `title`, `action`, `handle` and `prevColour` 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: {"type":"string","minLength":1,"maxLength":44}.Send this to|your study buddy
actionstringaction: {"type":"string","minLength":1,"maxLength":22}.Share
handlestringhandle: {"type":"string","minLength":0,"maxLength":30}.@studysmart
prevColourenumprevColour: {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}.blue

What your agent can change

CTA: Share to Friends (cta). Native 1920×1080, 6s at 30fps.

Ask for the share: paper planes fly from the share button to three friends, who each get a tick.

Motion. Page sweep; title rises; button presses; friends pop in; three planes arc to them in turn and a tick lands on each. Why it moves. consequence: the planes show where the post goes when the viewer taps share.

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-cta-share-16x9", data-composition-src="compositions/af-strata-cta-share-16x9.html", data-duration="6" 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.

  • title (required): string. {"type":"string","minLength":1,"maxLength":44}
  • action (required): string. {"type":"string","minLength":1,"maxLength":22}
  • handle: string. {"type":"string","minLength":0,"maxLength":30}
  • prevColour: string. {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}

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

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

Example

``json { "title": "Send this to|your study buddy", "action": "Share", "handle": "@studysmart", "prevColour": "blue" } ``

FAQ

What can my AI agent change in CTA: Share to Friends?

Your agent fills the title, action, handle and prevColour 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 CTA: Share to Friends support?

CTA: Share to Friends is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get CTA: Share to Friends?

CTA: Share to Friends 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

CTA: Share to Friends 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 →