# Timeline: The Pier: Diagram element for AI agents

> Two to five events in time. A long pier crosses the water with a lamp post per event; a figure walks the pier and each lamp lights as it is reached, with its date (spaced caps) and event beside it.

Canonical page: https://agentframes.ai/elements/archetype/timeline-pier/
Markdown: https://agentframes.ai/elements/archetype/timeline-pier.md

## Overview

- Name: Timeline: The Pier (`timelinePier`), an element: one HyperFrames block per size
- Part of: the [Archetype](https://agentframes.ai/packs/archetype.md) pack (16 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two to five events in time. A long pier crosses the water with a lamp post per event; a figure walks the pier and each lamp lights as it is reached, with its date (spaced caps) and event beside it.
- Pack: [Archetype](https://agentframes.ai/packs/archetype.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: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/archetype/timeline-pier.mp4
- Poster: https://agentframes.ai/media/archetype/timeline-pier.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Archetype pack. Add a `timelinePier` beat to plan.json on a `k` canvas with slots `title`, `items` 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":44} | How a habit *forms* |
| `items` | string | items | JSON string. {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":12},"event":{"type":"string","minLength":1,"maxLength":40}},"required":["date","event"]}} | [{"date":"Day 1","event":"It feels like effort."},{"date":"Day 10","event":"You still need a reminder."},{"date":"Day 30","event":"It starts to feel normal."},{"date":"Day 66","event":"It runs on its own."}] |
| `cues` | string | cues | JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":5} | [] |

## What your agent can change

**Timeline: The Pier**. Native 1920×1080, 8s at 30fps.

Two to five events in time. A long pier crosses the water with a lamp post per event; a figure walks the pier and each lamp lights as it is reached, with its date (spaced caps) and event beside it.

**Motion.** Pier lifts; the walker sets off; at each lamp the bulb lights with a soft halo and the date and event rise; the walker pauses, then walks on; the last lands by 55%.
**Why it moves.** change: time is distance walked, so order and gaps read at a glance.

### Mount

Copy every manifest file into your project (plus `af-archetype-runtime`). Mount with a unique host id, `data-composition-id="af-archetype-timeline-pier-16x9"`,
`data-composition-src="compositions/af-archetype-timeline-pier-16x9.html"`, `data-duration="8"` 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":44}
- `items` (required): {"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":12},"event":{"type":"string","minLength":1,"maxLength":40}},"required":["date","event"]}}
- `cues`: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":5}

- 16:9 puts every event above its lamp; the tall sizes alternate above and below the pier so each label gets twice the width.
- `cues`: scene-relative seconds for each lamp (from your transcript), one per event, at least 0.6 s apart; leave `[]` to space them so the last lands by 55%.

Style: `colourway` (void, abyss, dusk), `accent` (optional hex for the tip colour), `footer`, `enter` / `exit` (dark or cut).

### Timing

8s. Everything has landed by 4.8s (60%), then the scene holds for reading (figures keep a small idle, ripples
spread, text stays still). It fades up out of black and closes to black over the last 0.5 s.

### Example

```json
{
  "title": "How a habit *forms*",
  "items": "[{\"date\":\"Day 1\",\"event\":\"It feels like effort.\"},{\"date\":\"Day 10\",\"event\":\"You still need a reminder.\"},{\"date\":\"Day 30\",\"event\":\"It starts to feel normal.\"},{\"date\":\"Day 66\",\"event\":\"It runs on its own.\"}]",
  "cues": "[]"
}
```

## FAQ

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

Your agent fills the `title`, `items` 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 Archetype look.

### Which aspect ratios does Timeline: The Pier support?

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

### How do I get Timeline: The Pier?

Timeline: The Pier is included in the Archetype 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 Archetype

- [Step Flow: The Climb](https://agentframes.ai/elements/archetype/step-climb.md): Two to five steps in order, climbed. In 16:9 a figure hops up a staircase, one tread per step, and each step label (STEP n, title, detail) sits above its column on a dashed leader; in 9:16, 4:5 and 1:1 the figure climbs a ladder with a board per step and the labels to the right of each red tip.
- [Cycle: The Loop-the-Loop](https://agentframes.ai/elements/archetype/cycle-loop.md): A loop of three to six stages. A wireframe loop-the-loop stands in the water with chevrons showing the direction; a figure runs one full lap round the inside of the ring, and each stage marker lights and its label appears as the runner passes; the centre word sits in the middle.
- [Hub and Spoke: The Balloons](https://agentframes.ai/elements/archetype/hub-balloons.md): One idea and what connects to it. A figure stands on a plinth with the idea written on its face; three to six balloons rise out of its raised hand one by one on strings and float into an arch, each with its label.
- [Decision: Two Boards](https://agentframes.ai/elements/archetype/decision-boards.md): A two-way choice and its outcomes. A tower stands in the water with a diving board each way; each board has its label above the tip and its outcome below. The figure looks one way, then the other, then walks out along the chosen board and dives; the other side dims.

## Community

Coming soon.
