Area Map Lawn 1
A schematic neighbourhood map with the served area shaded and named inside it, set beside the real service terms; a cold, offer-led local-service ad that drives first bookings.
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 188 characters
- Westbury Heights: your lawn mowed every Friday, finished before you're home from work. $45 a visit, no contract, skip or stop any week. Pick your first Friday and we'll take it from there.
- Headline 27 characters
- Weekly mow $45, no contract
- Description 21 characters
- Westbury Heights only
- Button 8 characters
- Book Now
What it is for
- Angle
- offer led
- Temperature
- cold
- Archetype
- area map
- Sends people to
- booking
- Words on the image
- At most 22
Use it in a prompt
Make the ads/area-map-lawn 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/area-map-lawn.tsx. - Import it and pass your copy and images (Props tab):
import { AreaMapLawn } from "@/components/funneldna/ads/area-map-lawn"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/area-map-lawn/component.tsx 266 lines
// archetype: area-map
// When to use: A schematic neighbourhood map with the served area shaded and named inside it, set beside the real service terms; a cold, offer-led local-service ad that drives first bookings.
import * as React from "react"
import { AD_FORMATS, AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
/**
* Area map: a simplified neighbourhood drawn in SVG from tokens fills the frame (residential streets as --band-ink
* lines on a --band ground, four main roads that bridge one creek, one park that fills a single street block). The
* served area is the hero: one solid --accent-fill shape, lifted with a short dark shadow. Its name is set straight on
* the map like a cartographer's label: bold display type in --band-ink with a thin crisp halo in --band (zero-blur
* outline, no box), so the streets inside the area read through around the letters and the name holds contrast on
* the fill in every theme. A solid --card panel, split from the map on a strong diagonal (colour-block), carries the
* headline, the terms and the cue; the logo sits top right on a small card plate (the map's legend corner), so it
* reads on any map. Streets and roads are drawn from --band-ink, not --surface, so the map stays legible when a dark
* theme turns the surface dark.
* Cold · offer-led → booking.
* Re-composed per format: square and portrait put the map above a diagonal panel (portrait gives the map the
* taller share); story runs the map the full height between a top panel (logo, headline) and a bottom panel
* (terms and the cue, bottom edge at y 1560), with the creek and roads showing again below; landscape sets the
* panel left and the map right. Each format re-frames the map around the area through its own viewBox (scale 1
* unit = s px), so the area and its label land where the composition wants them; nothing is stretched.
* Truth: the map is schematic, never a real street plan; the area name and the price are the real service terms.
* No pins, markers or map image. The key headline phrase is set in --accent (text-safe on the card in every
* theme) rather than a yellow swipe, because a swipe cannot hold contrast once the panel turns dark.
* wordCap 22: the served area's name inside the shape is part of the device and adds two words on the image.
*/
export type AreaMapLawnProps = {
format?: AdFormat
/** Names the audience and the moment, 12 words or fewer. */
headline?: string
/** One phrase inside `headline` set in the accent colour. Empty: none. */
highlight?: string
/** The served area's name, set inside the shaded shape. Empty: the shape carries no label. */
area?: string
/** Outline preset for the served area. */
mapShape?: "rounded" | "long" | "corner"
/** The real service terms, parts split on " · "; the first part (the price) is set bold. Empty: none. */
terms?: string
/** The page button's words. */
cue?: string
/** Logo slot image. */
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 22
export function AreaMapLawn({
format = "portrait",
headline = "Your street is in. Book a weekly visit.",
highlight = "",
area = "Your area",
mapShape = "rounded",
terms = "Weekly service · no contract",
cue = "Book my first visit",
logo = "",
brand = "",
}: AreaMapLawnProps) {
const rawId = React.useId()
const clipId = `fd-areamap-clip-${rawId.replace(/[^a-zA-Z0-9_-]/g, "")}`
const shape = AREAS[mapShape] || AREAS.rounded
const spec = AD_FORMATS[format] || AD_FORMATS.square
const view = VIEW[format] || VIEW.square
const x0 = CX - view.tx / view.s
const y0 = CY - view.ty / view.s
const viewBox = `${r(x0)} ${r(y0)} ${r(spec.width / view.s)} ${r(spec.height / view.s)}`
const labelPos: React.CSSProperties = {
left: `${r(view.tx + (shape.at[0] - CX) * view.s)}px`,
top: `${r(view.ty + (shape.at[1] - CY) * view.s)}px`,
}
const parts = terms.split(" · ").map((p) => p.trim()).filter(Boolean)
return (
<AdFrame format={format} className="fd-areamap">
<style href="fd-areamap" precedence="default">{CSS}</style>
<svg className="fd-areamap__map" viewBox={viewBox} preserveAspectRatio="xMidYMid slice" aria-hidden focusable="false">
<defs>
<clipPath id={clipId}>
<path d={shape.d} />
</clipPath>
</defs>
<rect className="fd-areamap__ground" x={-2000} y={-2000} width={7400} height={7400} />
<g transform={GRID_TURN}>
<path className="fd-areamap__grid" d={GRID} />
<rect className="fd-areamap__park" x={PARK.x} y={PARK.y} width={PARK.w} height={PARK.h} rx={PARK.rx} />
</g>
<path className="fd-areamap__bank" d={CREEK} />
<path className="fd-areamap__water" d={CREEK} />
<path className="fd-areamap__roads" d={ROADS} />
<path className="fd-areamap__area" d={shape.d} />
<g className="fd-areamap__inner" clipPath={`url(#${clipId})`}>
<g transform={GRID_TURN}>
<path className="fd-areamap__inner-grid" d={GRID} />
</g>
<path className="fd-areamap__inner-roads" d={ROADS} />
</g>
</svg>
{area ? <p className="fd-areamap__label" style={labelPos}>{area}</p> : null}
<div className="fd-areamap__panel" aria-hidden />
<div className="fd-areamap__panel fd-areamap__panel--b" aria-hidden />
<span className="fd-areamap__plate">
<LogoMark src={logo} brand={brand} className="fd-areamap__logo" />
</span>
<div className="fd-areamap__copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-areamap__head" />
<div className="fd-areamap__act">
<Cue className="fd-areamap__cue">{cue}</Cue>
{parts.length ? (
<p className="fd-areamap__terms">
{parts.map((part, i) => (
<React.Fragment key={i}>
{i > 0 ? <i className="fd-areamap__sep" aria-hidden> · </i> : null}
<span className={i === 0 ? "fd-areamap__price" : undefined}>{part}</span>
</React.Fragment>
))}
</p>
) : null}
</div>
</div>
</AdFrame>
)
}
/** World centre: every area preset is drawn around it; each format re-frames the map from here. */
const CX = 1600
const CY = 1600
/** Where the area's centre lands in the frame (px) and the map scale, per format. */
const VIEW: Record<AdFormat, { tx: number; ty: number; s: number }> = {
square: { tx: 470, ty: 270, s: 0.7 },
portrait: { tx: 500, ty: 360, s: 0.85 },
story: { tx: 600, ty: 1120, s: 1 },
landscape: { tx: 900, ty: 330, s: 0.6 },
thumbnail: { tx: 940, ty: 360, s: 0.66 },
}
/** Served-area outlines (world units) and where the name sits inside each. */
const AREAS: Record<NonNullable<AreaMapLawnProps["mapShape"]>, { d: string; at: [number, number] }> = {
rounded: { d: "M1330 1420Q1600 1330 1860 1400Q1950 1560 1890 1760Q1660 1850 1400 1820Q1270 1640 1330 1420Z", at: [1606, 1596] },
long: { d: "M1250 1500Q1560 1390 1950 1440Q2000 1580 1950 1700Q1580 1790 1260 1730Q1200 1610 1250 1500Z", at: [1600, 1590] },
corner: { d: "M1300 1410Q1300 1380 1330 1380L1900 1380Q1930 1380 1930 1410L1930 1810Q1930 1840 1900 1840L1710 1840Q1680 1840 1680 1810L1680 1610Q1680 1580 1650 1580L1330 1580Q1300 1580 1300 1550Z", at: [1615, 1480] },
}
const GRID_TURN = "rotate(-14 1600 1600)"
/** The park fills one street block of the turned grid (two rows of one column), inset from the kerbs. */
const PARK = { x: 1114, y: 1114, w: 272, h: 292, rx: 8 }
const CREEK = "M3400 700C2900 800 2500 1100 2100 1050S1600 980 1380 1060S1040 1250 930 1520S1000 2150 1350 2230S1900 2150 2300 2500S2700 3100 2800 3500"
const ROADS = [
"M-300 760C600 820 1200 700 1800 780S2700 920 3500 860",
"M2450 -200C2420 600 2550 1200 2480 1800S2560 2800 2500 3500",
"M-300 2950C700 2700 1400 2400 1900 2380S2600 2420 3500 2300",
"M1700 700C1720 950 1980 1150 2010 1450S1960 1950 1650 1990S1200 1960 900 2150S400 2500 -200 2560",
].join("")
/** Deterministic 0..1 noise for the street grid (same map on every render). */
function noise(a: number, b: number) {
const v = Math.sin(a * 127.1 + b * 311.7) * 43758.5453
return v - Math.floor(v)
}
/** Residential streets: long blocks, staggered cross streets (T-junctions), a few dead ends. */
function buildGrid() {
const start = -1300
const span = 5900
const col = 300
const row = 160
let d = ""
for (let k = 0; k * col <= span; k++) {
const x = start + k * col
for (let j = 0; j * row < span; j++) {
if (noise(k, j) > 0.1) d += `M${x} ${start + j * row}v${row}`
}
}
for (let k = 0; k * col < span; k++) {
const x = start + k * col
const offset = k % 2 ? row / 2 : 0
for (let j = 0; j * row < span; j++) {
if (noise(k + 0.5, j + 0.37) > 0.28) d += `M${x} ${start + offset + j * row}h${col}`
}
}
return d
}
const GRID = buildGrid()
function r(n: number) {
return Math.round(n * 10) / 10
}
const SHADOW = "oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4)"
const SHADOW_SOFT = "oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.32)"
/** Crisp cartographic halo: twelve zero-blur offsets of the band colour around each glyph (an outline, not a glow). */
const HALO_C = "var(--areamap-halo,var(--band))"
const HALO = [
[0.05, 0], [-0.05, 0], [0, 0.05], [0, -0.05],
[0.035, 0.035], [-0.035, 0.035], [0.035, -0.035], [-0.035, -0.035],
[0.046, 0.02], [-0.046, -0.02], [0.02, -0.046], [-0.02, 0.046],
].map(([x, y]) => `${x}em ${y}em 0 ${HALO_C}`).join(",")
const CSS = `
.fd-areamap{background:var(--band)}
.fd-areamap__map{position:absolute;inset:0;width:100%;height:100%;display:block}
.fd-areamap__ground{fill:var(--band)}
.fd-areamap__grid{fill:none;stroke:oklch(from var(--band-ink) l c h / 0.42);stroke-width:10;stroke-linecap:round}
.fd-areamap__park{fill:color-mix(in oklch,var(--band-ink) 14%,var(--band))}
.fd-areamap__bank{fill:none;stroke:color-mix(in oklch,var(--band-ink) 10%,var(--band));stroke-width:72;stroke-linecap:round;stroke-linejoin:round}
.fd-areamap__water{fill:none;stroke:oklch(from var(--band) calc(l - 0.07) c h);stroke-width:46;stroke-linecap:round;stroke-linejoin:round}
.fd-areamap__roads{fill:none;stroke:color-mix(in oklch,var(--band-ink) 92%,var(--band));stroke-width:22;stroke-linecap:round;stroke-linejoin:round}
.fd-areamap__area{fill:var(--accent-fill,var(--accent));stroke:oklch(from var(--accent-fill,var(--accent)) calc(l - 0.12) c h);stroke-width:6;stroke-linejoin:round;filter:drop-shadow(0 3px 3px ${SHADOW}) drop-shadow(0 12px 16px ${SHADOW_SOFT})}
.fd-areamap__inner path{fill:none;stroke:oklch(from var(--accent-fill-ink,var(--card)) l c h / 0.2);stroke-linecap:round;stroke-linejoin:round}
.fd-areamap__inner .fd-areamap__inner-grid{stroke-width:10}
.fd-areamap__inner .fd-areamap__inner-roads{stroke-width:22}
.fd-areamap__label{position:absolute;z-index:1;margin:0;transform:translate(-50%,-50%);width:max-content;padding:0;background:none;color:var(--band-ink);font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:-0.01em;line-height:1;text-align:center;text-wrap:balance;text-shadow:${HALO}}
.fd-areamap__panel{position:absolute;inset:0;z-index:2;background:var(--card)}
.fd-areamap__panel--b{display:none}
.fd-areamap__plate{position:absolute;z-index:3;display:flex;padding:14px 20px;background:var(--card);color:var(--ink);border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--shadow-sm,0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3),0 4px 10px -2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3))}
.fd-areamap__copy{position:absolute;z-index:3;display:flex;flex-direction:column}
.fd-areamap__head{color:var(--ink);line-height:1.06}
.fd-areamap__head .fd-ad-mark[data-style="ink"]{color:var(--accent)}
.fd-areamap__act{display:flex;align-items:center;gap:32px}
.fd-areamap__cue{flex:none;padding-inline:.95em}
.fd-areamap__terms{margin:0;min-width:0;color:var(--muted);font-family:var(--font-body);font-weight:500;line-height:1.2;text-wrap:pretty}
.fd-areamap__price{font-family:var(--font-display);font-weight:var(--display-weight,800);color:var(--ink)}
.fd-areamap__sep{font-style:normal}
.fd-areamap[data-format="square"] .fd-areamap__terms>span,.fd-areamap[data-format="portrait"] .fd-areamap__terms>span,.fd-areamap[data-format="story"] .fd-areamap__terms>span{display:block}
.fd-areamap[data-format="square"] .fd-areamap__sep,.fd-areamap[data-format="portrait"] .fd-areamap__sep,.fd-areamap[data-format="story"] .fd-areamap__sep{display:none}
.fd-areamap[data-format="square"] .fd-areamap__panel{clip-path:polygon(0 545px,100% 420px,100% 100%,0 100%)}
.fd-areamap[data-format="square"] .fd-areamap__plate{right:52px;top:52px}
.fd-areamap[data-format="square"] .fd-areamap__copy{left:64px;right:64px;bottom:64px;gap:32px}
.fd-areamap[data-format="square"] .fd-areamap__head{font-size:72px}
.fd-areamap[data-format="square"] .fd-areamap__cue{--cue-fs:40px}
.fd-areamap[data-format="square"] .fd-areamap__terms{font-size:34px}
.fd-areamap[data-format="square"] .fd-areamap__label{font-size:52px;max-width:300px}
.fd-areamap[data-format="portrait"] .fd-areamap__panel{clip-path:polygon(0 790px,100% 690px,100% 100%,0 100%)}
.fd-areamap[data-format="portrait"] .fd-areamap__plate{right:52px;top:52px}
.fd-areamap[data-format="portrait"] .fd-areamap__copy{left:64px;right:64px;bottom:72px;gap:36px}
.fd-areamap[data-format="portrait"] .fd-areamap__head{font-size:80px}
.fd-areamap[data-format="portrait"] .fd-areamap__cue{--cue-fs:42px}
.fd-areamap[data-format="portrait"] .fd-areamap__terms{font-size:36px}
.fd-areamap[data-format="portrait"] .fd-areamap__label{font-size:60px;max-width:340px}
.fd-areamap[data-format="story"] .fd-areamap__panel{clip-path:polygon(0 0,100% 0,100% 800px,0 860px)}
.fd-areamap[data-format="story"] .fd-areamap__panel--b{display:block;clip-path:polygon(0 1410px,100% 1370px,100% 1640px,0 1680px)}
.fd-areamap[data-format="story"] .fd-areamap__plate{right:52px;top:262px;box-shadow:none}
.fd-areamap[data-format="story"] .fd-areamap__copy{left:64px;right:64px;top:360px;bottom:calc(var(--ad-h) - 1560px);justify-content:space-between}
.fd-areamap[data-format="story"] .fd-areamap__head{font-size:84px}
.fd-areamap[data-format="story"] .fd-areamap__cue{--cue-fs:46px;padding-inline:.9em}
.fd-areamap[data-format="story"] .fd-areamap__terms{font-size:38px}
.fd-areamap[data-format="story"] .fd-areamap__label{font-size:72px;max-width:440px}
.fd-areamap[data-format="landscape"] .fd-areamap__panel{clip-path:polygon(0 0,700px 0,620px 100%,0 100%)}
.fd-areamap[data-format="landscape"] .fd-areamap__plate{right:40px;top:40px}
.fd-areamap[data-format="landscape"] .fd-areamap__copy{left:48px;width:540px;top:48px;bottom:48px;justify-content:flex-end;gap:28px}
.fd-areamap[data-format="landscape"] .fd-areamap__head{font-size:56px}
.fd-areamap[data-format="landscape"] .fd-areamap__act{flex-direction:column-reverse;align-items:flex-start;gap:24px}
.fd-areamap[data-format="landscape"] .fd-areamap__cue{--cue-fs:28px}
.fd-areamap[data-format="landscape"] .fd-areamap__terms{font-size:24px}
.fd-areamap[data-format="landscape"] .fd-areamap__label{font-size:40px;max-width:230px}
`
export default AreaMapLawn
pieces/ads/area-map-lawn/specimen.tsx 46 lines
import * as React from "react"
import { slot } from "../../slots"
import { AreaMapLawn, formats } from "../area-map-lawn"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Clovenfield Lawn, a weekly mowing round in one neighbourhood. The map is schematic.
const clovenfieldLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 252 56"><path d="M26 50C12 40 10 22 22 6c4 12 14 20 14 32 0 6-4 10-10 12zm6 0c10-6 18-16 18-30-10 4-16 12-18 30z" fill="currentColor"/><text x="58" y="38" font-family="Helvetica, Arial, sans-serif" font-size="29" font-weight="700" letter-spacing="-.4">clovenfield</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Westbury Heights: your lawn mowed every Friday, finished before you're home from work. $45 a visit, no contract, skip or stop any week. Pick your first Friday and we'll take it from there.",
headline: "Weekly mow $45, no contract",
description: "Westbury Heights only",
cta: "Book Now",
}
// Sample brand (olive-ochre palette, workhorse fonts, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Clovenfield Lawn",
theme: "light",
background: "#f7f8f2",
colors: ["#556b1f", "#c7922c"],
fonts: ["Archivo", "Inter"],
button: "soft-caps",
}
export default function AreaMapLawnSpecimen({ state = "portrait" }: { state?: string }) {
return (
<AreaMapLawn
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Westbury Heights homeowners: mowed every Friday before you're home."
highlight="every Friday"
area="Westbury Heights"
mapShape="rounded"
terms="Weekly mow $45 · no contract"
cue="Book my first mow"
logo={slot("logo", clovenfieldLogo)}
brand="Clovenfield Lawn"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalAreaMapLawn |
AdFormat |
Default "portrait"
|
headline OptionalAreaMapLawn |
string |
Default "Your street is in. Book a weekly visit."
|
highlight OptionalAreaMapLawn |
string |
Default ""
|
area OptionalAreaMapLawn |
string |
Default "Your area"
|
mapShape OptionalAreaMapLawn |
"rounded" | "long" | "corner" |
Default "rounded"
|
terms OptionalAreaMapLawn |
string |
Default "Weekly service · no contract"
|
cue OptionalAreaMapLawn |
string |
Default "Book my first visit"
|
logo OptionalAreaMapLawn |
string |
Default ""
|
brand OptionalAreaMapLawn |
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.
--card-radius- Cards and panels: radius, border and shadow.
--display-case--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.