# Legend: The Dots Unfold: Label & callout element for AI agents

> A key for 2-6 colours: the pack’s colour dots start in a row like the progress dots, then travel into a labelled key on a paper card.

Canonical page: https://agentframes.ai/elements/ascent/legend/
Markdown: https://agentframes.ai/elements/ascent/legend.md

## Overview

- Name: Legend: The Dots Unfold (`legend`), an element: one HyperFrames block per size
- Part of: the [Ascent](https://agentframes.ai/packs/ascent.md) pack (30 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: A key for 2-6 colours: the pack’s colour dots start in a row like the progress dots, then travel into a labelled key on a paper card.
- Pack: [Ascent](https://agentframes.ai/packs/ascent.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 Sky (pale blue) (`sky`), Dawn (peach) (`dawn`), Night (navy) (`night`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/ascent/legend.mp4
- Poster: https://agentframes.ai/media/ascent/legend.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Ascent pack. Add a `legend` beat to plan.json on a `sky` canvas with slots `label`, `title`, `body`, `keyTitle`, `items`, `sceneIndex` and `sceneTotal` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":34} | Reading the map |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":60} | What the colours mean |
| `body` | string | body | {"type":"string","minLength":1,"maxLength":96} |  |
| `keyTitle` | string | keyTitle | {"type":"string","minLength":1,"maxLength":24} | Key |
| `items` | string | items | JSON string. {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"detail":{"type":"string","minLength":1,"maxLength":50}},"required":["label"]}} | [{"label":"Low orbit","detail":"Up to 2,000 km. Most satellites."},{"label":"Middle orbit","detail":"Where GPS satellites fly."},{"label":"Geostationary","detail":"35,786 km. Stays over one spot."}] |
| `sceneIndex` | number | Zero-based scene position (progress dots) |  | 0 |
| `sceneTotal` | number | Total scenes (progress dots) |  | 1 |

## What your agent can change

**Legend: The Dots Unfold** (Annotations). Native 1920×1080, 8s at 30fps.

A key for 2-6 colours: the pack’s colour dots start in a row like the progress dots, then travel into a labelled key on a paper card.

**Motion.** The card rises; the dots pop in a row in its corner and travel one by one into their rows (in-out), each label and detail rising as its dot arrives.
**Why it moves.** attention: the dots you have been seeing turn into their meanings, so the colours are learned once.

### Mount

Copy every manifest file path → target into your project (plus `af-ascent-runtime`). Mount with a unique host id, `data-composition-id="af-ascent-legend-16x9"`,
`data-composition-src="compositions/af-ascent-legend-16x9.html"`, `data-duration="8"` and native `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 inside `data-variable-values`. Every slot is checked against `constraints.json` before anything draws;
the block stops with a message naming the slot, its value and the fix (it never truncates or shrinks text to fit). Measured layout
limits (lines per box, items per layout) are also enforced and reported the same way.

- `label`: string. {"type":"string","minLength":1,"maxLength":34}
- `title` (required): string. {"type":"string","minLength":1,"maxLength":60}
- `body`: string. {"type":"string","minLength":1,"maxLength":96}
- `keyTitle`: string. {"type":"string","minLength":1,"maxLength":24}
- `items` (required): JSON string. {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"detail":{"type":"string","minLength":1,"maxLength":50}},"required":["label"]}}

- Item i uses palette colour i, the same colour the other scenes use for entity i.

Style (role "style", defaults from brand.json): `brandName`, `series`, `colourway` (sky | dawn | night), `palette` (rainbow | cool | warm),
`accent`, `headingFont` (Zilla Slab | Fredoka), `bodyFont` (Nunito | Zilla Slab Text), `logo` (empty or inline base64 image), `footer`.
Progress dots: `sceneIndex` (zero-based) and `sceneTotal`.

### Timing

8s. Everything has landed by 4.8s (60%), then the scene holds for reading and lifts out over the last 0.4 s. A reading-time check rejects copy that would not be readable before the outro.


### Example

```json
{
  "label": "Reading the map",
  "title": "What the colours mean",
  "keyTitle": "Key",
  "items": "[{\"label\":\"Low orbit\",\"detail\":\"Up to 2,000 km. Most satellites.\"},{\"label\":\"Middle orbit\",\"detail\":\"Where GPS satellites fly.\"},{\"label\":\"Geostationary\",\"detail\":\"35,786 km. Stays over one spot.\"}]"
}
```

Source: editable HTML + the shared runtime. Facts in the example content: see the pack's docs/SOURCES.md.

## FAQ

### What can my AI agent change in Legend: The Dots Unfold?

Your agent fills the `label`, `title`, `body`, `keyTitle`, `items`, `sceneIndex` and `sceneTotal` 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 Ascent look.

### Which aspect ratios does Legend: The Dots Unfold support?

Legend: The Dots Unfold is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Legend: The Dots Unfold?

Legend: The Dots Unfold is included in the Ascent 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.

## More in Ascent

- [Pointer Callout: Leader to the Row](https://agentframes.ai/elements/ascent/pointer-callout.md): Points at one row of a paper card and explains it: a leader line runs from the callout node and its dot lands on the exact row, which tints.
- [Key Phrase: Banner Tow](https://agentframes.ai/elements/ascent/key-phrase.md): One phrase to remember, on a paper banner towed in by a paper plane; one word is underlined in the six colours and gets a sparkle.
- [Caution: Storm Strike](https://agentframes.ai/elements/ascent/caution.md): A warning: a paper cloud darkens into a storm and a lightning leader strikes the warning card once.
- [Opening Hook: Liftoff](https://agentframes.ai/elements/ascent/opening-hook.md): Opens the explainer: the premise lands in big slab type while a paper rocket lifts off, its exhaust becoming the rainbow spine of the series.

## Community

Coming soon.
