# Room Pop-Out From the Plan: Diagram element for AI agents

> A small floor plan draws, one room is filled, and that room grows out of the plan into its photo with its name and size.

Canonical page: https://agentframes.ai/elements/signboard/room-pop-out/
Markdown: https://agentframes.ai/elements/signboard/room-pop-out.md

## Overview

- Name: Room Pop-Out From the Plan (`roomPopOut`), an element: one HyperFrames block per size
- Part of: the [Signboard](https://agentframes.ai/packs/signboard.md) pack (23 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: A small floor plan draws, one room is filled, and that room grows out of the plan into its photo with its name and size.
- Pack: [Signboard](https://agentframes.ai/packs/signboard.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly); this pack is Coming soon
- 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 Teal and coral (`teal`), Navy and gold (`navy`), Charcoal and lime (`charcoal`); avoid none
- Typical duration: 5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/signboard/room-pop-out.mp4
- Poster: https://agentframes.ai/media/signboard/room-pop-out.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Signboard pack. Add a `roomPopOut` beat to plan.json on a `teal` canvas with slots `rooms`, `highlight`, `name`, `photo` and `focus` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `rooms` | string | rooms | JSON string. {"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":18},"x":{"type":"number","minimum":0,"maximum":40},"y":{"type":"number","minimum":0,"maximum":40},"w":{"type":"number","minimum":1,"maximum":30},"h":{"type":"number","minimum":1,"maximum":30}},"required":["name","x","y","w","h"]}} | [{"name":"Living room","x":0,"y":0,"w":4.4,"h":4.6},{"name":"Kitchen / diner","x":4.4,"y":0,"w":4.2,"h":4.6},{"name":"Hall","x":0,"y":4.6,"w":2.6,"h":2.4},{"name":"Snug","x":2.6,"y":4.6,"w":3.2,"h":2.4},{"name":"WC","x":5.8,"y":4.6,"w":2.8,"h":2.4}] |
| `highlight` | number | highlight | {"type":"integer","minimum":0,"maximum":7} | 1 |
| `name` | string | name | {"type":"string","minLength":0,"maxLength":24} | Kitchen / diner |
| `photo` | string | photo | {"type":"string","minLength":0,"maxLength":200} | assets/af-signboard/media/demo/kitchen.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 50% |

## What your agent can change

**Room Pop-Out From the Plan**. Native 1920×1080, 5s at 30fps.

A small floor plan draws, one room is filled, and that room grows out of the plan into its photo with its name and size.

**Motion.** Rooms fade in 0.06 s apart; the highlighted room's rectangle grows into the photo frame (ease in-out, 0.7 s); the name and size rise.
**Why it moves.** continuity: the photo comes from its place on the plan, so the viewer knows where the room is.

### Mount

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

- `rooms` (required): {"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":18},"x":{"type":"number","minimum":0,"maximum":40},"y":{"type":"number","minimum":0,"maximum":40},"w":{"type":"number","minimum":1,"maximum":30},"h":{"type":"number","minimum":1,"maximum":30}},"required":["name","x","y","w","h"]}}
- `highlight` (required): {"type":"integer","minimum":0,"maximum":7}
- `name`: {"type":"string","minLength":0,"maxLength":24}
- `photo` (required): {"type":"string","minLength":0,"maxLength":200}
- `focus`: {"type":"string","minLength":0,"maxLength":20}

- Rooms use the same metres as `floor-plan` (property.json `plan.rooms`). The size line is computed from w × h.

Style: `colourway` (teal, navy, charcoal), `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
{
  "rooms": "[{\"name\":\"Living room\",\"x\":0,\"y\":0,\"w\":4.4,\"h\":4.6},{\"name\":\"Kitchen / diner\",\"x\":4.4,\"y\":0,\"w\":4.2,\"h\":4.6},{\"name\":\"Hall\",\"x\":0,\"y\":4.6,\"w\":2.6,\"h\":2.4},{\"name\":\"Snug\",\"x\":2.6,\"y\":4.6,\"w\":3.2,\"h\":2.4},{\"name\":\"WC\",\"x\":5.8,\"y\":4.6,\"w\":2.8,\"h\":2.4}]",
  "highlight": 1,
  "name": "Kitchen / diner",
  "photo": "assets/af-signboard/media/demo/kitchen.jpg",
  "focus": "50% 50%"
}
```

## FAQ

### What can my AI agent change in Room Pop-Out From the Plan?

Your agent fills the `rooms`, `highlight`, `name`, `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 Signboard look.

### Which aspect ratios does Room Pop-Out From the Plan support?

Room Pop-Out From the Plan is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Room Pop-Out From the Plan?

Room Pop-Out From the Plan is included in the Signboard 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 Signboard

- [Floor Plan: Drawn From the Data](https://agentframes.ai/elements/signboard/floor-plan.md): Draws the floor plan from room rectangles in metres (from property.json), wall by wall, labels each room with its size, then fills one room in the highlight colour.
- [Area Map: Pin and Distances](https://agentframes.ai/elements/signboard/area-map.md): The neighbourhood: a stylised street map (drawn in code, not a real map) fades on, the pin drops on the area with its name, and two to five nearby places arrive as chips with walking or driving times.
- [Distance Chips](https://agentframes.ai/elements/signboard/distance-chips.md): A title and up to five travel-time chips over a photo, each led by its icon.
- [Neighbourhood Highlights](https://agentframes.ai/elements/signboard/area-highlights.md): Three photo tiles of the area rise into place under a title, each with its label.

## Community

Coming soon.
