36 of 50 in the Tabletop pack

Token Budget: Into the Pots: Stat & chart element for AI agents

Splits an amount. One tall chip stack holds the total; chips fly off it in arcs into two to four labelled pots, pot by pot, and each pot's stack grows to its share while the source shrinks and both numbers count..

  • 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 `tokenBudget` beat to plan.json on a `cream` canvas with slots `label`, `title`, `total`, `pots`, `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 3
titlestringtitle: {"type":"string","minLength":1,"maxLength":40}.Split your pay
totalstringtotal: JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}.{"label":"Take-home","value":2000}
potsstringpots: JSON string. {"type":"array","minItems":2,"maxItems":4,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}.[{"label":"Needs","value":1000},{"label":"Wants","value":600},{"label":"Saving","value":400}]
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

Token Budget: Into the Pots. Native 1920×1080, 7s at 30fps.

Splits an amount. One tall chip stack holds the total; chips fly off it in arcs into two to four labelled pots, pot by pot, and each pot's stack grows to its share while the source shrinks and both numbers count.

Motion. A chip arcs from the top of the source to each pot (ease in-out) while that pot's stack grows (ease-out) and the source shrinks by the same amount; numbers count with them. Why it moves. change: moving chips from one stack to several is what a budget is.

Mount

Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-token-budget-16x9", data-composition-src="compositions/af-tabletop-token-budget-16x9.html", data-duration="7" 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}
  • total (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}
  • pots (required): {"type":"array","minItems":2,"maxItems":4,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}
  • prefix: {"type":"string","minLength":1,"maxLength":3}
  • unit: {"type":"string","minLength":1,"maxLength":6}
  • decimals: {"type":"integer","minimum":0,"maximum":2}
  • The pots must add up to the total (the block checks). 16:9 puts the source on the left; the other sizes put it on top.

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

Timing

7s. Everything has landed by 4.2s (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 3", "title": "Split your pay", "total": "{\"label\":\"Take-home\",\"value\":2000}", "pots": "[{\"label\":\"Needs\",\"value\":1000},{\"label\":\"Wants\",\"value\":600},{\"label\":\"Saving\",\"value\":400}]", "prefix": "£", "unit": "", "decimals": 0 } ``

FAQ

What can my AI agent change in Token Budget: Into the Pots?

Your agent fills the label, title, total, pots, 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 Token Budget: Into the Pots support?

Token Budget: Into the Pots is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

How do I get Token Budget: Into the Pots?

Token Budget: Into the Pots 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

Token Budget: Into the Pots 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 →