22 of 50 in the Signboard pack

Floor Plan: Drawn From the Data: Diagram element for AI agents

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..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Signboard pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

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

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
titlestringtitle: {"type":"string","minLength":1,"maxLength":30}.Ground floor
totalstringtotal: {"type":"string","minLength":0,"maxLength":40}.112 m² across three floors
roomsstringrooms: 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}]
highlightnumberhighlight: {"type":"integer","minimum":-1,"maximum":7}.1

What your agent can change

Floor Plan: Drawn From the Data. Native 1920×1080, 6s at 30fps.

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.

Motion. The white slab fades in; each room's walls draw on (ease in-out, 0.08 s apart); room names and areas rise; the highlighted room floods with the board colour. Why it moves. change: drawing the walls builds the house in front of the viewer, and the flood picks out the room the agent is talking about.

Mount

Copy every manifest file into your project (plus af-signboard-runtime). Mount with a unique host id, data-composition-id="af-signboard-floor-plan-16x9", data-composition-src="compositions/af-signboard-floor-plan-16x9.html", data-duration="6" 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 (required): {"type":"string","minLength":1,"maxLength":30}
  • total: {"type":"string","minLength":0,"maxLength":40}
  • 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: {"type":"integer","minimum":-1,"maximum":7}
  • Rooms are rectangles in metres from the top-left corner; the plan is scaled to fit each size. Each room shows its area (w × h). highlight is the 0-based room to fill; -1 for none.
  • A room too small to label in a size is refused with a message (merge it into its neighbour or label it on another floor).

Style: colourway (teal, navy, charcoal), brandColour and accent (optional hex), agency, footer, exit (lift or cut).

Timing

6s. Everything has landed by 3.6s (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 { "title": "Ground floor", "total": "112 m² across three floors", "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 } ``

FAQ

What can my AI agent change in Floor Plan: Drawn From the Data?

Your agent fills the title, total, rooms and highlight 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 Floor Plan: Drawn From the Data support?

Floor Plan: Drawn From the Data is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get Floor Plan: Drawn From the Data?

Floor Plan: Drawn From the Data 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.

This is 1 of 50

Get the full Signboard pack

Floor Plan: Drawn From the Data comes as part of Signboard: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 38s · made entirely with this pack

More in Signboard

See all 50 elements in Signboard →