# The Spaces: Section title element for AI agents

> Up to three spaces in turn under one festoon, each crossfading in with its name in bulb letters and its capacity.

Canonical page: https://agentframes.ai/elements/festoon/the-spaces/
Markdown: https://agentframes.ai/elements/festoon/the-spaces.md

## Overview

- Name: The Spaces (`theSpaces`), an element: one HyperFrames block per size
- Part of: the [Festoon](https://agentframes.ai/packs/festoon.md) pack (19 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: Up to three spaces in turn under one festoon, each crossfading in with its name in bulb letters and its capacity.
- 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: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/festoon/the-spaces.mp4
- Poster: https://agentframes.ai/media/festoon/the-spaces.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Festoon pack. Add a `theSpaces` beat to plan.json on a `barn` canvas with slot `spaces` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `spaces` | string | spaces | JSON string. {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"capacity":{"type":"string","minLength":0,"maxLength":22},"photo":{"type":"string","minLength":0,"maxLength":200},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["name","photo"]}} | [{"name":"The Courtyard","capacity":"Drinks for 180","photo":"assets/af-festoon/media/demo/courtyard.jpg"},{"name":"The Long Barn","capacity":"120 seated","photo":"assets/af-festoon/media/demo/longbarn-dusk.jpg"},{"name":"The Snug","capacity":"Late bar for 60","photo":"assets/af-festoon/media/demo/snug.jpg"}] |

## What your agent can change

**The Spaces**. Native 1920×1080, 7s at 30fps.

Up to three spaces in turn under one festoon, each crossfading in with its name in bulb letters and its capacity.

**Motion.** Each space crossfades in; its name chases on; the capacity fades up; then it hands to the next.
**Why it moves.** continuity: the whole venue, one space at a time.

### Mount

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

- `spaces` (required): {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":14},"capacity":{"type":"string","minLength":0,"maxLength":22},"photo":{"type":"string","minLength":0,"maxLength":200},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["name","photo"]}}

- The spaces share the first 60% of the block; the last one holds for reading.
- Bulb letters are sampled from the glyphs at a fixed pitch per size; a word too wide for the sign is refused.
- 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

7s. Everything has landed by 4.2s (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
{
  "spaces": "[{\"name\":\"The Courtyard\",\"capacity\":\"Drinks for 180\",\"photo\":\"assets/af-festoon/media/demo/courtyard.jpg\"},{\"name\":\"The Long Barn\",\"capacity\":\"120 seated\",\"photo\":\"assets/af-festoon/media/demo/longbarn-dusk.jpg\"},{\"name\":\"The Snug\",\"capacity\":\"Late bar for 60\",\"photo\":\"assets/af-festoon/media/demo/snug.jpg\"}]"
}
```

## FAQ

### What can my AI agent change in The Spaces?

Your agent fills the `spaces` slot 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 Spaces support?

The Spaces is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get The Spaces?

The Spaces 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

- [Space Walk (tour)](https://agentframes.ai/elements/festoon/space-walk.md): The walkthrough beat: the space full frame with a slow push that comes to rest; the festoon lights; SPACE n OF m · the name in mono, the line in Big Shoulders caps and a script note.
- [Space Walk: The Orchard](https://agentframes.ai/elements/festoon/space-walk-orchard.md): The space walk for the outdoor ceremony spot.
- [Day to Night](https://agentframes.ai/elements/festoon/day-to-night.md): The barn by day crossfades to the same barn at dusk as the festoon lights up, with a title and a script line.
- [Prints on a Line](https://agentframes.ai/elements/festoon/prints-on-a-line.md): Four photos pinned under the festoon string like prints on a line, each swinging on and settling, with an optional title.

## Community

Coming soon.
