27 of 50 in the Tabletop pack

Stacked Tokens: What It Is Made Of: Stat & chart element for AI agents

What one total is made of. A single tall chip stack is built part by part in the player colours, bottom first; each part is labelled beside it with its value, and the total sits under the stack..

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

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

Paste this into Claude Code

Use the AgentFrames Tabletop pack. Add a `stackedTokens` beat to plan.json on a `cream` canvas with slots `label`, `title`, `items`, `total`, `prefix`, `unit` and `decimals` 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
labelstringlabel: {"type":"string","minLength":1,"maxLength":20}.Round 5
titlestringtitle: {"type":"string","minLength":1,"maxLength":40}.£100 a month for 20 years
itemsstringitems: JSON string. {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}.[{"label":"You paid in","value":24000},{"label":"Interest on that","value":16900},{"label":"Interest on interest","value":11200}]
totalstringtotal: {"type":"string","minLength":1,"maxLength":30}.£52,100 in all
prefixstringprefix: {"type":"string","minLength":1,"maxLength":3}.£
unitstringunit: {"type":"string","minLength":1,"maxLength":6}.
decimalsnumberdecimals: {"type":"integer","minimum":0,"maximum":2}.0

What your agent can change

Stacked Tokens: What It Is Made Of. Native 1920×1080, 6.5s at 30fps.

What one total is made of. A single tall chip stack is built part by part in the player colours, bottom first; each part is labelled beside it with its value, and the total sits under the stack.

Motion. Each part grows on top of the last (ease-out, never past its value); a board line runs out to its label, which slides in. Why it moves. change: building one stack from its parts shows how much each one contributes to the whole.

Mount

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

  • label: {"type":"string","minLength":1,"maxLength":20}
  • title (required): {"type":"string","minLength":1,"maxLength":40}
  • items (required): {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}
  • total: {"type":"string","minLength":1,"maxLength":30}
  • prefix: {"type":"string","minLength":1,"maxLength":3}
  • unit: {"type":"string","minLength":1,"maxLength":6}
  • decimals: {"type":"integer","minimum":0,"maximum":2}
  • items[0] is the bottom part. Very small parts cannot be labelled apart; the block asks you to merge them.

Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).

Timing

6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the lamp light drifts slowly over the table; text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.

Example

``json { "label": "Round 5", "title": "£100 a month for 20 years", "items": "[{\"label\":\"You paid in\",\"value\":24000},{\"label\":\"Interest on that\",\"value\":16900},{\"label\":\"Interest on interest\",\"value\":11200}]", "total": "£52,100 in all", "prefix": "£", "unit": "", "decimals": 0 } ``

FAQ

What can my AI agent change in Stacked Tokens: What It Is Made Of?

Your agent fills the label, title, items, total, prefix, unit and decimals 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 Tabletop look.

Which aspect ratios does Stacked Tokens: What It Is Made Of support?

Stacked Tokens: What It Is Made Of is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

How do I get Stacked Tokens: What It Is Made Of?

Stacked Tokens: What It Is Made Of is included in the Tabletop 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 Tabletop pack

Stacked Tokens: What It Is Made Of comes as part of Tabletop: 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) · 62s · made entirely with this pack

More in Tabletop

See all 50 elements in Tabletop →