# Timeline: The Long Arrow: Diagram element for AI agents

> 3-6 dated events along a long hand-drawn arrow (across in 16:9, down in the other sizes): a tick per event, the date in blue, the event in the small hand; `current` circles one date in green.

Canonical page: https://agentframes.ai/elements/squeak/timeline/
Markdown: https://agentframes.ai/elements/squeak/timeline.md

## Overview

- Name: Timeline: The Long Arrow (`timeline`), an element: one HyperFrames block per size
- Part of: the [Squeak](https://agentframes.ai/packs/squeak.md) pack (16 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: 3-6 dated events along a long hand-drawn arrow (across in 16:9, down in the other sizes): a tick per event, the date in blue, the event in the small hand; `current` circles one date in green.
- Pack: [Squeak](https://agentframes.ai/packs/squeak.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: 9.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/squeak/timeline.mp4
- Poster: https://agentframes.ai/media/squeak/timeline.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Squeak pack. Add a `timeline` beat to plan.json on a `k` canvas with slots `title`, `items`, `current` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":50} | One referral, _start to finish_ |
| `items` | string | items | JSON string. {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":10},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["date","label"]}} | [{"date":"Day 1","label":"You deliver the win"},{"date":"Day 3","label":"You ask, with one link"},{"date":"Day 10","label":"Their friend books a call"},{"date":"Day 30","label":"A new client signs"}] |
| `current` | number | current | {"type":"integer","minimum":0,"maximum":5} | 1 |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":6} |  |

## What your agent can change

**Timeline: The Long Arrow**. Native 1920×1080, 9.5s at 30fps.

3-6 dated events along a long hand-drawn arrow (across in 16:9, down in the other sizes): a tick per event, the date in blue, the event in the small hand; `current` circles one date in green.

**Motion.** The arrow first, then tick, date and event for each in turn; the green loop on the current one.
**Why it moves.** change: the arrow is time, and the marker walks along it.

### Mount

Copy every manifest file into your project (plus `af-squeak-runtime`). Mount with a unique host id, `data-composition-id="af-squeak-timeline-16x9"`,
`data-composition-src="compositions/af-squeak-timeline-16x9.html"`, `data-duration="9.5"` 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).

- `title`: {"type":"string","minLength":1,"maxLength":50}
- `items` (required): {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":10},"label":{"type":"string","minLength":1,"maxLength":40}},"required":["date","label"]}}
- `current`: {"type":"integer","minimum":0,"maximum":5}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":6}

- `title`: optional heading, Markup: plain = black, _words_ = key green (underlined), *words* = blue; "|" breaks a line. Titles are written in capitals.
- `current`: optional index of the date to circle.
- `cues`: optional start time (s) per event from a voiceover, one per event, at least 0.6 s apart.

Style: `colourway` (classic, glass, grid), `accent` (optional hex for the key marker), `footer`, `sound` (on, off), `volume` (0-1, default 0.8), `enter` and `exit` (pan, hold or flip).

### Sound

Every stroke makes its marker sound (writing scratches, line strokes, the circle squeak, the tick, taps), booked from the same
schedule that draws it, so edited content stays in sync. The clips come from `assets/af-squeak/sfx/` (synthesised, no
recordings). `sound: "off"` makes the block silent; `volume` scales every clip.

### Timing

9.5s. Everything has been drawn by 5.7s (60%), then the scene holds for reading (the board's gloss
drifts, the writing stays still). Longer content is written faster (up to 2.5x); content that still would not finish stops the
block with a message. The board slides in from the right over the first 0.62 s and, with exit "pan", slides out to the left over the last 0.62 s at the same speed, so scenes laid end to end read as one long board.

### Example

```json
{
  "title": "One referral, _start to finish_",
  "items": "[{\"date\":\"Day 1\",\"label\":\"You deliver the win\"},{\"date\":\"Day 3\",\"label\":\"You ask, with one link\"},{\"date\":\"Day 10\",\"label\":\"Their friend books a call\"},{\"date\":\"Day 30\",\"label\":\"A new client signs\"}]",
  "current": 1
}
```

## FAQ

### What can my AI agent change in Timeline: The Long Arrow?

Your agent fills the `title`, `items`, `current` and `cues` 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 Squeak look.

### Which aspect ratios does Timeline: The Long Arrow support?

Timeline: The Long Arrow is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 9.5s.

### How do I get Timeline: The Long Arrow?

Timeline: The Long Arrow is included in the Squeak 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 Squeak

- [Step Flow: Numbered Steps](https://agentframes.ai/elements/squeak/step-flow.md): 2-5 steps in order. Each step gets a hand-drawn numbered circle, its name in capitals and a short detail; arrows are drawn from each step to the next (across in 16:9, down in the other sizes). Optional icons per step. The last step's circle is green.
- [Cycle: The Marker Loop](https://agentframes.ai/elements/squeak/cycle-loop.md): 3-6 stages that repeat. The centre word is written and ringed, then each stage is written in blue round the loop and an arrow is drawn along the loop to the next one, clockwise from the top, the last arrow closing the loop.
- [Hub and Spoke: The Ringed Idea](https://agentframes.ai/elements/squeak/hub-spoke.md): One idea and 3-6 parts. The idea is written in the middle and circled in green; spokes are drawn out to each part, which gets an icon (optional) and its name in blue.
- [Decision Branch: The Fork](https://agentframes.ai/elements/squeak/decision-branch.md): A question with two answers and where each leads. The question is written at the top; a stem forks into two arrows labelled with the conditions; each outcome is written and boxed; the pick gets the green circle and tick.

## Community

Coming soon.
