Display Banner Set 1
One offer line, the product and the cue re-composed across the Google Display sizes; a warm, offer-led banner set that sends traffic to the sales or free-trial page.
The sample's post copy
Sample brand, fictional copy: the pattern to follow, written for the person's real offer.
- Platform 6 characters
- Primary text 81 characters
- Invoices that chase themselves. Try Ledgerlight free for 14 days, no card needed.
- Headline 30 characters
- Invoices that chase themselves
- Description 92 characters
- 3 reasons to switch: 1. reminders go out on time 2. one-click pay links 3. no awkward emails
- Button 7 characters
- Sign up
What it is for
- Angle
- offer led
- Temperature
- warm
- Archetype
- banner set
- Sends people to
- sales or trial page
- Words on the image
- At most 20
Use it in a prompt
Make the ads/display-banner-set ad from the FunnelDNA library in my brand, at every size (landscape, medium-rectangle, leaderboard, skyscraper, mobile-banner), 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/display-banner-set.tsx. - Import it and pass your copy and images (Props tab):
import { DisplayBannerSet } from "@/components/funneldna/ads/display-banner-set"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/display-banner-set/component.tsx 166 lines
// archetype: banner-set
// When to use: One offer line, the product and the cue re-composed across the Google Display sizes; a warm, offer-led banner set that sends traffic to the sales or free-trial page.
import * as React from "react"
import { AD_FORMATS, AdFrame, AdHeadline, Cue, LogoMark, type AdFormat, type AdFormatSpec } from "../fx/ad-kit"
import { Glow } from "../fx/fx"
/**
* Banner set on a glow stage. A flat dark band carries one pool of accent light behind the focal element: the product
* where the size has room for it, the cue where it does not. The landing page's headline appears word for word, and the
* page's button is a two-line cue (the action on top, the offer terms under it).
* Each Google Display size has its own layout:
* - 1200x628: copy beside the product standing on the stage.
* - 300x250: the headline beside the product, over a full-width cue.
* - 728x90: one row (logo, line, cue).
* - 160x600: a centred stack with the product in the middle.
* - 320x50: just line and cue. At 50px tall a readable logo, a two-line headline and a cue cannot share 320px, so the
* brief drops the logo on this size only.
* A 1px ink-tint hairline sits inside the edge so the banner never bleeds into the page around it.
* Truth: the headline is the landing page headline and the terms are the offer's real terms. No close buttons or
* dialog chrome.
*/
export type DisplayBannerFormat = "landscape" | "medium-rectangle" | "leaderboard" | "skyscraper" | "mobile-banner"
export type DisplayBannerSetProps = {
format?: DisplayBannerFormat
/** The landing page headline, word for word (12 words or fewer). A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` set in the marker tint. Empty: none. */
highlight?: string
/** One line naming the reader and the moment, shown on 1200x628 and 160x600 only. Empty: none. */
support?: string
/** The page button's words. */
cue?: string
/** The offer terms under the cue label (trial length, no card). Empty: none. Dropped on 320x50. */
cueNote?: string
/** Transparent product shot (slot "product"), trimmed to its base so it stands on the stage floor. */
product?: string
productAlt?: string
logo?: string
brand?: string
}
export type DisplayBannerSpec = AdFormatSpec & {
/** Smallest headline size on this canvas. */
headlineMin: number
/** Logo height in px; 0 means this size carries no logo. */
logo: number
}
export const formats: DisplayBannerFormat[] = ["landscape", "medium-rectangle", "leaderboard", "skyscraper", "mobile-banner"]
export const lead = "landscape" satisfies DisplayBannerFormat
export const wordCap = 20
const FLAT = { top: 0, bottom: 0 }
/** Per-size meta: canvas, outer margin, smallest text, smallest headline and logo height (the gate reads these floors). */
export const sizes: Record<DisplayBannerFormat, DisplayBannerSpec> = {
landscape: { ...AD_FORMATS.landscape, headlineMin: 56, logo: 56 },
"medium-rectangle": { width: 300, height: 250, label: "Medium rectangle 300×250", margin: 16, safe: FLAT, min: 16, headlineMin: 20, logo: 18 },
leaderboard: { width: 728, height: 90, label: "Leaderboard 728×90", margin: 20, safe: FLAT, min: 16, headlineMin: 30, logo: 34 },
skyscraper: { width: 160, height: 600, label: "Wide skyscraper 160×600", margin: 10, safe: FLAT, min: 16, headlineMin: 20, logo: 20 },
"mobile-banner": { width: 320, height: 50, label: "Mobile banner 320×50", margin: 8, safe: FLAT, min: 16, headlineMin: 17, logo: 0 },
}
/** Sizes with room for the product on the stage, and for the support line. */
const STAGED: DisplayBannerFormat[] = ["landscape", "medium-rectangle", "skyscraper"]
const SUPPORTED: DisplayBannerFormat[] = ["landscape", "skyscraper"]
/** The one pool of accent light: behind the product, or behind the cue on the one-row sizes. Kept off the headline. */
const POOL: Record<DisplayBannerFormat, { at: string; size: string; strength: number }> = {
landscape: { at: "82% 68%", size: "38%", strength: 0.55 },
"medium-rectangle": { at: "82% 38%", size: "46%", strength: 0.5 },
leaderboard: { at: "90% 50%", size: "26%", strength: 0.4 },
skyscraper: { at: "50% 62%", size: "64%", strength: 0.5 },
"mobile-banner": { at: "90% 50%", size: "30%", strength: 0.4 },
}
export function DisplayBannerSet({
format = "landscape",
headline = "The promise your landing page makes.",
highlight = "",
support = "",
cue = "Get started",
cueNote = "",
product = "",
productAlt = "",
logo = "",
brand = "",
}: DisplayBannerSetProps) {
const f: DisplayBannerFormat = sizes[format] ? format : "landscape"
const s = sizes[f]
const pool = POOL[f]
const vars = {
"--ad-w": `${s.width}px`, "--ad-h": `${s.height}px`, "--u": s.width / 1080, "--ad-m": `${s.margin}px`,
"--safe-top": `${s.safe.top}px`, "--safe-bottom": `${s.safe.bottom}px`, "--ad-min": `${s.min}px`,
"--logo-h": `${s.logo || 1}px`,
} as React.CSSProperties
return (
<AdFrame format={f as AdFormat} className="fd-dbs" style={vars}>
<style href="fd-dbs" precedence="default">{CSS}</style>
<Glow tone="accent-fill" at={pool.at} size={pool.size} strength={pool.strength} />
{product && STAGED.includes(f) ? (
<div className="fd-dbs__stage">
<span className="fd-dbs__floor" aria-hidden />
<img className="fd-dbs__product" src={product} alt={productAlt} />
</div>
) : null}
<div className="fd-dbs__layout">
{s.logo ? <LogoMark src={logo} brand={brand} className="fd-dbs__logo" /> : null}
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-dbs__h" />
{support && SUPPORTED.includes(f) ? <p className="fd-dbs__support">{keepHyphens(support)}</p> : null}
<Cue note={f === "mobile-banner" ? "" : cueNote} className="fd-dbs__cue">{cue}</Cue>
</div>
</AdFrame>
)
}
/** Keeps hyphenated words whole, so a support line never ends on a dangling "follow-". */
function keepHyphens(text: string): React.ReactNode {
return text.split(/(\S+-\S+)/).map((part, i) => (i % 2 ? <span key={i} className="fd-dbs__nb">{part}</span> : part))
}
const SHADOW = "var(--shadow,oklch(0.22 0.03 260))"
const CSS = `
.fd-dbs::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;border:1px solid oklch(from var(--ink) l c h / 0.22)}
.fd-dbs__stage{position:absolute;z-index:1}
.fd-dbs__product{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 2px 2px oklch(from ${SHADOW} calc(l - 0.06) c h / 0.5)) drop-shadow(0 10px 12px oklch(from ${SHADOW} calc(l - 0.08) c h / 0.4))}
.fd-dbs__floor{position:absolute;left:10%;right:10%;bottom:-4%;height:11%;border-radius:50%;background:radial-gradient(closest-side,oklch(from ${SHADOW} calc(l - 0.1) c h / 0.8),oklch(from ${SHADOW} calc(l - 0.1) c h / 0))}
.fd-dbs__layout{position:absolute;z-index:2;display:grid}
.fd-dbs__logo{grid-area:logo;color:var(--band-ink)}
.fd-dbs__h{grid-area:h;min-width:0;color:var(--band-ink);line-height:1.08}
.fd-dbs__support{grid-area:sup;margin:0;font-family:var(--font-body);font-weight:500;line-height:1.3;text-wrap:balance;color:color-mix(in oklch,var(--band-ink) 86%,var(--band))}
.fd-dbs__nb{white-space:nowrap}
.fd-dbs__cue{grid-area:cue;gap:.3em}
.fd-dbs:not([data-format=landscape]) .fd-dbs__cue{border-radius:calc(var(--button-radius,var(--radius,10px)) * 0.8);box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + 0.12) c h / 0.6),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from ${SHADOW} l c h / 0.4),0 4px 8px -3px oklch(from ${SHADOW} l c h / 0.45))}
.fd-dbs[data-format=landscape] .fd-dbs__layout{top:48px;bottom:48px;left:56px;width:660px;grid-template-rows:auto 1fr auto auto auto 1fr;grid-template-areas:'logo' '.' 'h' 'sup' 'cue' '.';justify-items:start}
.fd-dbs[data-format=landscape] .fd-dbs__h{font-size:70px}
.fd-dbs[data-format=landscape] .fd-dbs__support{font-size:27px;max-width:600px;margin-top:32px}
.fd-dbs[data-format=landscape] .fd-dbs__cue{--cue-fs:32px;gap:.42em;margin-top:40px;padding:.62em 1.2em}
.fd-dbs[data-format=landscape] .fd-dbs__stage{right:16px;bottom:72px;width:464px;height:440px}
.fd-dbs[data-format=medium-rectangle] .fd-dbs__layout{inset:16px;grid-template-columns:154px 1fr;grid-template-rows:auto auto 1fr auto;grid-template-areas:'logo .' 'h .' '. .' 'cue cue';justify-items:start}
.fd-dbs[data-format=medium-rectangle] .fd-dbs__h{font-size:23px;margin-top:14px}
.fd-dbs[data-format=medium-rectangle] .fd-dbs__cue{--cue-fs:20px;justify-self:stretch;width:auto;padding:.42em .6em}
.fd-dbs[data-format=medium-rectangle] .fd-dbs__stage{right:0;top:20px;width:134px;height:140px}
.fd-dbs[data-format=leaderboard] .fd-dbs__layout{inset:0 20px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'logo h cue';align-items:center;column-gap:24px}
.fd-dbs[data-format=leaderboard] .fd-dbs__h{font-size:32px}
.fd-dbs[data-format=leaderboard] .fd-dbs__cue{--cue-fs:22px;padding:.45em .8em}
.fd-dbs[data-format=skyscraper] .fd-dbs__layout{inset:18px 10px 16px;grid-template-rows:auto auto auto 1fr auto;grid-template-areas:'logo' 'h' 'sup' '.' 'cue';justify-items:center;text-align:center}
.fd-dbs[data-format=skyscraper] .fd-dbs__logo{max-width:100%}
.fd-dbs[data-format=skyscraper] .fd-dbs__h{font-size:21px;margin-top:18px}
.fd-dbs[data-format=skyscraper] .fd-dbs__support{font-size:16px;margin-top:12px}
.fd-dbs[data-format=skyscraper] .fd-dbs__cue{--cue-fs:19px;justify-self:stretch;width:auto;padding:.55em .3em}
.fd-dbs[data-format=skyscraper] .fd-dbs__cue small{white-space:normal;text-wrap:balance;text-align:center}
.fd-dbs[data-format=skyscraper] .fd-dbs__stage{left:-14px;right:-14px;top:252px;height:188px}
.fd-dbs[data-format=mobile-banner] .fd-dbs__layout{inset:0 8px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'h cue';align-items:center;column-gap:8px}
.fd-dbs[data-format=mobile-banner] .fd-dbs__h{font-size:17px}
.fd-dbs[data-format=mobile-banner] .fd-dbs__cue{--cue-fs:17px;padding:.48em .6em}
`
export default DisplayBannerSet
pieces/ads/display-banner-set/specimen.tsx 50 lines
import __studioImage5ce98128 from "../assets/4b5d7364c0e2ee3d.webp";
import * as React from "react"
import { slot } from "../../slots"
import { DisplayBannerSet, formats, type DisplayBannerFormat } from "../display-banner-set"
// Sample brand (fictional): Ledgerlight, invoicing for freelancers that sends the payment reminders itself.
// The product shot is a generated illustration.
const ledgerlightLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 56"><path fill="currentColor" fill-rule="evenodd" d="M8 4h24l14 14v32a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V8a4 4 0 0 1 4-4zM12 26h22v4H12zM12 34h22v4H12zM12 42h14v4H12z"/><text x="56" y="38" fill="currentColor" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.4">ledgerlight</text></svg>`,
)
export const states = ["landscape", "medium-rectangle", "leaderboard", "skyscraper", "mobile-banner"]
export const copy = {
platform: "google",
primary_text: "Invoices that chase themselves. Try Ledgerlight free for 14 days, no card needed.",
headline: "Invoices that chase themselves",
description: "3 reasons to switch: 1. reminders go out on time 2. one-click pay links 3. no awkward emails",
cta: "Sign up",
}
// Sample brand (rose-ink palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Ledgerlight",
theme: "light",
background: "#fff6f7",
colors: ["#d6335f", "#3d3a8c"],
fonts: ["Roboto Slab", "Roboto"],
button: "square",
band: "#ffdde4",
}
export default function DisplayBannerSetSpecimen({ state = "landscape" }: { state?: string }) {
const format = (formats.includes(state as DisplayBannerFormat) ? state : "landscape") as DisplayBannerFormat
return (
<DisplayBannerSet
format={format}
headline="Invoices that chase themselves."
highlight="chase themselves."
support="Freelancers: stop writing the follow-up email."
cue="Try it free"
cueNote="14 days · no card"
product={slot("product", __studioImage5ce98128)}
productAlt="A paper airplane folded from an invoice"
logo={slot("logo", ledgerlightLogo)}
brand="Ledgerlight"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalDisplayBannerSet |
DisplayBannerFormat |
Default "landscape"
|
headline OptionalDisplayBannerSet |
string |
Default "The promise your landing page makes."
|
highlight OptionalDisplayBannerSet |
string |
Default ""
|
support OptionalDisplayBannerSet |
string |
Default ""
|
cue OptionalDisplayBannerSet |
string |
Default "Get started"
|
cueNote OptionalDisplayBannerSet |
string |
Default ""
|
product OptionalDisplayBannerSet |
string |
Default ""
|
productAlt OptionalDisplayBannerSet |
string |
Default ""
|
logo OptionalDisplayBannerSet |
string |
Default ""
|
brand OptionalDisplayBannerSet |
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.
--button-bg--button-radius--button-shadow- Main CTA button: background, ink, font, weight, case, radius and shadow.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.
product- The main product shot or cover (ebook, kit, bottle).
-
4b5d7364c0e2ee3d.webp
image/webp · 15.8 KB