Detail Inset Gutter 1
A wide street photo of the house with a large framed close-up of what the street view hides set over its lower half; a cold pain ad for a local home service that drives free inspection 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 360 characters
- When did anyone last look inside your gutters? From the street the roofline looks fine, but leaves and grit pack in where you can't see them, and the overflow ends up in your fascia and against your foundation. Book a free photo inspection: we go up, take pictures of what's actually there and send them to you. If it needs clearing, cleaning starts from $149.
- Headline 28 characters
- Free gutter photo inspection
- Description 18 characters
- Cleaning from $149
- Button 8 characters
- Book Now
What it is for
- Angle
- pain
- Temperature
- cold
- Archetype
- detail inset
- Sends people to
- free inspection booking
- Words on the image
- At most 20
Use it in a prompt
Make the ads/detail-inset-gutter 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/detail-inset-gutter.tsx. - Import it and pass your copy and images (Props tab):
import { DetailInsetGutter } from "@/components/funneldna/ads/detail-inset-gutter"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/detail-inset-gutter/component.tsx 185 lines
// archetype: detail-inset
// When to use: A wide street photo of the house with a large framed close-up of what the street view hides set over its lower half; a cold pain ad for a local home service that drives free inspection bookings.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Backdrop } from "../fx/fx"
import home from "../fx/backdrops/home"
/**
* Wide and close: the street view (scene slot) fills the frame under a token scrim. The close-up of what that view
* hides (item-1 slot) is the hero. It is a large framed photo with a crisp dark shadow, laid over the lower part of
* the street photo. Nothing connects the two photos (no line, arrow, ring or pin), so either one can be swapped.
* Headline, offer terms and the cue sit above the close-up on the scrim. The logo is top left.
* One flex stage holds the copy and the close-up, so the close-up takes whatever height the copy leaves. A longer
* headline or a different theme face never makes them overlap.
* Re-composed per format:
* - square and portrait: copy across the top. The close-up fills the lower part at about 78% of the frame width,
* aligned to the right margin. A narrow strip of the street photo (110px past the margin) shows beside it.
* - story: copy below the top safe line. The close-up is 85% wide and runs down to the bottom safe line.
* - landscape: copy left. The close-up fills the right half at full height.
* Truth: both photos are illustrations until the business supplies its own. The price is a prop and renders only
* when it is given.
*/
export type DetailInsetGutterProps = {
format?: AdFormat
/** Names the audience and the moment, 12 words or fewer. A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` set in the marker tint. Empty: none. */
highlight?: string
/** The free offer, set bold ("Free inspection"). */
offer?: string
/** Starting price, copied from the funnel. Empty: the price line does not render. */
price?: string
/** The price line around the price; {price} is replaced with `price`. */
priceLine?: string
/** The page button's exact words. */
cue?: string
/** One short line under the cue. Empty: none. */
cueNote?: string
/** The wide shot (slot "scene"): the house from the street. Empty: the designed home backdrop. */
scene?: string
/** The close-up (slot "item-1"): the problem the wide shot hides. Empty: no inset. */
detail?: string
/** Alt text for the close-up. */
detailAlt?: string
logo?: string
brand?: string
className?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 20
/** Focal point of the wide shot per composition: keep the roofline toward the top, where the scrim is lightest past the copy. */
const FOCUS: Record<AdFormat, string> = {
square: "50% 38%", portrait: "46% 40%", story: "38% 45%", landscape: "40% 45%", thumbnail: "55% 45%",
}
export function DetailInsetGutter({
format = "portrait",
headline = "When did anyone last look at the part you can't see?",
highlight = "",
offer = "Free inspection",
price = "",
priceLine = "from {price}",
cue = "Book my free inspection",
cueNote = "",
scene = "",
detail = "",
detailAlt = "A close-up of the problem",
logo = "",
brand = "",
className = "",
}: DetailInsetGutterProps) {
const showPrice = Boolean(price)
return (
<AdFrame format={format} className={`fd-detail ${className}`}>
<style href="fd-detail" precedence="default">{CSS}</style>
<Backdrop src={scene || home} treatment="scrim-dark" side="left" position={FOCUS[format]} slot={null} />
<div className="fd-detail__scrim" aria-hidden />
<LogoMark src={logo} brand={brand} className="fd-detail__logo" />
<div className="fd-detail__stage">
<div className="fd-detail__copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-detail__h" />
<div className="fd-detail__close">
{offer || showPrice ? (
<p className="fd-detail__terms">
{offer ? <b className="fd-detail__offer">{offer}</b> : null}
{offer && showPrice ? <span className="fd-detail__sep" aria-hidden>·</span> : null}
{showPrice ? <span className="fd-detail__from"><PriceText template={priceLine} price={price} /></span> : null}
</p>
) : null}
<Cue note={cueNote} className="fd-detail__cue">{cue}</Cue>
</div>
</div>
{detail ? (
<figure className="fd-detail__inset">
<div className="fd-detail__clip">
<img src={detail} alt={detailAlt} decoding="async" />
</div>
</figure>
) : null}
</div>
</AdFrame>
)
}
/** Replaces {price} in the template with the price in bold. */
function PriceText({ template, price }: { template: string; price: string }) {
const parts = (template || "{price}").split("{price}")
return (
<>
{parts.map((part, i) => (
<React.Fragment key={i}>
{i > 0 ? <b className="fd-detail__price">{price}</b> : null}
{part}
</React.Fragment>
))}
</>
)
}
const B = (a: number) => `oklch(from var(--band) l c h / ${a})`
const CSS = `
.fd-detail__scrim{position:absolute;inset:0;z-index:1;pointer-events:none}
.fd-detail__logo{position:absolute;z-index:3;color:var(--band-ink)}
.fd-detail__stage{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:stretch}
.fd-detail__copy{flex:none;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.fd-detail__h{color:var(--band-ink);line-height:1.08}
.fd-detail__close{display:flex;flex-direction:column;align-items:flex-start}
.fd-detail__terms{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.42em;row-gap:.12em;color:color-mix(in oklch,var(--band-ink) 88%,var(--band));font-family:var(--font-body);font-weight:600;line-height:1.25;text-wrap:pretty}
.fd-detail__offer{font-family:var(--font-display);font-weight:var(--display-weight,800);color:var(--band-ink);letter-spacing:-0.01em}
.fd-detail__sep{color:var(--band-ink)}
.fd-detail__price{font-weight:800;color:var(--band-ink)}
.fd-detail__cue{padding-inline:.9em}
.fd-detail__inset{position:relative;margin:0;flex:1 1 auto;min-height:0;align-self:flex-end;filter:drop-shadow(0 3px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.06) c h / 0.62)) drop-shadow(0 18px 20px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.08) c h / 0.5))}
.fd-detail__clip{position:relative;width:100%;height:100%;overflow:hidden;border-radius:calc(var(--radius,12px) * 1.5)}
.fd-detail__clip img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.fd-detail__clip::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 var(--frame,6px) oklch(from var(--band-ink) l c h / 0.9),inset 0 0 0 calc(var(--frame,6px) + 1px) oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.25)}
.fd-detail[data-format="square"] .fd-detail__scrim{background:linear-gradient(180deg,${B(0.94)} 0%,${B(0.9)} 50%,${B(0.5)} 58%,${B(0.32)} 100%)}
.fd-detail[data-format="square"] .fd-detail__logo{left:64px;top:64px}
.fd-detail[data-format="square"] .fd-detail__stage{left:64px;right:64px;top:148px;bottom:64px;gap:32px}
.fd-detail[data-format="square"] .fd-detail__copy{gap:22px}
.fd-detail[data-format="square"] .fd-detail__h{font-size:72px}
.fd-detail[data-format="square"] .fd-detail__close{gap:28px}
.fd-detail[data-format="square"] .fd-detail__terms{font-size:30px}
.fd-detail[data-format="square"] .fd-detail__cue{--cue-fs:38px}
.fd-detail[data-format="square"] .fd-detail__inset{width:842px}
.fd-detail[data-format="portrait"] .fd-detail__scrim{background:linear-gradient(180deg,${B(0.94)} 0%,${B(0.9)} 47%,${B(0.5)} 55%,${B(0.32)} 100%)}
.fd-detail[data-format="portrait"] .fd-detail__logo{left:64px;top:64px}
.fd-detail[data-format="portrait"] .fd-detail__stage{left:64px;right:64px;top:160px;bottom:64px;gap:40px}
.fd-detail[data-format="portrait"] .fd-detail__copy{gap:24px}
.fd-detail[data-format="portrait"] .fd-detail__h{font-size:80px}
.fd-detail[data-format="portrait"] .fd-detail__close{gap:32px}
.fd-detail[data-format="portrait"] .fd-detail__terms{font-size:34px}
.fd-detail[data-format="portrait"] .fd-detail__cue{--cue-fs:44px}
.fd-detail[data-format="portrait"] .fd-detail__inset{width:842px}
.fd-detail[data-format="story"] .fd-detail__scrim{background:linear-gradient(180deg,${B(0.93)} 0%,${B(0.9)} 52%,${B(0.5)} 59%,${B(0.36)} 84%,${B(0.6)} 100%)}
.fd-detail[data-format="story"] .fd-detail__logo{left:64px;top:calc(var(--safe-top) + 12px)}
.fd-detail[data-format="story"] .fd-detail__stage{left:64px;right:64px;top:calc(var(--safe-top) + 100px);bottom:var(--safe-bottom);gap:40px}
.fd-detail[data-format="story"] .fd-detail__copy{gap:28px}
.fd-detail[data-format="story"] .fd-detail__h{font-size:84px}
.fd-detail[data-format="story"] .fd-detail__close{width:100%;gap:36px}
.fd-detail[data-format="story"] .fd-detail__terms{flex-direction:column;align-items:flex-start;row-gap:10px;font-size:40px}
.fd-detail[data-format="story"] .fd-detail__offer{font-size:1.12em}
.fd-detail[data-format="story"] .fd-detail__sep{display:none}
.fd-detail[data-format="story"] .fd-detail__cue{--cue-fs:52px;width:100%}
.fd-detail[data-format="story"] .fd-detail__inset{width:918px;--frame:8px}
.fd-detail[data-format="landscape"] .fd-detail__scrim{background:linear-gradient(90deg,${B(0.94)} 0%,${B(0.9)} 49%,${B(0.5)} 53%,${B(0.35)} 100%)}
.fd-detail[data-format="landscape"] .fd-detail__logo{left:48px;top:40px}
.fd-detail[data-format="landscape"] .fd-detail__stage{flex-direction:row;left:48px;right:32px;top:32px;bottom:32px;gap:40px}
.fd-detail[data-format="landscape"] .fd-detail__copy{width:520px;padding:88px 0 16px;gap:20px;justify-content:center}
.fd-detail[data-format="landscape"] .fd-detail__h{font-size:56px;line-height:1.06}
.fd-detail[data-format="landscape"] .fd-detail__close{gap:20px}
.fd-detail[data-format="landscape"] .fd-detail__terms{font-size:24px}
.fd-detail[data-format="landscape"] .fd-detail__cue{--cue-fs:28px}
.fd-detail[data-format="landscape"] .fd-detail__inset{width:auto;align-self:stretch;--frame:5px}
`
export default DetailInsetGutter
pieces/ads/detail-inset-gutter/specimen.tsx 51 lines
import __studioImage254d1d12 from "../assets/c047254ac2140b71.webp";
import __studioImage31b40da1 from "../assets/b70c3fff4fe667f4.webp";
import * as React from "react"
import { slot } from "../../slots"
import { DetailInsetGutter, formats } from "../detail-inset-gutter"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Ravelstock Gutter Co., a local gutter cleaning and repair crew. Both photos are generated illustrations.
const ravelstockLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 56"><path d="M5 30 L27 11 L49 30" fill="none" stroke="currentColor" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><rect x="3" y="37" width="48" height="7" rx="3.5" fill="currentColor"/><text x="64" y="39" fill="currentColor" font-family="Helvetica, Arial, sans-serif" font-size="29" font-weight="700" letter-spacing="-.3">ravelstock</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "When did anyone last look inside your gutters? From the street the roofline looks fine, but leaves and grit pack in where you can't see them, and the overflow ends up in your fascia and against your foundation. Book a free photo inspection: we go up, take pictures of what's actually there and send them to you. If it needs clearing, cleaning starts from $149.",
headline: "Free gutter photo inspection",
description: "Cleaning from $149",
cta: "Book Now",
}
// Sample brand (graphite-sky palette, geometric fonts, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Ravelstock Gutter Co.",
theme: "dark",
background: "#15181f",
colors: ["#4aa8ff", "#ff8a5c"],
fonts: ["Montserrat", "Source Sans 3"],
button: "pill-bold",
}
export default function DetailInsetGutterSpecimen({ state = "portrait" }: { state?: string }) {
return (
<DetailInsetGutter
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Homeowners: when did anyone last look inside your gutters?"
highlight="inside your gutters?"
offer="Free photo inspection"
price="$149"
priceLine="cleaning from {price}"
cue="Book my free inspection"
scene={slot("scene", __studioImage254d1d12)}
detail={slot("item-1", __studioImage31b40da1)}
detailAlt="A gutter packed with wet leaves and sludge"
logo={slot("logo", ravelstockLogo)}
brand="Ravelstock Gutter Co."
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalDetailInsetGutter |
AdFormat |
Default "portrait"
|
headline OptionalDetailInsetGutter |
string |
Default "When did anyone last look at the part you can't see?"
|
highlight OptionalDetailInsetGutter |
string |
Default ""
|
offer OptionalDetailInsetGutter |
string |
Default "Free inspection"
|
price OptionalDetailInsetGutter |
string |
Default ""
|
priceLine OptionalDetailInsetGutter |
string |
Default "from {price}"
|
cue OptionalDetailInsetGutter |
string |
Default "Book my free inspection"
|
cueNote OptionalDetailInsetGutter |
string |
Default ""
|
scene OptionalDetailInsetGutter |
string |
Default ""
|
detail OptionalDetailInsetGutter |
string |
Default ""
|
detailAlt OptionalDetailInsetGutter |
string |
Default "A close-up of the problem"
|
logo OptionalDetailInsetGutter |
string |
Default ""
|
brand OptionalDetailInsetGutter |
string |
Default ""
|
className OptionalDetailInsetGutter |
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-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
logo- The brand’s logo mark.
scene- A wide atmosphere photo behind or beside the copy.
-
4b82104bfd627615.webp
image/webp · 44.9 KB
-
b70c3fff4fe667f4.webp
image/webp · 113 KB
-
c047254ac2140b71.webp
image/webp · 328 KB