# Zoom to the Door: Section title element for AI agents

> The camera pushes from the whole sheet down to the cabin, the pin drops on it and the name and grid reference land.

Canonical page: https://agentframes.ai/elements/contour/zoom-to-the-door/
Markdown: https://agentframes.ai/elements/contour/zoom-to-the-door.md

## Overview

- Name: Zoom to the Door (`zoomToTheDoor`), an element: one HyperFrames block per size
- Part of: the [Contour](https://agentframes.ai/packs/contour.md) pack (19 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: The camera pushes from the whole sheet down to the cabin, the pin drops on it and the name and grid reference land.
- Pack: [Contour](https://agentframes.ai/packs/contour.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 Explorer (map buff, woodland green, route pink) (`explorer`), Coast (sand, sea blue, red route) (`coast`), Winter (snow white, slate contours, orange route) (`winter`); avoid none
- Typical duration: 5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/contour/zoom-to-the-door.mp4
- Poster: https://agentframes.ai/media/contour/zoom-to-the-door.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Contour pack. Add a `zoomToTheDoor` beat to plan.json on a `explorer` canvas with slots `name`, `gridRef` and `lake` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `name` | string | name | {"type":"string","minLength":1,"maxLength":24} | Larchwood Cabin |
| `gridRef` | string | gridRef | {"type":"string","minLength":0,"maxLength":14} | GR 341 972 |
| `lake` | string | lake | {"type":"string","minLength":0,"maxLength":14} | Larch Water |

## What your agent can change

**Zoom to the Door**. Native 1920×1080, 5s at 30fps.

The camera pushes from the whole sheet down to the cabin, the pin drops on it and the name and grid reference land.

**Motion.** The sheet draws; one slow push to 2.6-3× (ease in-out, 1.6 s); the pin drops; the name and plate rise.
**Why it moves.** continuity: from the whole valley to your front door.

### Mount

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

- `name` (required): {"type":"string","minLength":1,"maxLength":24}
- `gridRef`: {"type":"string","minLength":0,"maxLength":14}
- `lake`: {"type":"string","minLength":0,"maxLength":14}

- The map is one fictional landscape (no real places, OS marks or sheet numbers), cropped per size.
- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: `colourway` (explorer, coast, winter), `brandColour` and `accent` (optional hex), `agency`, `footer`, `exit` (lift or cut).

### Timing

5s. Everything has landed by 3.0s (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
{
  "name": "Larchwood Cabin",
  "gridRef": "GR 341 972",
  "lake": "Larch Water"
}
```

## FAQ

### What can my AI agent change in Zoom to the Door?

Your agent fills the `name`, `gridRef` and `lake` 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 Contour look.

### Which aspect ratios does Zoom to the Door support?

Zoom to the Door is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Zoom to the Door?

Zoom to the Door is included in the Contour 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 Contour

- [Room Loupe (tour)](https://agentframes.ai/elements/contour/room-loupe.md): The tour beat: the room photo fills the frame with a slow 5% push; the room plate rises with the ROOM n OF m tab, and a loupe zooms into the walking map to show where the cabin sits, the pin dropping into it over the grid reference.
- [Room Loupe: Outside](https://agentframes.ai/elements/contour/loupe-outside.md): The room loupe for outside: the hot tub, the deck, the jetty.
- [Three Panels](https://agentframes.ai/elements/contour/three-panels.md): Three photos unfold one after another on the map like folded map panels, each captioned and counted.
- [The Viewpoint](https://agentframes.ai/elements/contour/the-viewpoint.md): The blue viewpoint star pops by the lake and the view photo unfolds from it, with a handwritten note.

## Community

Coming soon.
