# Poll Result: Stat & chart element for AI agents

> A poll on a bib card: the question on the strip, two or three options as bars that fill to their share, the winner in the accent.

Canonical page: https://agentframes.ai/elements/split/poll/
Markdown: https://agentframes.ai/elements/split/poll.md

## Overview

- Name: Poll Result (`poll`), an element: one HyperFrames block per size
- Part of: the [Split](https://agentframes.ai/packs/split.md) pack (26 of 53). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: A poll on a bib card: the question on the strip, two or three options as bars that fill to their share, the winner in the accent.
- Pack: [Split](https://agentframes.ai/packs/split.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on none; avoid none
- Typical duration: 5s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/split/poll.mp4
- Poster: https://agentframes.ai/media/split/poll.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Split pack. Add a `poll` 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

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `question` | string | question | {"type":"string","minLength":1,"maxLength":24} | Music on long runs? |
| `options` | string | options | JSON string. {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"pct":{"type":"number","minimum":0,"maximum":100}},"required":["label","pct"]}} | [{"label":"Always","pct":58},{"label":"Podcasts","pct":31},{"label":"Silence","pct":11}] |
| `backdrop` | string | backdrop | {"type":"string","minLength":0,"maxLength":200} | assets/af-split/media/speaker-16x9.jpg |

## What your agent can change

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

A poll on a bib card: the question on the strip, two or three options as bars that fill to their share, the winner in the accent.

**Motion.** The card pins on; each bar fills (ease-out) 0.12 s apart while its percentage counts up and lands.
**Why it moves.** attention: the race between the bars is the reveal.

### Mount

Copy every manifest file into your project (plus `af-split-runtime`). Mount with a unique host id, `data-composition-id="af-split-poll-16x9"`,
`data-composition-src="compositions/af-split-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":24}
- `options` (required): {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"pct":{"type":"number","minimum":0,"maximum":100}},"required":["label","pct"]}}
- `backdrop`: {"type":"string","minLength":0,"maxLength":200}

- `pct` values must add up to 100.
- 16:9 uses the empty third beside the speaker; 9:16 the band under the chin (clear of the right-hand platform buttons); 4:5 and 1:1 the lower zone. Move it with `zoneTop`.
- `backdrop` is a still of the speaker so the block reads on its own; set it to "" over your live footage.

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `capTop` (caption top, px), `zoneTop`
(card zone top, px), `exit` (lift or hold).

### Example

```json
{
  "question": "Music on long runs?",
  "options": "[{\"label\":\"Always\",\"pct\":58},{\"label\":\"Podcasts\",\"pct\":31},{\"label\":\"Silence\",\"pct\":11}]",
  "backdrop": "assets/af-split/media/speaker-16x9.jpg"
}
```

## FAQ

### What can my AI agent change in Poll Result?

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 Split look.

### Which aspect ratios does Poll Result support?

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

### How do I get Poll Result?

Poll Result is included in the Split pack, which is part of the AgentFrames All-access subscription along with 52 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Split

- [Pace Band](https://agentframes.ai/elements/split/pace-band.md): The splits on a wristband pace band: a dark tag (the week), then two to five splits whose times tick up like a race clock and settle exactly on their value as they are said; the key split turns signal orange. A title and the handwritten note can sit under it.
- [Stat Clock (beside the head)](https://agentframes.ai/elements/split/stat-clock.md): One figure on a bib card beside the speaker: the label on the accent strip, the figure in mono counting up like a race clock and landing exactly on its value, and an optional marker note.
- [Before / After (two times)](https://agentframes.ai/elements/split/before-after.md): Two times side by side on bib cards: the before (mute strip) and the after (accent strip), the after counting up to its value, a marker note under them.
- [Rate It /10](https://agentframes.ai/elements/split/rate-it.md): A score out of ten on a paper dial: ten segments light in turn up to the score (the last one in the accent), the score stamps in the middle, and the thing being rated lands beside it.

## Community

Coming soon.
