3 of 50 in the Receipts pack

Page Scroll: Label & callout element for AI agents

A long page with two to four quotes far apart: the page scrolls from one to the next as each is read, a scroll thumb tracks the position, and every underline stays, so the receipts visibly come from one source..

  • 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 `pageScroll` beat to plan.json on a `ember` canvas with slots `outlet`, `title`, `paragraphs`, `url`, `date`, `cues` 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
outletstringoutlet: {"type":"string","minLength":0,"maxLength":40}.Ledgerline · Analysis
titlestringtitle: {"type":"string","minLength":0,"maxLength":120}.The four-day week, six months on
paragraphsstringparagraphs: JSON string. {"type":"array","items":{"type":"string","minLength":20,"maxLength":600},"minItems":2,"maxItems":6}.["When the trial began in September, most of the 61 firms expected to give up by Christmas. The fear was simple: the same work, squeezed into fewer hours, would leave everyone tired and behind.","That is not what the numbers show. Across the group, [[revenue held steady]] through the winter, and the firms that tracked output saw no fall in the work delivered.","Staff surveys told a stronger story. People reported sleeping better, commuting less and spending the extra day on errands, family and rest, so the weekend felt like a weekend again.","The biggest change was to hiring. Several firms said job adverts drew [[twice as many applicants]] once the shorter week was mentioned, and fewer people left during the trial.","Not every firm found it easy. Two dropped out early, citing customer cover, and others had to rota the fifth day. But for most, [[the habit has stuck]]."]
urlstringurl: {"type":"string","minLength":0,"maxLength":70}.ledgerline.example/analysis
datestringdate: {"type":"string","minLength":0,"maxLength":24}.Mar 16, 2026
cuesstringcues: start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}.[]
pacenumberpace: spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6}.2.4

What your agent can change

Page Scroll. Native 1920×1080, 13.5s at 30fps.

A long page with two to four quotes far apart: the page scrolls from one to the next as each is read, a scroll thumb tracks the position, and every underline stays, so the receipts visibly come from one source.

Motion. Window rises; between quotes the page scrolls (ease in-out, 0.85 s) so the next quote reaches the reading line just before its cue; underlines draw word by word; the thumb moves with the page. Why it moves. continuity + change: the scroll proves the quotes are in the same article, and how far apart they are.

Mount

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

  • outlet: {"type":"string","minLength":0,"maxLength":40}
  • title: {"type":"string","minLength":0,"maxLength":120}
  • paragraphs (required): {"type":"array","items":{"type":"string","minLength":20,"maxLength":600},"minItems":2,"maxItems":6}
  • url: {"type":"string","minLength":0,"maxLength":70}
  • date: {"type":"string","minLength":0,"maxLength":24}
  • cues: start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}
  • pace: spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6}
  • Mark at least two quotes in [[ ]] across the paragraphs. Up to about 4.5 windows of page; split longer pages over two scenes.

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

13.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 { "outlet": "Ledgerline · Analysis", "title": "The four-day week, six months on", "paragraphs": "[\"When the trial began in September, most of the 61 firms expected to give up by Christmas. The fear was simple: the same work, squeezed into fewer hours, would leave everyone tired and behind.\",\"That is not what the numbers show. Across the group, [[revenue held steady]] through the winter, and the firms that tracked output saw no fall in the work delivered.\",\"Staff surveys told a stronger story. People reported sleeping better, commuting less and spending the extra day on errands, family and rest, so the weekend felt like a weekend again.\",\"The biggest change was to hiring. Several firms said job adverts drew [[twice as many applicants]] once the shorter week was mentioned, and fewer people left during the trial.\",\"Not every firm found it easy. Two dropped out early, citing customer cover, and others had to rota the fifth day. But for most, [[the habit has stuck]].\"]", "url": "ledgerline.example/analysis", "date": "Mar 16, 2026", "cues": "[]", "pace": 2.4 } ``

FAQ

What can my AI agent change in Page Scroll?

Your agent fills the outlet, title, paragraphs, url, date, cues 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 Page Scroll support?

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

How do I get Page Scroll?

Page Scroll 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

Page Scroll 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 →