Banner Price Watercolour 1
A display banner set where the course price is the hero on every size; a warm, offer-led ad that sends people who already know the course back to its enrolment 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 87 characters
- Always meant to paint? Six Sunday-morning watercolour classes online, all levels, $149.
- Headline 26 characters
- Watercolour in six Sundays
- Description 44 characters
- 6 weeks online, all levels. $149. Enrol now.
- Button 7 characters
- Sign up
What it is for
- Angle
- offer led
- Temperature
- warm
- Archetype
- banner price
- Sends people to
- course enrolment
- Words on the image
- At most 20
Use it in a prompt
Make the ads/banner-price-watercolour 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/banner-price-watercolour.tsx. - Import it and pass your copy and images (Props tab):
import { BannerPriceWatercolour } from "@/components/funneldna/ads/banner-price-watercolour"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/banner-price-watercolour/component.tsx 190 lines
// archetype: banner-price
// When to use: A display banner set where the course price is the hero on every size; a warm, offer-led ad that sends people who already know the course back to its enrolment page.
import * as React from "react"
import { AD_FORMATS, AdFrame, Cue, LogoMark, type AdFormat, type AdFormatSpec } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Banner price: the price, set in tabular display figures, is the largest thing on every size. Its currency sign and
* the course length sit beside it in the accent tint, on a flat band with one waves Pattern faded into a corner
* behind the figure. The price is the ad's headline (the [data-ad-headline] hook that must read at feed size); the
* question above it is the lead-in, a complete sentence that ends cleanly, and the cue answers it.
* No strike, burst or circle: size, weight and position do the emphasis.
* Size names and floors match ads/display-banner-set (`sizes`: headlineMin and logo height per size, read by the gate).
* 1200x628: price left, copy right. 300x250 (medium-rectangle): line above, price centred, length, then logo and cue.
* 728x90: logo, the two-line question, price, cue in one row. 160x600: logo, line, price mid-stack, length, cue.
* 320x50: no logo (logo 0); the short line ("Six Sundays"), the price and the cue in one row, all inside the 8px
* margin. The line is never truncated: its column takes the line's full width, so keep it to about two words.
* The price box uses a tight line-height and a flex row (the raised sign never inflates the line), so the gaps to
* the question and the length line are real, measured air on every size.
* Truth: the price and the course length are copied from the enrolment page; the piece never invents either.
*/
export type BannerPriceFormat = "landscape" | "medium-rectangle" | "leaderboard" | "skyscraper" | "mobile-banner"
/** The shared display-banner vocabulary (ads/display-banner-set). */
export type DisplayBannerFormat = BannerPriceFormat
export type DisplayBannerSpec = AdFormatSpec & {
/** Smallest headline on this size, px: the price is the headline here. */
headlineMin: number
/** Logo height on this size, px. 0: no logo (320x50). */
logo: number
}
const FLAT = { top: 0, bottom: 0 }
/** The display sizes this piece composes for, named and floored as in ads/display-banner-set. */
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 },
}
export const formats: BannerPriceFormat[] = ["landscape", "medium-rectangle", "leaderboard", "skyscraper", "mobile-banner"]
export const lead = "landscape" satisfies BannerPriceFormat
export const wordCap = 20
export type BannerPriceWatercolourProps = {
format?: BannerPriceFormat
/** The question and the line that leads into the price, 12 words or fewer, a complete sentence. A "\n" breaks it on the stacked sizes (ignored on 1200x628 and 320x50). */
headline?: string
/** The line for the 320x50 strip, about two words ("Six Sundays"), set before the price. Never truncated: it must fit whole beside the price and cue. Empty: none on the strip. */
shortHeadline?: string
/** One phrase inside the headline set in the ink tint. Empty: none (the price is the emphasis). */
highlight?: string
/** The price exactly as the enrolment page shows it ("$149"). The hero on every size; never invented. */
price: string
/** The course length and terms from the page ("6 weeks · online · all levels"), set beside the price. Empty: none. */
support?: string
/** The enrolment page's button words. */
cue?: string
/** One short line under the cue (not shown on 320x50). Empty: none. */
cueNote?: string
/** Logo slot image. Empty: the brand name as a wordmark. Not shown on 320x50. */
logo?: string
brand?: string
}
export function BannerPriceWatercolour({
format = "landscape",
headline = "Always meant to start?\nSix weeks, start to finish.",
shortHeadline = "",
highlight = "",
price,
support = "",
cue = "Enrol now",
cueNote = "",
logo = "",
brand = "",
}: BannerPriceWatercolourProps) {
const key: BannerPriceFormat = sizes[format] ? format : "landscape"
const spec = sizes[key]
const line = key === "mobile-banner" ? shortHeadline : headline
const figure = splitPrice(price)
return (
<AdFrame format={key as string as AdFormat} className="fd-bprice" style={frameVars(spec)}>
<style href="fd-bprice" precedence="default">{CSS}</style>
<div className="fd-bprice__waves" aria-hidden>
<Pattern name="waves" fade="corner" />
</div>
{spec.logo > 0 ? <LogoMark src={logo} brand={brand} className="fd-bprice__logo" /> : null}
{line ? (
<h1 className="fd-ad-h fd-bprice__h"><Emphasis text={line} highlight={highlight} /></h1>
) : null}
{figure ? (
<p data-ad-headline="" className="fd-bprice__price">
{figure.before ? <span className="fd-bprice__cur">{figure.before}</span> : null}
<span className="fd-bprice__fig">{figure.figure}</span>
{figure.after ? <span className="fd-bprice__per">{figure.after}</span> : null}
</p>
) : null}
{support ? <p className="fd-bprice__support">{support}</p> : null}
<Cue note={key === "mobile-banner" ? "" : cueNote} className="fd-bprice__cue">{cue}</Cue>
</AdFrame>
)
}
/** Stage vars for the display sizes (AdFrame only knows the kit formats, so the piece passes its own canvas). */
function frameVars(spec: DisplayBannerSpec): React.CSSProperties {
return {
"--ad-w": `${spec.width}px`, "--ad-h": `${spec.height}px`, "--u": spec.width / 1080, "--ad-m": `${spec.margin}px`,
"--safe-top": `${spec.safe.top}px`, "--safe-bottom": `${spec.safe.bottom}px`, "--ad-min": `${spec.min}px`,
"--logo-h": `${spec.logo}px`, "--bp-hmin": `${spec.headlineMin}px`,
} as React.CSSProperties
}
/** The lead-in with its one optional ink highlight (the kit's mark style), without claiming the headline hook. */
function Emphasis({ text, highlight }: { text: string; highlight?: string }) {
const at = highlight ? text.indexOf(highlight) : -1
if (at < 0) return <>{text}</>
return (
<>
{text.slice(0, at)}
<mark data-ad-marker="" data-style="ink" className="fd-ad-mark">{highlight}</mark>
{text.slice(at + highlight!.length)}
</>
)
}
/** "$149" -> currency sign, figure, any suffix ("/mo"), so the sign can sit raised in the tint beside the figure. */
function splitPrice(price: string | undefined) {
const p = (price || "").trim()
if (!p) return null
const m = p.match(/^(\D*?)(\d[\d.,]*)(.*)$/)
return m ? { before: m[1].trim(), figure: m[2], after: m[3].trim() } : { before: "", figure: p, after: "" }
}
const CSS = `
.fd-bprice{display:grid;--bp-tint:var(--band-marker,oklch(from var(--accent) max(l,0.82) c h))}
.fd-bprice__waves{position:absolute;z-index:0;pointer-events:none;color:var(--accent-fill,var(--accent))}
.fd-bprice__logo,.fd-bprice__h,.fd-bprice__price,.fd-bprice__support,.fd-bprice__cue{position:relative;z-index:1}
.fd-bprice__logo{color:var(--band-ink)}
.fd-bprice .fd-bprice__h{color:var(--band-ink);line-height:1.1}
.fd-bprice__price{margin:0;display:flex;align-items:flex-start;font-family:var(--font-display);font-weight:var(--display-weight,800);line-height:.86;letter-spacing:-0.035em;color:var(--band-ink);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap;text-wrap:balance}
.fd-bprice__cur{font-size:max(var(--ad-min),.42em);line-height:1;margin-right:.06em;letter-spacing:0;color:var(--bp-tint)}
.fd-bprice__per{align-self:flex-end;font-size:max(var(--ad-min),.26em);line-height:1;margin:0 0 .1em .15em;letter-spacing:0;color:var(--bp-tint)}
.fd-bprice__support{margin:0;font-family:var(--font-body);font-weight:600;line-height:1.25;color:var(--bp-tint);text-wrap:pretty}
.fd-bprice[data-format="landscape"]{padding:var(--ad-m);grid-template-columns:460px minmax(0,1fr);column-gap:56px;grid-template-rows:1fr auto auto 1fr;grid-template-areas:". ." "price head" "support cue" ". ."}
.fd-bprice[data-format="landscape"] .fd-bprice__waves{left:0;bottom:0;width:58%;height:78%}
.fd-bprice[data-format="landscape"] .fd-bprice__logo{position:absolute;left:var(--ad-m);top:var(--ad-m)}
.fd-bprice[data-format="landscape"] .fd-bprice__price{grid-area:price;align-self:end;font-size:max(var(--bp-hmin),210px)}
.fd-bprice[data-format="landscape"] .fd-bprice__support{grid-area:support;align-self:start;margin-top:28px;font-size:28px}
.fd-bprice[data-format="landscape"] .fd-bprice__h{grid-area:head;align-self:end;font-size:64px;white-space:normal}
.fd-bprice[data-format="landscape"] .fd-bprice__cue{grid-area:cue;align-self:start;justify-self:start;margin-top:36px;--cue-fs:30px}
.fd-bprice[data-format="medium-rectangle"]{padding:var(--ad-m) var(--ad-m) 14px;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto;grid-template-areas:"head head" "price price" "support support" ". ." "logo cue";column-gap:12px;text-align:center}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__waves{right:0;top:0;width:72%;height:76%}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__logo{grid-area:logo;align-self:center;justify-self:start}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__h{grid-area:head;font-size:19px}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__price{grid-area:price;justify-self:center;margin-top:12px;font-size:max(var(--bp-hmin),76px)}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__support{grid-area:support;justify-self:center;margin-top:16px;font-size:16px}
.fd-bprice[data-format="medium-rectangle"] .fd-bprice__cue{grid-area:cue;align-self:center;justify-self:end;--cue-fs:17px;padding:.55em .9em}
.fd-bprice[data-format="leaderboard"]{padding:0 var(--ad-m);grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:minmax(0,1fr);grid-template-areas:"logo head price cue";column-gap:20px;align-items:center}
.fd-bprice[data-format="leaderboard"] .fd-bprice__waves{right:0;top:0;width:46%;height:100%}
.fd-bprice[data-format="leaderboard"] .fd-bprice__logo{grid-area:logo}
.fd-bprice[data-format="leaderboard"] .fd-bprice__h{grid-area:head;font-size:18px}
.fd-bprice[data-format="leaderboard"] .fd-bprice__price{grid-area:price;font-size:max(var(--bp-hmin),60px)}
.fd-bprice[data-format="leaderboard"] .fd-bprice__support{display:none}
.fd-bprice[data-format="leaderboard"] .fd-bprice__cue{grid-area:cue;--cue-fs:18px;padding:.55em .85em}
.fd-bprice[data-format="skyscraper"]{padding:20px var(--ad-m) 22px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr auto auto 1fr auto;grid-template-areas:"logo" "head" "." "price" "support" "." "cue";justify-items:center;text-align:center}
.fd-bprice[data-format="skyscraper"] .fd-bprice__waves{left:0;bottom:0;width:100%;height:64%}
.fd-bprice[data-format="skyscraper"] .fd-bprice__logo{grid-area:logo;max-width:100%}
.fd-bprice[data-format="skyscraper"] .fd-bprice__h{grid-area:head;margin-top:24px;font-size:22px}
.fd-bprice[data-format="skyscraper"] .fd-bprice__price{grid-area:price;font-size:max(var(--bp-hmin),56px)}
.fd-bprice[data-format="skyscraper"] .fd-bprice__support{grid-area:support;margin-top:20px;font-size:16px}
.fd-bprice[data-format="skyscraper"] .fd-bprice__cue{grid-area:cue;justify-self:stretch;--cue-fs:18px;padding:.6em .5em;width:auto}
.fd-bprice[data-format="mobile-banner"]{padding:0 var(--ad-m);grid-template-columns:minmax(max-content,1fr) auto auto;grid-template-rows:minmax(0,1fr);grid-template-areas:"head price cue";column-gap:10px;align-items:center}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__waves{right:0;top:0;width:52%;height:100%}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__h{grid-area:head;justify-self:start;font-size:17px;line-height:1.05;letter-spacing:-0.02em;white-space:nowrap}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__price{grid-area:price;font-size:max(var(--bp-hmin),28px)}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__cur{font-size:max(var(--ad-min),.5em)}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__support{display:none}
.fd-bprice[data-format="mobile-banner"] .fd-bprice__cue{grid-area:cue;--cue-fs:16px;padding:.5em .6em}
`
export default BannerPriceWatercolour
pieces/ads/banner-price-watercolour/specimen.tsx 45 lines
import * as React from "react"
import { slot } from "../../slots"
import { BannerPriceWatercolour, formats, lead, type BannerPriceFormat } from "../banner-price-watercolour"
// Sample brand (fictional): Rushwick School of Watercolour, a six-week online course taught on Sunday mornings.
const rushwickLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 56"><path fill-rule="evenodd" d="M20 3C14 12 5 22 5 33a15 15 0 0 0 30 0C35 22 26 12 20 3zM14 34a6 6 0 0 0 6 6v-3a3 3 0 0 1-3-3z" fill="currentColor"/><text x="46" y="38" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.5" fill="currentColor">rushwick</text></svg>`,
)
// Same size names as ads/display-banner-set, so every banner set in the library switches the same way.
export const states = ["landscape", "medium-rectangle", "leaderboard", "skyscraper", "mobile-banner"]
export const copy = {
platform: "google",
primary_text: "Always meant to paint? Six Sunday-morning watercolour classes online, all levels, $149.",
headline: "Watercolour in six Sundays",
description: "6 weeks online, all levels. $149. Enrol now.",
cta: "Sign up",
}
// Sample brand (plum-night palette, expressive fonts, square button; invented): previews show the ad in it by default.
export const sampleBrand = {
name: "Rushwick School of Watercolour",
theme: "dark",
background: "#201327",
colors: ["#e86fb4", "#9ad1c4"],
fonts: ["Bricolage Grotesque", "Figtree"],
button: "square",
}
export default function BannerPriceWatercolourSpecimen({ state = "landscape" }: { state?: string }) {
return (
<BannerPriceWatercolour
format={(formats.includes(state as BannerPriceFormat) ? state : lead) as BannerPriceFormat}
headline={"Always meant to paint?\nSix Sunday mornings, online."}
shortHeadline="Six Sundays"
price="$149"
support="6 weeks · online · all levels"
cue="Enrol now"
logo={slot("logo", rushwickLogo)}
brand="Rushwick School of Watercolour"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalBannerPriceWatercolour |
BannerPriceFormat |
Default "landscape"
|
headline OptionalBannerPriceWatercolour |
string |
Default "Always meant to start?\nSix weeks, start to finish."
|
shortHeadline OptionalBannerPriceWatercolour |
string |
Default ""
|
highlight OptionalBannerPriceWatercolour |
string |
Default ""
|
price RequiredBannerPriceWatercolour |
string |
|
support OptionalBannerPriceWatercolour |
string |
Default ""
|
cue OptionalBannerPriceWatercolour |
string |
Default "Enrol now"
|
cueNote OptionalBannerPriceWatercolour |
string |
Default ""
|
logo OptionalBannerPriceWatercolour |
string |
Default ""
|
brand OptionalBannerPriceWatercolour |
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.
logo- The brand’s logo mark.