27 of 54 in the Pitchside pack

Fan Poll: Stat & chart element for AI agents

A poll: the question in caps, two or three options as bars that fill to their share, the winner in yellow..

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

Watermarked preview. The Pitchside pack includes all 54 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Pitchside pack. Add a `fanPoll` beat to plan.json on a `k` canvas with slots `question`, `options` and `backdrop` 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
questionstringquestion: {"type":"string","minLength":1,"maxLength":30}.Who wins the *derby*?
optionsstringoptions: JSON string. {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"pct":{"type":"number","minimum":0,"maximum":100}},"required":["label","pct"]}}.[{"label":"Kingsbridge","pct":46},{"label":"Riverside","pct":38},{"label":"Draw","pct":16}]
backdropstringbackdrop: {"type":"string","minLength":0,"maxLength":200}.assets/af-pitchside/media/speaker-16x9.jpg

What your agent can change

Fan Poll. Native 1920×1080, 5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

A poll: the question in caps, two or three options as bars that fill to their share, the winner in yellow.

Motion. Panels slide in on a hard 6-frame ease (no overshoot) with a light flash on the leading edge. Bars fill (ease-out) while the % counts. Why it moves. attention: the bars racing is the reveal.

Mount

Copy every manifest file into your project (plus af-pitchside-runtime). Mount with a unique host id, data-composition-id="af-pitchside-fan-poll-16x9", data-composition-src="compositions/af-pitchside-fan-poll-16x9.html", data-duration and data-variable-values. A longer data-duration than 5s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).

  • question (required): {"type":"string","minLength":1,"maxLength":30}
  • options (required): {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"pct":{"type":"number","minimum":0,"maximum":100}},"required":["label","pct"]}}
  • backdrop: {"type":"string","minLength":0,"maxLength":200}
  • pct must add up to 100.
  • backdrop paints the studio (stage + your still in the window) so the block reads on its own; set it to "" over your own studio film (the starters do).

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: exit (wipe or hold).

Example

``json { "question": "Who wins the *derby*?", "options": "[{\"label\":\"Kingsbridge\",\"pct\":46},{\"label\":\"Riverside\",\"pct\":38},{\"label\":\"Draw\",\"pct\":16}]", "backdrop": "assets/af-pitchside/media/speaker-16x9.jpg" } ``

FAQ

What can my AI agent change in Fan Poll?

Your agent fills the question, options and backdrop 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 Pitchside look.

Which aspect ratios does Fan Poll support?

Fan Poll is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

How do I get Fan Poll?

Fan Poll is included in the Pitchside pack, which is part of the AgentFrames All-access subscription along with 53 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 54

Get the full Pitchside pack

Fan Poll comes as part of Pitchside: 54 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) · 23s · made entirely with this pack

More in Pitchside

See all 54 elements in Pitchside →