Service Area List 1
The towns a local service covers, set as a proud ticked list under the service and its home town; a cold, offer-led local ad that drives a booking or free-estimate page.
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 236 characters
- Furnace quit on a cold night? Brannock Heating & Air repairs furnaces across Harlan Falls, Eastmere, Dunlow, Pike Hollow, Wray and Calder. Book before 2 p.m. and a technician visits the same day. Pick your time online in about a minute.
- Headline 23 characters
- Same-day furnace repair
- Description 18 characters
- Book before 2 p.m.
- Button 8 characters
- Book Now
What it is for
- Angle
- offer led
- Temperature
- cold
- Archetype
- area list
- Sends people to
- local estimate or booking
- Words on the image
- At most 30
Use it in a prompt
Make the ads/service-area-list 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/service-area-list.tsx. - Import it and pass your copy and images (Props tab):
import { ServiceAreaList } from "@/components/funneldna/ads/service-area-list"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/service-area-list/component.tsx 157 lines
// archetype: area-list
// When to use: The towns a local service covers, set as a proud ticked list under the service and its home town; a cold, offer-led local ad that drives a booking or free-estimate page.
import * as React from "react"
import { Check, Clock, Phone } from "lucide-react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Texture } from "../fx/fx"
import topo from "../fx/textures/topo"
/**
* Area list: a topo-textured brand band (the contour lines read as home ground), the service and home town as the
* headline, then the hero: one crisp service-area card listing up to eight towns in bold display type, each with a
* solid served tick. The response promise sits under the card; the cue and the phone number sit together at the
* bottom. Square runs the towns in two columns, portrait and story run one tall column, landscape sets the list on
* the right beside the headline and the action.
* Truth: the towns and the promise are the business's real service terms; each renders nothing when empty.
* No map, no pins, nothing anchored to an image.
*/
export type ServiceAreaListProps = {
format?: AdFormat
/** The service and the home town, 12 words or fewer. A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` that gets the marker swipe (usually the home town). Empty: none. */
highlight?: string
/** The real service area, home town first. Up to eight are shown. Empty: the list does not render. */
towns?: string[]
/** The real response promise, one short line ("Same-day visits before 2 p.m."). Empty: none. */
promise?: string
/** The landing page button's words. */
cue?: string
/** One short line under the cue. Empty: none. */
cueNote?: string
/** The business's real phone number, set beside the cue. Empty: none. */
phone?: string
/** Logo slot image. */
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/** Raised from 20: the town names are the ad's proof of locality (up to eight, often two words each) and the brief pairs a phone number with the cue. */
export const wordCap = 30
const MAX_TOWNS = 8
export function ServiceAreaList({
format = "portrait",
headline = "Local service in your town",
highlight = "",
towns = [],
promise = "",
cue = "Book my visit",
cueNote = "",
phone = "",
logo = "",
brand = "",
}: ServiceAreaListProps) {
const list = towns.map((t) => t.trim()).filter(Boolean).slice(0, MAX_TOWNS)
const rows = { "--r1": list.length || 1, "--r2": Math.max(1, Math.ceil(list.length / 2)) } as React.CSSProperties
return (
<AdFrame format={format} className="fd-area">
<style href="fd-area" precedence="default">{CSS}</style>
<Texture src={topo} tone="band-ink" opacity={0.14} />
<div className="fd-area__in">
<LogoMark src={logo} brand={brand} className="fd-area__logo" />
<AdHeadline as="h1" text={headline} highlight={highlight} mark="swipe" className="fd-area__h" />
{list.length ? (
<div className="fd-area__card">
<ul className="fd-area__list" style={rows}>
{list.map((town, i) => (
<li key={`${town}-${i}`}>
<span className="fd-area__town">{town}</span>
<span className="fd-area__tick" aria-hidden>
<Check strokeWidth={3} />
</span>
</li>
))}
</ul>
</div>
) : null}
{promise ? (
<p className="fd-area__promise">
<Clock className="fd-area__icon" strokeWidth={2.5} aria-hidden />
{promise}
</p>
) : null}
<div className="fd-area__act">
<Cue note={cueNote} className="fd-area__cue">{cue}</Cue>
{phone ? (
<p className="fd-area__phone">
<Phone className="fd-area__icon" strokeWidth={2.5} aria-hidden />
{phone}
</p>
) : null}
</div>
</div>
</AdFrame>
)
}
const CSS = `
.fd-area{background:var(--band)}
.fd-area .fd-area__in{position:absolute;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"logo" "h" "card" "promise" "act";grid-template-rows:auto auto minmax(0,1fr) auto auto}
.fd-area .fd-area__logo{grid-area:logo;justify-self:start;align-self:start;color:var(--band-ink)}
.fd-area .fd-area__h{grid-area:h;color:var(--band-ink);line-height:1.08}
.fd-area .fd-area__card{grid-area:card;display:flex;flex-direction:column;min-height:0;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / 0.12));border-radius:calc(var(--card-radius,var(--radius,14px)) * 1.6);box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4),0 16px 30px -12px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.55)))}
.fd-area .fd-area__list{flex:1;min-height:0;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(var(--cols,1),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);font-size:clamp(var(--t-min,32px),calc(var(--fit,480px) / var(--rows,6) * 0.62),var(--t-max,64px))}
.fd-area .fd-area__list li{display:flex;align-items:center;justify-content:space-between;gap:.45em;min-width:0;padding:0 .04em;border-top:2px solid oklch(from var(--ink) l c h / 0.1);font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.015em;line-height:1.08;color:var(--ink)}
.fd-area .fd-area__town{min-width:0;overflow-wrap:anywhere;text-wrap:balance}
.fd-area .fd-area__tick{flex:none;display:inline-grid;place-items:center;width:.74em;height:.74em;border-radius:999px;background:var(--success);color:var(--tick-glyph,#fff)}
.fd-area .fd-area__tick svg{display:block;width:60%;height:60%}
.fd-area .fd-area__promise{grid-area:promise;margin:0;font-family:var(--font-body);font-weight:700;line-height:1.2;color:var(--band-ink);text-wrap:pretty}
.fd-area .fd-area__icon{display:inline-block;vertical-align:-0.14em;width:1em;height:1em;margin-inline-end:.4em;color:var(--band-marker,oklch(from var(--marker,#fae37c) max(l,0.86) c h))}
.fd-area .fd-area__act{grid-area:act;display:flex;flex-wrap:wrap;align-items:center;column-gap:40px;row-gap:16px}
.fd-area .fd-area__phone{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);line-height:1;letter-spacing:-0.01em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--band-ink)}
.fd-area[data-format="square"] .fd-area__in{inset:64px 72px;row-gap:28px}
.fd-area[data-format="square"] .fd-area__h{font-size:80px}
.fd-area[data-format="square"] .fd-area__card{padding:6px 40px}
.fd-area[data-format="square"] .fd-area__list{--cols:2;--rows:var(--r2);--fit:340px;--t-min:34px;--t-max:50px;column-gap:56px}
.fd-area[data-format="square"] .fd-area__list li:nth-child(-n+2){border-top:0}
.fd-area[data-format="square"] .fd-area__promise{font-size:34px}
.fd-area[data-format="square"] .fd-area__cue{--cue-fs:42px}
.fd-area[data-format="square"] .fd-area__phone{font-size:42px}
.fd-area[data-format="portrait"] .fd-area__in{inset:72px;row-gap:36px}
.fd-area[data-format="portrait"] .fd-area__h{font-size:88px}
.fd-area[data-format="portrait"] .fd-area__card{padding:8px 44px}
.fd-area[data-format="portrait"] .fd-area__list{--cols:1;--rows:var(--r1);--fit:540px;--t-min:40px;--t-max:66px}
.fd-area[data-format="portrait"] .fd-area__list li:first-child{border-top:0}
.fd-area[data-format="portrait"] .fd-area__promise{font-size:36px}
.fd-area[data-format="portrait"] .fd-area__act{justify-content:space-between}
.fd-area[data-format="portrait"] .fd-area__cue{--cue-fs:46px}
.fd-area[data-format="portrait"] .fd-area__phone{font-size:44px}
.fd-area[data-format="story"] .fd-area__in{top:calc(var(--safe-top) + 36px);bottom:calc(var(--safe-bottom) + 20px);left:72px;right:72px;row-gap:40px}
.fd-area[data-format="story"] .fd-area__h{font-size:100px}
.fd-area[data-format="story"] .fd-area__card{padding:10px 48px}
.fd-area[data-format="story"] .fd-area__list{--cols:1;--rows:var(--r1);--fit:560px;--t-min:44px;--t-max:74px}
.fd-area[data-format="story"] .fd-area__list li:first-child{border-top:0}
.fd-area[data-format="story"] .fd-area__promise{font-size:40px}
.fd-area[data-format="story"] .fd-area__act{justify-content:space-between}
.fd-area[data-format="story"] .fd-area__cue{--cue-fs:50px}
.fd-area[data-format="story"] .fd-area__phone{font-size:44px}
.fd-area[data-format="landscape"] .fd-area__in{inset:48px;grid-template-columns:minmax(0,1fr) 452px;column-gap:48px;row-gap:22px;grid-template-areas:"logo card" "h card" "promise card" ". card" "act card";grid-template-rows:auto auto auto minmax(0,1fr) auto}
.fd-area[data-format="landscape"] .fd-area__h{font-size:58px}
.fd-area[data-format="landscape"] .fd-area__card{padding:4px 30px}
.fd-area[data-format="landscape"] .fd-area__list{--cols:1;--rows:var(--r1);--fit:500px;--t-min:28px;--t-max:44px}
.fd-area[data-format="landscape"] .fd-area__list li:first-child{border-top:0}
.fd-area[data-format="landscape"] .fd-area__promise{font-size:25px}
.fd-area[data-format="landscape"] .fd-area__act{column-gap:28px;row-gap:10px}
.fd-area[data-format="landscape"] .fd-area__cue{--cue-fs:28px}
.fd-area[data-format="landscape"] .fd-area__phone{font-size:30px}
`
export default ServiceAreaList
pieces/ads/service-area-list/specimen.tsx 48 lines
import * as React from "react"
import { slot } from "../../slots"
import { ServiceAreaList, formats } from "../service-area-list"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Brannock Heating & Air, a furnace and HVAC crew based in Harlan Falls. The towns,
// the promise and the 555 number are sample service terms for this fictional business only.
const brannockLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 56"><path fill-rule="evenodd" fill="currentColor" d="M4 27 28 5l24 22v25H4zm24 21c-6 0-9-4-9-8 0-5 5-7 6-12 3 3 3 6 2 8 2-1 4-3 4-6 4 3 6 7 6 10 0 4-3 8-9 8z"/><text x="62" y="40" font-family="Helvetica, Arial, sans-serif" font-size="32" font-weight="700" letter-spacing="-.6" fill="currentColor">Brannock</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Furnace quit on a cold night? Brannock Heating & Air repairs furnaces across Harlan Falls, Eastmere, Dunlow, Pike Hollow, Wray and Calder. Book before 2 p.m. and a technician visits the same day. Pick your time online in about a minute.",
headline: "Same-day furnace repair",
description: "Book before 2 p.m.",
cta: "Book Now",
}
// Sample brand (tide-teal palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Brannock Heating & Air",
theme: "light",
background: "#f1f8f8",
colors: ["#0e7c7b", "#f2a541"],
fonts: ["Space Grotesk", "Manrope"],
button: "pill-caps",
band: "#d2eeee",
}
export default function ServiceAreaListSpecimen({ state = "portrait" }: { state?: string }) {
return (
<ServiceAreaList
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline={"No heat tonight?\nFurnace repair in Harlan Falls."}
highlight="Harlan Falls"
towns={["Harlan Falls", "Eastmere", "Dunlow", "Pike Hollow", "Wray", "Calder"]}
promise="Same-day visits before 2 p.m."
cue="Book my visit"
phone="(555) 014-2290"
logo={slot("logo", brannockLogo)}
brand="Brannock Heating & Air"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalServiceAreaList |
AdFormat |
Default "portrait"
|
headline OptionalServiceAreaList |
string |
Default "Local service in your town"
|
highlight OptionalServiceAreaList |
string |
Default ""
|
towns OptionalServiceAreaList |
string[] |
Default []
|
promise OptionalServiceAreaList |
string |
Default ""
|
cue OptionalServiceAreaList |
string |
Default "Book my visit"
|
cueNote OptionalServiceAreaList |
string |
Default ""
|
phone OptionalServiceAreaList |
string |
Default ""
|
logo OptionalServiceAreaList |
string |
Default ""
|
brand OptionalServiceAreaList |
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-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--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.
-
a57ca5c86a05001f.webp
image/webp · 108 KB