Floor Plan Clean 1
A flat's floor plan fills the ad, each room drawn with its name and the count of tasks on its list and the starting room hatched; a cold curiosity ad for a room-by-room checklist that drives a list opt-in.
The sample's post copy
Sample brand, fictional copy: the pattern to follow, written for the person's real offer.
- Platform 4 characters
- meta
- Primary text 231 characters
- Handing back the keys soon? Start in the kitchen: nine tasks, from the oven to the skirting boards. Then the bath, the bedroom and the living room, 18 more tasks, one room at a time. Get the free printable list and go room by room.
- Headline 27 characters
- Free move-out cleaning list
- Description 19 characters
- Printable · 4 rooms
- Button 8 characters
- Download
What it is for
- Angle
- curiosity
- Temperature
- cold
- Archetype
- floor plan
- Sends people to
- list opt in
- Words on the image
- At most 28
Use it in a prompt
Make the ads/floor-plan-clean ad from the FunnelDNA library in my brand, at every size (square, portrait, story, landscape), with post copy written the way the sample's is. Follow the ads skill. Ask me for the offer, images and facts you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/ads/floor-plan-clean.tsx. - Import it and pass your copy and images (Props tab):
import { FloorPlanClean } from "@/components/funneldna/ads/floor-plan-clean"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/floor-plan-clean/component.tsx 276 lines
// archetype: floor-plan
// When to use: A flat's floor plan fills the ad, each room drawn with its name and the count of tasks on its list and the starting room hatched; a cold curiosity ad for a room-by-room checklist that drives a list opt-in.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Floor plan: the hero is a flat floor plan drawn from tokens. Walls are thick --ink lines (outer walls heavier,
* doors as clean breaks, windows as thin lines across the break) and rooms are --surface floors. Inside each room,
* set in bold as part of the drawing, its name and the number of tasks on that room's list ("Kitchen · 9").
* The fx hatch Pattern shades the starting room, which also carries a brand tint (the one chosen thing).
* The headline sits above, the cue and one plain offer line below, the logo small in the top right.
* Re-composed per format: square and portrait draw a wide plan (portrait gives the extra height to the plan),
* story redraws the plan tall with the rooms stacked in two rows around a hall, and landscape puts the plan
* right and the copy left. Cold · curiosity → list opt-in.
* Truth: room counts are the real list's counts and default to empty (a room then shows its name only); the
* piece makes no deposit-back or result claim. No pins or markers on a photo: the labels ARE the drawing.
* Drawing: the SVG scales to its box with non-scaling strokes, so wall weights stay exact in pixels while the
* labels and hatch are placed in the same percentage space and always land inside their rooms.
*/
export type FloorPlanRoom = {
/** Room name as drawn in the plan, one short word ("Kitchen"). */
name: string
/** Tasks on that room's list. Empty: the name stands alone. */
tasks?: number | string
}
export type FloorPlanCleanProps = {
format?: AdFormat
/** 12 words or fewer; name who it is for and the moment. A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` for the single marker swipe. Empty: none. */
highlight?: string
/** Up to four rooms in plan order: the kitchen-sized room, the smallest (bath), a bedroom, the largest (living). */
rooms?: FloorPlanRoom[]
/** Index in `rooms` of the room the list starts with: hatched and tinted. -1: none. */
start?: number
/** One plain line under the cue: the offer terms ("Free printable list"). Empty: none. */
support?: string
cue?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
// Raised from 20: the brief sets every room's name and task count in the drawing (8 words for four rooms),
// and those labels are the ad's hero device, not extra copy.
export const wordCap = 28
export function FloorPlanClean({
format = "portrait",
headline = "Clean the whole place one room at a time.",
highlight = "",
rooms = [{ name: "Kitchen" }, { name: "Bath" }, { name: "Bedroom" }, { name: "Living" }],
start = 0,
support = "Free printable checklist",
cue = "Get the free list",
logo = "",
brand = "",
}: FloorPlanCleanProps) {
const layout = LAYOUTS[format] ?? WIDE
const list = rooms.slice(0, 4)
const startRect = start >= 0 && start < 4 ? layout.rooms[start] : undefined
return (
<AdFrame format={format} className="fd-plan">
<style href="fd-plan" precedence="default">{CSS}</style>
<LogoMark src={logo} brand={brand} className="fd-plan__logo" />
<div className="fd-plan__body">
<div className="fd-plan__head">
<AdHeadline as="h1" text={keepHyphens(headline)} highlight={keepHyphens(highlight)} mark="swipe" className="fd-plan__title" />
</div>
<div className="fd-plan__plan">
<svg className="fd-plan__svg fd-plan__fills" viewBox="0 0 1000 1000" preserveAspectRatio="none" aria-hidden focusable="false">
<rect className="fd-plan__base" x={0} y={0} width={S} height={S} />
<rect className="fd-plan__hall" {...rectAttrs(layout.hall)} />
{startRect ? <rect className="fd-plan__start" {...rectAttrs(startRect)} /> : null}
</svg>
{startRect ? (
<div className="fd-plan__hatch" style={boxStyle(startRect)} aria-hidden>
<Pattern name="hatch" tone="accent-fill" />
</div>
) : null}
<svg className="fd-plan__svg fd-plan__walls" viewBox="0 0 1000 1000" preserveAspectRatio="none" aria-hidden focusable="false">
{layout.walls.flatMap((w, wi) => {
const parts = wallParts(w)
return [
...parts.solid.map(([a, b], i) => (
<line key={`w${wi}-${i}`} className="fd-plan__wall" data-outer={w.outer ? "" : undefined} vectorEffect="non-scaling-stroke" {...linePts(w, a, b)} />
)),
...parts.windows.map((g, i) => (
<line key={`g${wi}-${i}`} className="fd-plan__win" vectorEffect="non-scaling-stroke" {...linePts(w, g[0], g[1])} />
)),
]
})}
</svg>
{list.map((room, i) => {
if (!room.name) return null
const r = layout.rooms[i]
const count = room.tasks === undefined || room.tasks === null || room.tasks === "" ? null : room.tasks
return (
<span
key={i}
className="fd-plan__room"
data-start={i === start ? "" : undefined}
style={{ left: `${((r[0] + r[2]) / 2) * 100}%`, top: `${((r[1] + r[3]) / 2) * 100}%` }}
>
<b>{room.name}</b>
{count !== null ? (
<>
<span className="fd-plan__dot" aria-hidden>·</span>
<span className="fd-plan__n">{count}</span>
</>
) : null}
</span>
)
})}
</div>
<div className="fd-plan__act">
<Cue className="fd-plan__cue">{cue}</Cue>
{support ? <p className="fd-plan__support">{support}</p> : null}
</div>
</div>
</AdFrame>
)
}
/** [x0, y0, x1, y1] as fractions of the plan box. */
type Rect = [number, number, number, number]
/** A break in a wall, [from, to] along it; "w" draws a window line across the break, otherwise it is a door. */
type Gap = [number, number, "w"?]
type Wall = { o: "h" | "v"; at: number; from: number; to: number; gaps?: Gap[]; outer?: boolean }
/** rooms: the four room slots in plan order (kitchen, bath, bedroom, living); hall is the unlabelled entrance. */
type Layout = { rooms: [Rect, Rect, Rect, Rect]; hall: Rect; walls: Wall[] }
const S = 1000
/** Square and portrait: living down the left, kitchen over the hall in the middle, bath over bedroom on the right. */
const WIDE: Layout = {
rooms: [[0.38, 0, 0.7, 0.54], [0.7, 0, 1, 0.42], [0.7, 0.42, 1, 1], [0, 0, 0.38, 1]],
hall: [0.38, 0.54, 0.7, 1],
walls: [
{ o: "h", at: 0, from: 0, to: 1, outer: true, gaps: [[0.08, 0.28, "w"], [0.46, 0.62, "w"], [0.78, 0.92, "w"]] },
{ o: "h", at: 1, from: 0, to: 1, outer: true, gaps: [[0.1, 0.28, "w"], [0.47, 0.61], [0.76, 0.94, "w"]] },
{ o: "v", at: 0, from: 0, to: 1, outer: true, gaps: [[0.34, 0.66, "w"]] },
{ o: "v", at: 1, from: 0, to: 1, outer: true, gaps: [[0.1, 0.32, "w"], [0.58, 0.84, "w"]] },
{ o: "v", at: 0.38, from: 0, to: 1, gaps: [[0.68, 0.86]] },
{ o: "h", at: 0.54, from: 0.38, to: 0.7, gaps: [[0.44, 0.62]] },
{ o: "v", at: 0.7, from: 0, to: 1, gaps: [[0.64, 0.82]] },
{ o: "h", at: 0.42, from: 0.7, to: 1, gaps: [[0.76, 0.87]] },
],
}
/** Story: redrawn tall, rooms stacked in two rows (bath and bedroom over kitchen and living) around a hall. */
const TALL: Layout = {
rooms: [[0, 0.48, 0.46, 1], [0, 0, 0.38, 0.34], [0.38, 0, 1, 0.34], [0.46, 0.48, 1, 1]],
hall: [0, 0.34, 1, 0.48],
walls: [
{ o: "h", at: 0, from: 0, to: 1, outer: true, gaps: [[0.08, 0.28, "w"], [0.52, 0.86, "w"]] },
{ o: "h", at: 1, from: 0, to: 1, outer: true, gaps: [[0.08, 0.36, "w"], [0.58, 0.9, "w"]] },
{ o: "v", at: 0, from: 0, to: 1, outer: true, gaps: [[0.08, 0.26, "w"], [0.62, 0.88, "w"]] },
{ o: "v", at: 1, from: 0, to: 1, outer: true, gaps: [[0.08, 0.26, "w"], [0.37, 0.45], [0.6, 0.88, "w"]] },
{ o: "v", at: 0.38, from: 0, to: 0.34 },
{ o: "h", at: 0.34, from: 0, to: 1, gaps: [[0.12, 0.26], [0.56, 0.7]] },
{ o: "h", at: 0.48, from: 0, to: 1, gaps: [[0.1, 0.34], [0.62, 0.76]] },
{ o: "v", at: 0.46, from: 0.48, to: 1, gaps: [[0.66, 0.84]] },
],
}
/** Landscape: a near-square plan beside the copy, kitchen and bath over a hall, living and bedroom below. */
const SIDE: Layout = {
rooms: [[0, 0, 0.56, 0.42], [0.56, 0, 1, 0.42], [0.6, 0.58, 1, 1], [0, 0.58, 0.6, 1]],
hall: [0, 0.42, 1, 0.58],
walls: [
{ o: "h", at: 0, from: 0, to: 1, outer: true, gaps: [[0.12, 0.38, "w"], [0.68, 0.88, "w"]] },
{ o: "h", at: 1, from: 0, to: 1, outer: true, gaps: [[0.12, 0.42, "w"], [0.7, 0.9, "w"]] },
{ o: "v", at: 0, from: 0, to: 1, outer: true, gaps: [[0.1, 0.32, "w"], [0.68, 0.9, "w"]] },
{ o: "v", at: 1, from: 0, to: 1, outer: true, gaps: [[0.08, 0.32, "w"], [0.44, 0.56], [0.68, 0.9, "w"]] },
{ o: "h", at: 0.42, from: 0, to: 1, gaps: [[0.16, 0.36], [0.7, 0.82]] },
{ o: "v", at: 0.56, from: 0, to: 0.42 },
{ o: "h", at: 0.58, from: 0, to: 1, gaps: [[0.22, 0.36], [0.7, 0.82]] },
{ o: "v", at: 0.6, from: 0.58, to: 1 },
],
}
const LAYOUTS: Partial<Record<AdFormat, Layout>> = { square: WIDE, portrait: WIDE, story: TALL, landscape: SIDE }
/** Hyphenated words ("move-out") never split at line ends: the hyphen becomes a non-breaking one (U+2011). */
function keepHyphens(s: string) {
return s ? s.replace(/(\S)-(\S)/g, "$1\u2011$2") : s
}
function rectAttrs(r: Rect) {
return { x: r[0] * S, y: r[1] * S, width: (r[2] - r[0]) * S, height: (r[3] - r[1]) * S }
}
function boxStyle(r: Rect): React.CSSProperties {
return { left: `${r[0] * 100}%`, top: `${r[1] * 100}%`, width: `${(r[2] - r[0]) * 100}%`, height: `${(r[3] - r[1]) * 100}%` }
}
/** Splits a wall into its solid runs and its window breaks. */
function wallParts(w: Wall) {
const gaps = [...(w.gaps ?? [])].sort((a, b) => a[0] - b[0])
const solid: [number, number][] = []
let cur = w.from
for (const g of gaps) {
if (g[0] > cur) solid.push([cur, g[0]])
cur = Math.max(cur, g[1])
}
if (cur < w.to) solid.push([cur, w.to])
return { solid, windows: gaps.filter((g) => g[2] === "w") }
}
function linePts(w: Wall, a: number, b: number) {
return w.o === "h"
? { x1: a * S, y1: w.at * S, x2: b * S, y2: w.at * S }
: { x1: w.at * S, y1: a * S, x2: w.at * S, y2: b * S }
}
const CSS = `
.fd-plan{--wall:10px;--wall-out:18px;--win:3px;--label-fs:32px}
.fd-plan__logo{position:absolute;z-index:3;top:var(--ad-m);right:var(--ad-m);color:var(--band-ink)}
.fd-plan__body{position:absolute;inset:var(--ad-m);display:flex;flex-direction:column}
.fd-plan__head{flex:none;padding-top:calc(var(--ad-w) * 0.056 + 24px)}
.fd-plan .fd-plan__title{color:var(--band-ink);line-height:1.16}
.fd-plan .fd-plan__title .fd-ad-mark[data-style="swipe"]{background:linear-gradient(177deg,transparent 0 33%,var(--marker,#fae37c) 33% 96%,transparent 96%)}
.fd-plan__plan{position:relative;flex:1 1 auto;min-height:0;margin-block:32px;filter:drop-shadow(0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.06) c h / 0.45)) drop-shadow(0 16px 22px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.06) c h / 0.4))}
.fd-plan__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.fd-plan__fills{z-index:1}
.fd-plan__walls{z-index:3}
.fd-plan__base{fill:var(--surface)}
.fd-plan__hall{fill:color-mix(in oklch,var(--ink) 5%,var(--surface))}
.fd-plan__start{fill:color-mix(in oklch,var(--accent) 12%,var(--surface))}
.fd-plan__wall{fill:none;stroke:var(--ink);stroke-width:var(--wall);stroke-linecap:square}
.fd-plan__wall[data-outer]{stroke-width:var(--wall-out)}
.fd-plan__win{fill:none;stroke:var(--ink);stroke-width:var(--win);stroke-linecap:butt}
.fd-plan__hatch{position:absolute;z-index:2;overflow:hidden;isolation:isolate;pointer-events:none}
.fd-plan__room{position:absolute;z-index:4;transform:translate(-50%,-50%);display:inline-flex;align-items:baseline;white-space:nowrap;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:var(--label-fs);line-height:1.15;letter-spacing:-0.01em;color:var(--ink)}
.fd-plan__room b{font-weight:inherit}
.fd-plan__room[data-start]{background:var(--surface);padding:.16em .42em .2em;border-radius:calc(var(--radius,10px) * 0.8)}
.fd-plan__dot{color:var(--muted);margin-inline:.32em}
.fd-plan__n{color:var(--accent);font-variant-numeric:tabular-nums}
.fd-plan__act{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.fd-plan__support{margin:0;font-family:var(--font-body);font-weight:600;font-size:max(var(--ad-min),30px);line-height:1.2;color:color-mix(in oklch,var(--band-ink) 84%,var(--band));text-wrap:pretty}
.fd-plan[data-format="square"] .fd-plan__title{font-size:72px}
.fd-plan[data-format="square"] .fd-plan__act{flex-direction:row;align-items:center;gap:28px}
.fd-plan[data-format="square"] .fd-plan__support{flex:1 1 auto;min-width:0}
.fd-plan[data-format="square"] .fd-plan__cue{--cue-fs:38px}
.fd-plan[data-format="portrait"]{--wall:11px;--wall-out:20px;--label-fs:36px}
.fd-plan[data-format="portrait"] .fd-plan__title{font-size:78px}
.fd-plan[data-format="portrait"] .fd-plan__plan{margin-block:36px}
.fd-plan[data-format="portrait"] .fd-plan__cue{--cue-fs:42px}
.fd-plan[data-format="portrait"] .fd-plan__support{font-size:32px}
.fd-plan[data-format="story"]{--wall:12px;--wall-out:22px;--win:4px;--label-fs:44px}
.fd-plan[data-format="story"] .fd-plan__logo{top:calc(var(--safe-top) + 14px)}
.fd-plan[data-format="story"] .fd-plan__body{top:calc(var(--safe-top) + 14px);bottom:calc(var(--safe-bottom) + 20px)}
.fd-plan[data-format="story"] .fd-plan__title{font-size:80px}
.fd-plan[data-format="story"] .fd-plan__plan{margin-block:40px}
.fd-plan[data-format="story"] .fd-plan__act{flex-direction:row;align-items:center;gap:28px}
.fd-plan[data-format="story"] .fd-plan__support{flex:1 1 auto;min-width:0;font-size:32px}
.fd-plan[data-format="story"] .fd-plan__cue{--cue-fs:46px}
.fd-plan[data-format="landscape"]{--wall:8px;--wall-out:14px;--label-fs:24px}
.fd-plan[data-format="landscape"] .fd-plan__body{display:grid;grid-template-columns:540px minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;column-gap:36px}
.fd-plan[data-format="landscape"] .fd-plan__head{grid-column:1;grid-row:2;padding-top:0;margin-bottom:28px}
.fd-plan[data-format="landscape"] .fd-plan__title{font-size:56px}
.fd-plan[data-format="landscape"] .fd-plan__act{grid-column:1;grid-row:3;gap:10px}
.fd-plan[data-format="landscape"] .fd-plan__plan{grid-column:2;grid-row:1 / -1;margin:calc(var(--ad-w) * 0.056 + 20px) 0 0}
.fd-plan[data-format="landscape"] .fd-plan__cue{--cue-fs:28px}
.fd-plan[data-format="landscape"] .fd-plan__support{font-size:24px}
`
export default FloorPlanClean
pieces/ads/floor-plan-clean/specimen.tsx 51 lines
import * as React from "react"
import { slot } from "../../slots"
import { FloorPlanClean, formats } from "../floor-plan-clean"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Teaselwood Home, cleaning tools, offering a free printable move-out cleaning list.
const teaselwoodLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 64"><path d="M10 30 30 13 50 30v24H10z" fill="none" stroke="currentColor" stroke-width="6" stroke-linejoin="round"/><path d="M30 54V36" stroke="currentColor" stroke-width="6" stroke-linecap="round"/><text x="64" y="44" font-family="Helvetica, Arial, sans-serif" font-size="31" font-weight="700" letter-spacing="-.4" fill="currentColor">teaselwood</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Handing back the keys soon? Start in the kitchen: nine tasks, from the oven to the skirting boards. Then the bath, the bedroom and the living room, 18 more tasks, one room at a time. Get the free printable list and go room by room.",
headline: "Free move-out cleaning list",
description: "Printable · 4 rooms",
cta: "Download",
}
// Sample brand (graphite-sky palette, workhorse fonts, pill-bold button; invented): previews show this ad in it by default.
export const sampleBrand = {
name: "Teaselwood Home",
theme: "dark",
background: "#15181f",
colors: ["#4aa8ff", "#ff8a5c"],
fonts: ["Archivo", "Inter"],
button: "pill-bold",
}
export default function FloorPlanCleanSpecimen({ state = "portrait" }: { state?: string }) {
return (
<FloorPlanClean
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Cleaning a rented flat before move-out day? Go room by room."
highlight="room by room."
rooms={[
{ name: "Kitchen", tasks: 9 },
{ name: "Bath", tasks: 7 },
{ name: "Bedroom", tasks: 5 },
{ name: "Living", tasks: 6 },
]}
start={0}
support="Printable · 27 tasks"
cue="Get the free list"
logo={slot("logo", teaselwoodLogo)}
brand="Teaselwood Home"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalFloorPlanClean |
AdFormat |
Default "portrait"
|
headline OptionalFloorPlanClean |
string |
Default "Clean the whole place one room at a time."
|
highlight OptionalFloorPlanClean |
string |
Default ""
|
rooms OptionalFloorPlanClean |
FloorPlanRoom[] |
Default [{ name: "Kitchen" }, { name: "Bath" }, { name: "Bedroom" }, { name: "Living" }]
|
start OptionalFloorPlanClean |
number |
Default 0
|
support OptionalFloorPlanClean |
string |
Default "Free printable checklist"
|
cue OptionalFloorPlanClean |
string |
Default "Get the free list"
|
logo OptionalFloorPlanClean |
string |
Default ""
|
brand OptionalFloorPlanClean |
string |
Default ""
|
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--display-case--display-weight- Headlines: weight, letter case and tracking.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.