# Set Card: Stat & chart element for AI agents

> The set on the gym floor: the weight plate rolls in and spins to a stop on the number while its ring fills to the progress, the sets × reps land in outline caps, then the form cues slap on as tape strips one after another at angles and the marker writes each one (the last on the coloured tape).

Canonical page: https://agentframes.ai/elements/taped/set-card/
Markdown: https://agentframes.ai/elements/taped/set-card.md

## Overview

- Name: Set Card (`setCard`), an element: one HyperFrames block per size
- Part of: the [Taped](https://agentframes.ai/packs/taped.md) pack (4 of 53). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: The set on the gym floor: the weight plate rolls in and spins to a stop on the number while its ring fills to the progress, the sets × reps land in outline caps, then the form cues slap on as tape strips one after another at angles and the marker writes each one (the last on the coloured tape).
- Pack: [Taped](https://agentframes.ai/packs/taped.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: 6s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/taped/set-card.mp4
- Poster: https://agentframes.ai/media/taped/set-card.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Taped pack. Add a `setCard` beat to plan.json on a `k` canvas with slots `value`, `label`, `progress`, `sets`, `items`, `lastAccent`, `cues` and `backdrop` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `value` | string | value | {"type":"string","minLength":1,"maxLength":5} | +20 |
| `label` | string | label | {"type":"string","minLength":0,"maxLength":16} | kg · 6 weeks |
| `progress` | number | progress | {"type":"number","minimum":0,"maximum":1} | 0.75 |
| `sets` | string | sets | {"type":"string","minLength":0,"maxLength":6} | 8×3 |
| `items` | string | items | JSON string. {"type":"array","minItems":0,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":22}} | ["Three secs down","Pause at the bottom","Drive up hard"] |
| `lastAccent` | boolean | lastAccent | {"type":"boolean"} | true |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14} | [] |
| `backdrop` | string | backdrop | {"type":"string","minLength":0,"maxLength":200} | assets/af-taped/media/speaker-16x9.jpg |

## What your agent can change

**Set Card (signature)**. Native 1920×1080, 6s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

The set on the gym floor: the weight plate rolls in and spins to a stop on the number while its ring fills to the progress, the sets × reps land in outline caps, then the form cues slap on as tape strips one after another at angles and the marker writes each one (the last on the coloured tape).

**Motion.** The plate rolls in decelerating (540° of spin) and the number counts up to exactly its value; the sets × reps punch in; each tape strip slaps on its cue with a 2-frame squash and the marker writes it left to right (0.42 s).
**Why it moves.** character + attention: the plate spinning to a stop and the tape slapping on are the gym, and each cue lands as it is said.

### Mount

Copy every manifest file into your project (plus `af-taped-runtime`). Mount with a unique host id, `data-composition-id="af-taped-set-card-16x9"`,
`data-composition-src="compositions/af-taped-set-card-16x9.html"`, `data-duration` and `data-variable-values`. A longer `data-duration` than 6s
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).

- `value` (required): {"type":"string","minLength":1,"maxLength":5}
- `label`: {"type":"string","minLength":0,"maxLength":16}
- `progress`: {"type":"number","minimum":0,"maximum":1}
- `sets`: {"type":"string","minLength":0,"maxLength":6}
- `items`: {"type":"array","minItems":0,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":22}}
- `lastAccent`: {"type":"boolean"}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}
- `backdrop`: {"type":"string","minLength":0,"maxLength":200}

- `value` counts up to exactly that figure ("+20", "100", "5"). `sets` takes "×" or "x" (shown in the accent). `cues`: one block-relative time per form cue; leave it empty to slap them 0.5 s apart from 1.1 s.
- `backdrop` is a still of the creator so the block reads on its own (creator window + floor); set it to "" over your live 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
{
  "value": "+20",
  "label": "kg · 6 weeks",
  "progress": 0.75,
  "sets": "8×3",
  "items": "[\"Three secs down\",\"Pause at the bottom\",\"Drive up hard\"]",
  "lastAccent": true,
  "cues": "[]",
  "backdrop": "assets/af-taped/media/speaker-16x9.jpg"
}
```

## FAQ

### What can my AI agent change in Set Card?

Your agent fills the `value`, `label`, `progress`, `sets`, `items`, `lastAccent`, `cues` 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 Taped look.

### Which aspect ratios does Set Card support?

Set Card is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

### How do I get Set Card?

Set Card is included in the Taped 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 Taped

- [Stat Tile](https://agentframes.ai/elements/taped/stat-tile.md): One big figure on a taped panel that counts up and lands exactly, its label in the accent and an optional context line.
- [Poll](https://agentframes.ai/elements/taped/poll.md): A poll: the question in heavy caps, two or three options as bars that fill to their share, the winner in the accent.
- [Then vs Now](https://agentframes.ai/elements/taped/then-now.md): Two stat tiles side by side, THEN (muted) and NOW (accent edge), the NOW figure counting up, with a context line.
- [Rate It /10](https://agentframes.ai/elements/taped/rate-it.md): A rating panel: what is rated, the score counting up to its value, and ten pips that light up to the score.

## Community

Coming soon.
