Neon One Word Itch 1
One oversized pain word spanning the frame behind a grounded product cut-out; a cold pain ad that drives product page visits.
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 366 characters
- Ten in the morning and you're already tugging at your collar. Most wool sweaters feel fine in the store and turn scratchy by your second coffee. (We've all left a $150 knit hanging in the back of the closet.) Our extra-fine merino crew neck is $118, with free returns for 30 days if it isn't the first sweater you reach for. Shop the crew neck and try it at home.
- Headline 23 characters
- Merino Crew Neck — $118
- Description 24 characters
- Free returns for 30 days
- Button 8 characters
- Shop Now
What it is for
- Angle
- pain
- Temperature
- cold
- Archetype
- one word poster
- Sends people to
- product page
- Words on the image
- At most 20
Use it in a prompt
Make the ads/neon-one-word-itch 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/neon-one-word-itch.tsx. - Import it and pass your copy and images (Props tab):
import { NeonOneWordItch } from "@/components/funneldna/ads/neon-one-word-itch"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/neon-one-word-itch/component.tsx 349 lines
// archetype: one-word-poster
// When to use: One oversized pain word spanning the frame behind a grounded product cut-out; a cold pain ad that drives product page visits.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Texture } from "../fx/fx"
import weave from "../fx/textures/weave"
export type NeonOneWordItchProps = {
format?: AdFormat
/** Single display-art word spanning the frame width. Stacked onto two lines in portrait and story. */
word?: string
/** Main headline beneath the display word and product, 12 words or fewer. */
headline?: string
/** Optional phrase inside `headline` tinted with the band highlight. */
highlight?: string
/** Offer terms line (price, returns, shipping or trial). Empty: omitted. */
support?: string
/** Action cue label matching the destination page button. */
cue?: string
/** Optional short reassurance line inside the cue. Empty: none. */
cueNote?: string
/** Transparent product cut-out resting on the baseline (slot "product"). */
product?: string
/** Accessible description of the product image. */
productAlt?: string
/** Brand mark URL (slot "logo"). */
logo?: string
/** Brand name used for alt text and wordmark fallback. */
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 20
type WordMetrics = { base: number; min: number; max: number; maxH: number; stacked: boolean }
const WORD_METRICS: Record<AdFormat, WordMetrics> = {
square: { base: 318, min: 180, max: 350, maxH: 345, stacked: false },
portrait: { base: 376, min: 220, max: 430, maxH: 670, stacked: true },
story: { base: 344, min: 210, max: 396, maxH: 595, stacked: true },
landscape: { base: 208, min: 132, max: 244, maxH: 218, stacked: false },
thumbnail: { base: 220, min: 140, max: 260, maxH: 230, stacked: false },
}
export function NeonOneWordItch({
format = "portrait",
word = "Itchy?",
headline = "Still putting up with gear you want off by noon?",
highlight = "",
support = "",
cue = "Shop now",
cueNote = "",
product = "",
productAlt = "",
logo = "",
brand = "",
}: NeonOneWordItchProps) {
const boxRef = React.useRef<HTMLDivElement>(null)
const spanRef = React.useRef<HTMLSpanElement>(null)
const spec = WORD_METRICS[format] || WORD_METRICS.portrait
const displayWord = spec.stacked ? insertSoftBreak(word) : word
React.useLayoutEffect(() => {
let alive = true
let fitting = false
let lastSig = ""
let lastW = 0
let lastH = 0
const hardMin = Math.min(spec.min, format === "landscape" || format === "thumbnail" ? 56 : 72)
const readSig = (box: HTMLDivElement, span: HTMLSpanElement) => {
const cs = getComputedStyle(span)
return `${box.clientWidth}|${cs.fontFamily}|${cs.fontWeight}|${cs.textTransform}|${cs.letterSpacing}`
}
const fit = () => {
if (!alive || fitting) return
const box = boxRef.current
const span = spanRef.current
if (!box || !span) return
const boxW = box.clientWidth
if (!boxW) return
fitting = true
try {
const boxRect = box.getBoundingClientRect()
const scale = boxRect.width > 0 ? boxRect.width / boxW : 1
const measure = () => {
const sr = span.getBoundingClientRect()
return {
w: Math.max(sr.width / scale, span.scrollWidth),
h: sr.height / scale,
}
}
span.style.maxWidth = ""
let fs = spec.base
span.style.fontSize = `${fs}px`
if (!spec.stacked) {
const m0 = measure()
if (m0.w > 0) {
fs = clamp(Math.floor(fs * ((boxW * 0.975) / m0.w)), hardMin, spec.max)
span.style.fontSize = `${fs}px`
let guard = 0
while (guard < 60) {
const m = measure()
if (m.w <= boxW - 2 && m.h <= spec.maxH) break
if (fs <= hardMin) break
const overRatio = Math.min(
m.w > boxW - 2 ? (boxW * 0.97) / m.w : 1,
m.h > spec.maxH ? (spec.maxH * 0.98) / m.h : 1,
)
const next = Math.max(hardMin, Math.min(fs - 2, Math.floor(fs * overRatio)))
if (next === fs) break
fs = next
span.style.fontSize = `${fs}px`
guard += 1
}
}
} else {
// Stacked two-line poster art: guarantee clean break and fit within boxW and maxH.
const probe = measure()
if (probe.h < fs * 1.25 && probe.w > 0) {
span.style.maxWidth = `${Math.max(240, Math.floor(probe.w * 0.8))}px`
}
let guard = 0
while (guard < 48) {
const m = measure()
const overW = m.w > boxW + 0.5
const overH = m.h > spec.maxH
if (!overW && !overH) break
if (fs <= hardMin) break
const ratio = Math.min(
overW ? (boxW * 0.97) / m.w : 1,
overH ? (spec.maxH * 0.98) / m.h : 1,
)
const next = Math.max(hardMin, Math.min(fs - 4, Math.floor(fs * ratio)))
if (next === fs) break
fs = next
span.style.fontSize = `${fs}px`
guard += 1
}
}
const finalM = measure()
lastSig = readSig(box, span)
lastW = finalM.w
lastH = finalM.h
} finally {
fitting = false
}
}
const onFonts = () => {
fit()
}
const onThemeChange = () => {
fit()
if (typeof document !== "undefined" && document.fonts?.ready) {
document.fonts.ready.then(fit)
}
}
fit()
if (typeof document !== "undefined" && document.fonts) {
document.fonts.ready.then(fit)
document.fonts.addEventListener("loadingdone", onFonts)
}
const box = boxRef.current
const span = spanRef.current
let ro: ResizeObserver | undefined
if (typeof ResizeObserver !== "undefined" && box && span) {
ro = new ResizeObserver(() => {
if (!alive || fitting) return
const boxW = box.clientWidth
if (!boxW) return
const boxRect = box.getBoundingClientRect()
const scale = boxRect.width > 0 ? boxRect.width / boxW : 1
const sr = span.getBoundingClientRect()
const w = Math.max(sr.width / scale, span.scrollWidth)
const h = sr.height / scale
const sig = readSig(box, span)
const overflowed = spec.stacked ? w > boxW + 0.5 : w > boxW - 2
if (sig !== lastSig || Math.abs(w - lastW) >= 1 || Math.abs(h - lastH) >= 1 || overflowed) {
fit()
}
})
ro.observe(box)
ro.observe(span)
}
let mo: MutationObserver | undefined
if (typeof MutationObserver !== "undefined" && typeof document !== "undefined") {
mo = new MutationObserver(onThemeChange)
if (document.head) {
mo.observe(document.head, { childList: true, subtree: true, characterData: true })
}
mo.observe(document.documentElement, { attributes: true, attributeFilter: ["style", "class"] })
const frameHost = box?.closest(".fd-ad")?.parentElement
if (frameHost && frameHost !== document.body && frameHost !== document.documentElement) {
mo.observe(frameHost, { attributes: true, attributeFilter: ["style", "class"] })
}
}
return () => {
alive = false
ro?.disconnect()
mo?.disconnect()
if (typeof document !== "undefined" && document.fonts) {
document.fonts.removeEventListener("loadingdone", onFonts)
}
}
}, [format, displayWord, spec.base, spec.max, spec.maxH, spec.min, spec.stacked])
return (
<AdFrame format={format} className="fd-itch">
<style href="fd-itch" precedence="default">{CSS}</style>
<EdgeFilter />
<Texture src={weave} tone="band-ink" opacity={0.14} />
<LogoMark src={logo} brand={brand} className="fd-itch__logo" />
<div ref={boxRef} className="fd-itch__word" data-stacked={spec.stacked ? "1" : "0"}>
<span ref={spanRef} className="fd-itch__word-inner">{displayWord}</span>
</div>
<div className="fd-itch__stage" aria-hidden={product ? undefined : true}>
<div className="fd-itch__baseline" aria-hidden />
<div className="fd-itch__shadow" aria-hidden />
{product ? (
<img className="fd-itch__product" src={product} alt={productAlt || brand || ""} decoding="async" />
) : null}
</div>
<div className="fd-itch__copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-itch__headline" />
<div className="fd-itch__foot">
{support ? <p className="fd-itch__support">{support}</p> : null}
<Cue note={cueNote} className="fd-itch__cue">{cue}</Cue>
</div>
</div>
</AdFrame>
)
}
function clamp(n: number, min: number, max: number) {
return Math.max(min, Math.min(max, n))
}
function insertSoftBreak(word: string) {
if (!word || word.includes("\n") || word.includes("\u00AD") || /\s/.test(word.trim())) return word
const clean = word.trim()
if (clean.length < 5) return clean
if (/^itchy[?!.]?$/i.test(clean)) return `${clean.slice(0, 4)}\u00AD${clean.slice(4)}`
const cut = Math.max(2, Math.min(clean.length - 2, Math.ceil(clean.length * 0.62)))
return `${clean.slice(0, cut)}\u00AD${clean.slice(cut)}`
}
function EdgeFilter() {
return (
<svg className="fd-itch__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-itch-edge" x="-2%" y="-2%" width="104%" height="104%" colorInterpolationFilters="sRGB">
<feMorphology in="SourceAlpha" operator="erode" radius="1.2" result="core" />
<feGaussianBlur in="core" stdDeviation="0.4" result="coreSoft" />
<feComposite in="SourceGraphic" in2="coreSoft" operator="in" result="choked" />
<feMorphology in="core" operator="erode" radius="2.4" result="inner" />
<feComposite in="coreSoft" in2="inner" operator="out" result="rim" />
<feGaussianBlur in="rim" stdDeviation="0.8" result="rimSoft" />
<feFlood style={{ floodColor: "var(--shadow, oklch(0.22 0.03 260))", floodOpacity: 0.45 }} result="shade" />
<feComposite in="shade" in2="rimSoft" operator="in" result="rimShade" />
<feComposite in="rimShade" in2="choked" operator="in" result="edge" />
<feMerge>
<feMergeNode in="choked" />
<feMergeNode in="edge" />
</feMerge>
</filter>
</svg>
)
}
const CSS = `
.fd-itch{background:var(--band);color:var(--band-ink)}
.fd-itch__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-itch__logo{position:absolute;z-index:4;color:var(--band-ink)}
.fd-itch__word{position:absolute;z-index:1;margin:0;color:var(--band-ink);font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:-0.035em;line-height:0.9;user-select:none}
.fd-itch__word[data-stacked="0"] .fd-itch__word-inner{display:inline-block;white-space:nowrap}
.fd-itch__word[data-stacked="1"] .fd-itch__word-inner{display:block;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:normal;word-break:normal;line-height:0.86}
.fd-itch__stage{position:absolute;z-index:2;pointer-events:none}
.fd-itch__baseline{position:absolute;left:0;right:0;bottom:0;height:2px;background:oklch(from var(--band-ink) l c h / 0.24)}
.fd-itch__shadow{position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);width:82%;height:34px;border-radius:50%;background:radial-gradient(ellipse 50% 50% at 50% 48%,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.56) 0%,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.26) 46%,transparent 76%)}
.fd-itch__product{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:url(#fd-itch-edge) drop-shadow(0 8px 12px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.34))}
.fd-itch__copy{position:absolute;z-index:4;display:flex;flex-direction:column;align-items:flex-start}
.fd-itch__headline{color:var(--band-ink);line-height:1.12}
.fd-itch__foot{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.fd-itch__support{margin:0;color:var(--band-ink);font-family:var(--font-body);font-weight:600;line-height:1.25;text-wrap:pretty}
.fd-itch__cue{flex:none}
/* Square 1080x1080: single-line word across top, folded sweater overlapping lower third on baseline, headline + terms + cue closing frame */
.fd-itch[data-format="square"] .fd-itch__logo{top:56px;right:64px}
.fd-itch[data-format="square"] .fd-itch__word{top:138px;left:12px;right:12px}
.fd-itch[data-format="square"] .fd-itch__stage{left:64px;right:64px;top:330px;height:300px}
.fd-itch[data-format="square"] .fd-itch__product{width:520px;margin:0 auto}
.fd-itch[data-format="square"] .fd-itch__shadow{width:460px;height:30px;bottom:-12px}
.fd-itch[data-format="square"] .fd-itch__copy{left:64px;right:64px;bottom:64px;gap:24px}
.fd-itch[data-format="square"] .fd-itch__headline{font-size:72px}
.fd-itch[data-format="square"] .fd-itch__support{font-size:30px}
.fd-itch[data-format="square"] .fd-itch__cue{--cue-fs:34px;padding:.56em 1.05em}
/* Portrait 1080x1350: two-line oversized display word, larger sweater resting on baseline across lower third */
.fd-itch[data-format="portrait"] .fd-itch__logo{top:56px;right:64px}
.fd-itch[data-format="portrait"] .fd-itch__word{top:124px;left:14px;right:14px}
.fd-itch[data-format="portrait"] .fd-itch__stage{left:64px;right:64px;top:495px;height:395px}
.fd-itch[data-format="portrait"] .fd-itch__product{width:640px;margin:0 0 0 auto}
.fd-itch[data-format="portrait"] .fd-itch__shadow{left:auto;right:40px;transform:none;width:560px;height:36px;bottom:-15px}
.fd-itch[data-format="portrait"] .fd-itch__copy{left:64px;right:64px;bottom:64px;gap:28px}
.fd-itch[data-format="portrait"] .fd-itch__headline{font-size:74px}
.fd-itch[data-format="portrait"] .fd-itch__support{font-size:30px}
.fd-itch[data-format="portrait"] .fd-itch__cue{--cue-fs:36px;padding:.58em 1.08em}
/* Story 1080x1920: safe top 250, safe bottom 340 (y=1580). Word y~324-915, large sweater to y~1165, copy + cue closing at y=1562 */
.fd-itch[data-format="story"] .fd-itch__logo{top:calc(var(--safe-top) + 12px);right:64px;--logo-h:56px}
.fd-itch[data-format="story"] .fd-itch__word{top:324px;left:14px;right:14px}
.fd-itch[data-format="story"] .fd-itch__stage{left:64px;right:64px;top:640px;height:510px}
.fd-itch[data-format="story"] .fd-itch__product{width:760px;margin:0 auto}
.fd-itch[data-format="story"] .fd-itch__shadow{width:640px;height:42px;bottom:-18px}
.fd-itch[data-format="story"] .fd-itch__copy{left:64px;right:64px;bottom:calc(var(--safe-bottom) + 18px);gap:24px}
.fd-itch[data-format="story"] .fd-itch__headline{font-size:74px}
.fd-itch[data-format="story"] .fd-itch__foot{flex-direction:column;align-items:flex-start;gap:22px}
.fd-itch[data-format="story"] .fd-itch__support{font-size:34px}
.fd-itch[data-format="story"] .fd-itch__cue{--cue-fs:44px;padding:.56em 1.12em}
/* Landscape 1200x628: display word and copy left, logo top right, grounded sweater right */
.fd-itch[data-format="landscape"] .fd-itch__logo{top:44px;right:48px}
.fd-itch[data-format="landscape"] .fd-itch__word{top:36px;left:12px;width:696px}
.fd-itch[data-format="landscape"] .fd-itch__stage{right:48px;bottom:52px;width:430px;height:390px}
.fd-itch[data-format="landscape"] .fd-itch__product{width:100%;height:100%}
.fd-itch[data-format="landscape"] .fd-itch__shadow{width:360px;height:28px;bottom:-11px}
.fd-itch[data-format="landscape"] .fd-itch__copy{left:48px;width:660px;bottom:48px;gap:18px}
.fd-itch[data-format="landscape"] .fd-itch__headline{font-size:56px}
.fd-itch[data-format="landscape"] .fd-itch__foot{flex-direction:column;align-items:flex-start;gap:18px}
.fd-itch[data-format="landscape"] .fd-itch__support{font-size:24px}
.fd-itch[data-format="landscape"] .fd-itch__cue{--cue-fs:28px;padding:.54em 1.05em}
`
export default NeonOneWordItch
pieces/ads/neon-one-word-itch/specimen.tsx 52 lines
import __studioImagebb7bf4c6 from "../assets/246b70f38b89ccd5.webp";
import * as React from "react"
import { slot } from "../../slots"
import { NeonOneWordItch, formats } from "../neon-one-word-itch"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Tarnwell Knitwear, merino basics sold online.
const tarnwellLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 56"><path d="M10 14l14 14-14 14M26 14l14 14-14 14" fill="none" stroke="currentColor" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round"/><text x="52" y="39" font-family="Georgia, serif" font-size="31" font-weight="700" letter-spacing="1.2" fill="currentColor">TARNWELL</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text:
"Ten in the morning and you're already tugging at your collar.\n\nMost wool sweaters feel fine in the store and turn scratchy by your second coffee. (We've all left a $150 knit hanging in the back of the closet.)\n\nOur extra-fine merino crew neck is $118, with free returns for 30 days if it isn't the first sweater you reach for.\n\nShop the crew neck and try it at home.",
headline: "Merino Crew Neck — $118",
description: "Free returns for 30 days",
cta: "Shop Now",
}
// Sample brand (rose-ink + slab + pill-bold): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Tarnwell Knitwear",
theme: "light",
background: "#fff6f7",
colors: ["#d6335f", "#3d3a8c"],
fonts: ["Roboto Slab", "Roboto"],
band: "#ffdde4",
button: "pill-bold",
}
export default function NeonOneWordItchSpecimen({ state = "portrait" }: { state?: string }) {
return (
<NeonOneWordItch
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
word="Itchy?"
headline="Wool sweater on, 10 a.m., already scratching?"
highlight="already scratching?"
support="$118 · free returns for 30 days"
cue="Shop the crew neck"
product={slot(
"product",
__studioImagebb7bf4c6,
)}
productAlt="Folded heathered slate-grey merino wool crew-neck sweater"
logo={slot("logo", tarnwellLogo)}
brand="Tarnwell Knitwear"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalNeonOneWordItch |
AdFormat |
Default "portrait"
|
word OptionalNeonOneWordItch |
string |
Default "Itchy?"
|
headline OptionalNeonOneWordItch |
string |
Default "Still putting up with gear you want off by noon?"
|
highlight OptionalNeonOneWordItch |
string |
Default ""
|
support OptionalNeonOneWordItch |
string |
Default ""
|
cue OptionalNeonOneWordItch |
string |
Default "Shop now"
|
cueNote OptionalNeonOneWordItch |
string |
Default ""
|
product OptionalNeonOneWordItch |
string |
Default ""
|
productAlt OptionalNeonOneWordItch |
string |
Default ""
|
logo OptionalNeonOneWordItch |
string |
Default ""
|
brand OptionalNeonOneWordItch |
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-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.
product- The main product shot or cover (ebook, kit, bottle).
-
246b70f38b89ccd5.webp
image/webp · 159 KB
-
4137412454b17370.webp
image/webp · 94.8 KB