37 of 50 in the Receipts pack

Link Trail: Social post element for AI agents

A chain of two or three sources: each window opens on top of the last once its link or quote is underlined, so the viewer follows the trail to the original..

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

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

Paste this into Claude Code

Use the AgentFrames Receipts pack. Add a `linkTrail` beat to plan.json on a `ember` canvas with slots `sources` and `pace` 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
sourcesstringsources: JSON string. {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"outlet":{"type":"string","minLength":0,"maxLength":30},"title":{"type":"string","minLength":0,"maxLength":70},"text":{"type":"string","minLength":1,"maxLength":200},"url":{"type":"string","minLength":0,"maxLength":70},"date":{"type":"string","minLength":0,"maxLength":24}},"required":["text"]}}.[{"outlet":"A viral post","text":"Apparently [[a study proved four-day weeks work]].","url":"social.example/post","date":"Mar 18"},{"outlet":"The Northline","title":"Nine in ten firms keep the shorter week","text":"According to [[the final trial report]], published this week…","url":"northline.example/work","date":"Mar 14"},{"outlet":"Trial report","title":"Key findings","text":"[[56 of 61 firms]] continued after the trial.","url":"trialreport.example","date":"Mar 2026"}]
pacenumberpace: spoken words per second (default 2.4). {"type":"number","minimum":1,"maximum":6}.2.6

What your agent can change

Link Trail. Native 1920×1080, 14.5s at 30fps.

A chain of two or three sources: each window opens on top of the last once its link or quote is underlined, so the viewer follows the trail to the original.

Motion. Each window rises, offset down and right; its quote is underlined; the next window opens as the pen finishes. Why it moves. continuity: one link leads to the next, back to the original.

Mount

Copy every manifest file into your project (plus af-receipts-runtime). Mount with a unique host id, data-composition-id="af-receipts-link-trail-16x9", data-composition-src="compositions/af-receipts-link-trail-16x9.html", data-duration and 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. 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).

  • sources (required): {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"outlet":{"type":"string","minLength":0,"maxLength":30},"title":{"type":"string","minLength":0,"maxLength":70},"text":{"type":"string","minLength":1,"maxLength":200},"url":{"type":"string","minLength":0,"maxLength":70},"date":{"type":"string","minLength":0,"maxLength":24}},"required":["text"]}}
  • pace: spoken words per second (default 2.4). {"type":"number","minimum":1,"maximum":6}
  • Wrap each quoted run of words in [[ ]]; set cues from the transcript (when each quote starts) and pace (words per second).

Style: colourway (ember, ink, marker), accent (optional pen hex), mark (underline or highlight), page (paper, cream, night), exit (drop or cut), duration (seconds).

Syncing to the narration

Give cues the second (from the scene start) at which the speaker starts each quote, and pace their speaking rate in words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise duration (and the mount's data-duration) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest as a still, readable hold.

Timing

14.5s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with exit: drop the window sinks off the desk over the last 0.45 s.

Example

``json { "sources": "[{\"outlet\":\"A viral post\",\"text\":\"Apparently [[a study proved four-day weeks work]].\",\"url\":\"social.example/post\",\"date\":\"Mar 18\"},{\"outlet\":\"The Northline\",\"title\":\"Nine in ten firms keep the shorter week\",\"text\":\"According to [[the final trial report]], published this week…\",\"url\":\"northline.example/work\",\"date\":\"Mar 14\"},{\"outlet\":\"Trial report\",\"title\":\"Key findings\",\"text\":\"[[56 of 61 firms]] continued after the trial.\",\"url\":\"trialreport.example\",\"date\":\"Mar 2026\"}]", "pace": 2.6 } ``

FAQ

What can my AI agent change in Link Trail?

Your agent fills the sources and pace 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 Receipts look.

Which aspect ratios does Link Trail support?

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

How do I get Link Trail?

Link Trail is included in the Receipts 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 Receipts pack

Link Trail comes as part of Receipts: 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 →

Full frame (16:9) · 61s · made entirely with this pack

More in Receipts

See all 50 elements in Receipts →