# The First Dance: Diagram element for AI agents

> The room dims and a spotlight circle opens on the floor, with the song title in script under it.

Canonical page: https://agentframes.ai/elements/festoon/first-dance/
Markdown: https://agentframes.ai/elements/festoon/first-dance.md

## Overview

- Name: The First Dance (`firstDance`), an element: one HyperFrames block per size
- Part of: the [Festoon](https://agentframes.ai/packs/festoon.md) pack (47 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: The room dims and a spotlight circle opens on the floor, with the song title in script under it.
- Pack: [Festoon](https://agentframes.ai/packs/festoon.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 Barn (oxblood and bulb gold) (`barn`), Garden party (sage and blush bulbs) (`garden`), Midnight (navy and white bulbs) (`midnight`); avoid none
- Typical duration: 4.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/festoon/first-dance.mp4
- Poster: https://agentframes.ai/media/festoon/first-dance.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Festoon pack. Add a `firstDance` beat to plan.json on a `barn` canvas with slots `kicker`, `song`, `photo` and `focus` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | kicker | {"type":"string","minLength":0,"maxLength":16} | First dance |
| `song` | string | song | {"type":"string","minLength":1,"maxLength":30} | one for the two of you |
| `photo` | string | photo | {"type":"string","minLength":0,"maxLength":200} | assets/af-festoon/media/demo/longbarn-dusk.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 50% |

## What your agent can change

**The First Dance**. Native 1920×1080, 4.5s at 30fps.

The room dims and a spotlight circle opens on the floor, with the song title in script under it.

**Motion.** The room dims (0.7 s); the spotlight opens (ease-out, 0.7 s); the kicker fades; the song inks in.
**Why it moves.** character: the moment the lights go down.

### Mount

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

- `kicker`: {"type":"string","minLength":0,"maxLength":16}
- `song` (required): {"type":"string","minLength":1,"maxLength":30}
- `photo` (required): {"type":"string","minLength":0,"maxLength":200}
- `focus`: {"type":"string","minLength":0,"maxLength":20}

- Use a description, not a song title or lyric you do not have the rights to.
- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: `colourway` (barn, garden, midnight), `brandColour` and `accent` (optional hex), `agency`, `footer`, `exit` (lift or cut).

### Timing

4.5s. Everything has landed by 2.7s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.

### Example

```json
{
  "kicker": "First dance",
  "song": "one for the two of you",
  "photo": "assets/af-festoon/media/demo/longbarn-dusk.jpg",
  "focus": "50% 50%"
}
```

## FAQ

### What can my AI agent change in The First Dance?

Your agent fills the `kicker`, `song`, `photo` and `focus` 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 Festoon look.

### Which aspect ratios does The First Dance support?

The First Dance is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get The First Dance?

The First Dance is included in the Festoon 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 Festoon

- [Venue Plan (site plan)](https://agentframes.ai/elements/festoon/venue-plan.md): The site plan on a dark panel over the dimmed space: each space as a box (positions as fractions of the panel) with its name and capacity; the current space lights up in the bulb colour and glows; a mono note.
- [Stay Over](https://agentframes.ai/elements/festoon/stay-over.md): The on-site rooms as glowing tiles (rooms, guests sleeping, cottages) over the snug, with a script line.
- [Getting Here (area)](https://agentframes.ai/elements/festoon/getting-here.md): Place: the heading over the exterior, then the travel rows light one by one, each led by a bulb that catches: the place in Big Shoulders and the time in mono in the bulb colour.
- [The Day, Hour by Hour](https://agentframes.ai/elements/festoon/the-day-hours.md): The day's timeline: bulbs on a cable mark the moments, each lighting with its time and what happens.

## Community

Coming soon.
