One Word Itch 1
One pain word set edge to edge over a woven texture with the product shown clear below it; a cold pain-callout ad (ecom fashion and apparel) that sends traffic straight to the product 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 167 characters
- Wool sweater on, 10 a.m., already scratching? The Tarnwell crew neck is knit from merino wool. It's $118, and returns are free for 30 days if it isn't the one for you.
- Headline 26 characters
- The 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/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/one-word-itch.tsx. - Import it and pass your copy and images (Props tab):
import { OneWordItch } from "@/components/funneldna/ads/one-word-itch"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/one-word-itch/component.tsx 230 lines
// archetype: one-word-poster
// When to use: One pain word set edge to edge over a woven texture with the product shown clear below it; a cold pain-callout ad (ecom fashion and apparel) that sends traffic straight to the product page.
import * as React from "react"
import { AD_FORMATS, AdFrame, AdHeadline, Cue, LogoMark, type AdFormat, type MarkStyle } from "../fx/ad-kit"
import { Texture } from "../fx/fx"
import weave from "../fx/textures/weave"
/**
* One word, edge to edge. The pain word is display art: set in the display face, cropped by the left edge and run to
* the right margin over a weave texture on the band. Nothing ever sits on the word. Everything else lives on a stage
* that starts at least 24px below the word's lowest descender (computed from the word's own geometry), so the word
* always reads complete. The stage holds the headline (the reader and the moment, at the floor size), a shelf where
* the product cut-out rests with a tight contact shadow, and the close (cue, then the terms line with the price as a
* bold lead-in).
* Square: the headline under the word, then the close beside the product. Portrait and story: word, headline,
* product, close, stacked; the extra height goes to the product. Landscape: the word and headline on the left, the
* product and the close in the right column under the logo.
* Passing `breakAt` stacks the word over two flush-left lines in portrait and story when that sets it larger than one
* line (long words); the stacked word is capped in height so the product keeps its shelf below.
* Truth: price and terms come from the product page; no comfort promise beyond the real returns.
* Fit: the word is SVG text with a fixed advance (textLength), so it fills the same span in any theme face. Its weight
* follows --display-weight; its case stays as written (an uppercase --display-case would break the fit).
*/
export type OneWordItchProps = {
format?: AdFormat
/** The one word, set edge to edge (one word, punctuation allowed). */
word?: string
/** Stacks the word in portrait and story: characters on the first line. Used only when two lines set it larger. Empty: one line. */
breakAt?: number
/** Names the reader and the moment, 12 words or fewer. A "\n" forces a break. */
headline?: string
/** One phrase in `headline` for the single emphasis. Empty: none. */
highlight?: string
mark?: MarkStyle
/** The price exactly as on the product page, set bold as the terms line's lead-in. Empty: not shown. */
price?: string
/** The plain offer terms from the product page (returns, shipping). Empty: not shown. */
terms?: string
cue?: string
/** Transparent product cut-out (slot "product"), resting on the shelf below the word. */
product?: string
productAlt?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 20
/** How far the first glyph runs past the left edge, in em. */
const CROP = 0.08
/** Safe ascender and descender of a bold display face, in em (covers slab, serif and grotesk faces). */
const ASC = 0.78
const DESC = 0.26
/** Stacked line advance, in em. */
const LEAD = 0.84
/** Clear space kept between the word's lowest point and anything below it, in px. */
const CLEAR = 24
/**
* Word geometry per canvas (px). size: the largest the word may be set; top: the highest its tallest letter may
* reach (clear of the logo or the story safe line); span: where the word ends (right margin). stackBottom (tall
* formats, opt-in through breakAt): the lowest a stacked word may reach, so the product keeps its shelf.
*/
type WordGeo = { size: number; top: number; span: number; stackBottom?: number }
const WORD: Record<AdFormat, WordGeo> = {
square: { size: 380, top: 120, span: 1036 },
portrait: { size: 420, top: 120, span: 1036, stackBottom: 640 },
story: { size: 450, top: 340, span: 1036, stackBottom: 860 },
landscape: { size: 260, top: 56, span: 700 },
thumbnail: { size: 300, top: 60, span: 760 },
}
export function OneWordItch({
format = "portrait",
word = "Again?",
breakAt,
headline = "Name the exact moment your reader is stuck in.",
highlight = "",
mark = "swipe",
price = "",
terms = "",
cue = "Shop now",
product = "",
productAlt = "",
logo = "",
brand = "",
}: OneWordItchProps) {
const canvas = AD_FORMATS[format] || AD_FORMATS.square
const set = wordLayout(word, breakAt, format)
const vars = { "--ow-clear": `${set.clear}px` } as React.CSSProperties
return (
<AdFrame format={format} className="fd-ow" style={vars}>
<style href="fd-ow" precedence="default">{CSS}</style>
<EdgeFilter />
<Texture src={weave} tone="band-ink" opacity={0.12} />
{set.lines.length ? (
<svg className="fd-ow__word" viewBox={`0 0 ${canvas.width} ${canvas.height}`} role="img" aria-label={word.trim()}>
{set.lines.map((l, i) => (
<text key={i} x={l.x} y={l.y} fontSize={l.size} textLength={l.length} lengthAdjust="spacingAndGlyphs">{l.text}</text>
))}
</svg>
) : null}
<LogoMark src={logo} brand={brand} className="fd-ow__logo" />
<div className="fd-ow__stage">
<AdHeadline as="h1" text={headline} highlight={highlight} mark={mark} className="fd-ow__headline" />
<div className="fd-ow__shelf">
{product ? <img className="fd-ow__product" src={product} alt={productAlt || brand} /> : null}
</div>
<div className="fd-ow__close">
<Cue className="fd-ow__cue">{cue}</Cue>
{price || terms ? (
<p className="fd-ow__terms">
{price ? <b>{price}</b> : null}
{price && terms ? " · " : null}
{terms}
</p>
) : null}
</div>
</div>
</AdFrame>
)
}
type WordLine = { text: string; x: number; y: number; size: number; length: number }
type WordSet = { lines: WordLine[]; clear: number }
/**
* Lays the word out for the canvas: one line edge to edge, or (breakAt, tall formats, only when larger) two flush-left
* lines. Returns the lines and `clear`: the y where the stage may begin, CLEAR px below the word's lowest descender.
*/
function wordLayout(word: string, breakAt: number | undefined, format: AdFormat): WordSet {
const g = WORD[format] || WORD.square
const text = word.trim()
if (!text) return { lines: [], clear: g.top }
const one = Math.min(g.size, g.span / Math.max(0.5, advance(text) - CROP))
if (g.stackBottom && breakAt && text.length > 2) {
const at = Math.min(text.length - 1, Math.max(1, breakAt))
const a = text.slice(0, at)
const b = text.slice(at)
const two = Math.min(
g.size,
g.span / Math.max(0.5, advance(a) - CROP),
g.span / Math.max(0.5, advance(b)),
(g.stackBottom - g.top) / (ASC + LEAD + DESC),
)
if (two > one) {
const base = g.top + ASC * two
return {
lines: [setLine(a, -CROP * two, base, two), setLine(b, 0, base + LEAD * two, two)],
clear: Math.round(base + (LEAD + DESC) * two + CLEAR),
}
}
}
const base = g.top + ASC * one
return { lines: [setLine(text, -CROP * one, base, one)], clear: Math.round(base + DESC * one + CLEAR) }
}
function setLine(text: string, x: number, y: number, s: number): WordLine {
return { text, x: Math.round(x), y: Math.round(y), size: Math.round(s), length: Math.round(advance(text) * s) }
}
/** Rough advance of a string in em for a bold display face; textLength then fixes the exact span. */
function advance(s: string) {
let w = 0
for (const ch of s) {
if ("iljI!.,:;'|".includes(ch)) w += 0.3
else if ("tfrJ".includes(ch)) w += 0.38
else if ("mwMW".includes(ch)) w += 0.88
else if (ch === " ") w += 0.25
else if (ch === "?") w += 0.5
else if (ch >= "A" && ch <= "Z") w += 0.68
else w += 0.57
}
return w
}
/**
* Edge choke for the cut-out: erodes the alpha a little over 1px so the light matte fringe a generated cut-out
* carries around knit edges never shows on a dark band. Same definition in every ad, so repeated ids stay harmless.
*/
function EdgeFilter() {
return (
<svg className="fd-ow__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-ow-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.5" result="soft" />
<feComposite in="SourceGraphic" in2="soft" operator="in" />
</filter>
</svg>
)
}
const CSS = `
.fd-ow__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-ow__word{position:absolute;inset:0;z-index:1;width:100%;height:100%;overflow:hidden;pointer-events:none}
.fd-ow__word text{font-family:var(--font-display);font-weight:var(--display-weight,800);fill:var(--band-ink);letter-spacing:0;font-kerning:normal}
.fd-ow__logo{position:absolute;z-index:3;top:48px;right:64px;color:var(--band-ink)}
.fd-ow__stage{position:absolute;z-index:2;left:64px;right:64px;top:var(--ow-top,var(--ow-clear));bottom:64px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"head" "shelf" "close";row-gap:28px}
.fd-ow__headline{grid-area:head;align-self:start;color:var(--band-ink);line-height:1.12;font-size:72px}
.fd-ow__shelf{grid-area:shelf;position:relative;min-width:0;min-height:0}
.fd-ow__product{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:url(#fd-ow-edge) drop-shadow(0 3px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.42)) drop-shadow(0 14px 12px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.26))}
.fd-ow__close{grid-area:close;display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.fd-ow__cue{--cue-fs:38px}
.fd-ow__terms{margin:0;font-family:var(--font-body);font-weight:500;font-size:30px;line-height:1.12;color:var(--band-ink);text-wrap:pretty}
.fd-ow__terms b{font-weight:800}
.fd-ow[data-format="square"] .fd-ow__stage{grid-template-columns:max-content minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"head head" "close shelf";column-gap:32px;row-gap:24px}
.fd-ow[data-format="square"] .fd-ow__close{align-self:end}
.fd-ow[data-format="square"] .fd-ow__product{object-position:100% 100%}
.fd-ow[data-format="portrait"] .fd-ow__headline{font-size:76px}
.fd-ow[data-format="portrait"] .fd-ow__cue{--cue-fs:40px}
.fd-ow[data-format="story"] .fd-ow__logo{top:calc(var(--safe-top) + 12px)}
.fd-ow[data-format="story"] .fd-ow__stage{bottom:calc(var(--safe-bottom) + 6px);row-gap:32px}
.fd-ow[data-format="story"] .fd-ow__headline{font-size:80px}
.fd-ow[data-format="story"] .fd-ow__cue{--cue-fs:42px}
.fd-ow[data-format="landscape"]{--ow-top:132px}
.fd-ow[data-format="landscape"] .fd-ow__logo{top:40px;right:48px}
.fd-ow[data-format="landscape"] .fd-ow__stage{left:48px;right:48px;bottom:48px;grid-template-columns:652px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"head shelf" "head close";column-gap:30px;row-gap:20px}
.fd-ow[data-format="landscape"] .fd-ow__headline{margin-top:max(0px,calc(var(--ow-clear) - var(--ow-top)));font-size:56px;line-height:1.08}
.fd-ow[data-format="landscape"] .fd-ow__close{align-items:center;gap:10px}
.fd-ow[data-format="landscape"] .fd-ow__cue{--cue-fs:28px}
.fd-ow[data-format="landscape"] .fd-ow__terms{font-size:24px;text-align:center}
`
export default OneWordItch
pieces/ads/one-word-itch/specimen.tsx 49 lines
import __studioImage7e578101 from "../assets/881c0ecc03a2db09.webp";
import * as React from "react"
import { slot } from "../../slots"
import { OneWordItch, formats } from "../one-word-itch"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Tarnwell Knitwear, a small merino knitwear label. The sweater is a generated illustration.
const tarnwellLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 232 56"><g fill="currentColor"><ellipse cx="13" cy="26" rx="7.5" ry="17" transform="rotate(-24 13 26)"/><ellipse cx="29" cy="26" rx="7.5" ry="17" transform="rotate(24 29 26)"/></g><text x="50" y="38" font-family="Georgia, 'Times New Roman', serif" font-size="31" font-weight="700" letter-spacing="-.4" fill="currentColor">tarnwell</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Wool sweater on, 10 a.m., already scratching? The Tarnwell crew neck is knit from merino wool. It's $118, and returns are free for 30 days if it isn't the one for you.",
headline: "The merino crew neck, $118",
description: "Free returns for 30 days",
cta: "Shop Now",
}
// Sample brand (rose-ink palette, slab fonts, pill-caps button; invented): 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-caps",
}
export default function OneWordItchSpecimen({ state = "portrait" }: { state?: string }) {
return (
<OneWordItch
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
word="Itchy?"
headline={"Wool sweater on, 10\u00a0a.m., already scratching?"}
price="$118"
terms="free returns for 30 days"
cue="Shop the crew neck"
product={slot("product", __studioImage7e578101)}
productAlt="Folded merino crew-neck sweater"
logo={slot("logo", tarnwellLogo)}
brand="Tarnwell Knitwear"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalOneWordItch |
AdFormat |
Default "portrait"
|
word OptionalOneWordItch |
string |
Default "Again?"
|
breakAt OptionalOneWordItch |
number |
|
headline OptionalOneWordItch |
string |
Default "Name the exact moment your reader is stuck in."
|
highlight OptionalOneWordItch |
string |
Default ""
|
mark OptionalOneWordItch |
MarkStyle |
Default "swipe"
|
price OptionalOneWordItch |
string |
Default ""
|
terms OptionalOneWordItch |
string |
Default ""
|
cue OptionalOneWordItch |
string |
Default "Shop now"
|
product OptionalOneWordItch |
string |
Default ""
|
productAlt OptionalOneWordItch |
string |
Default ""
|
logo OptionalOneWordItch |
string |
Default ""
|
brand OptionalOneWordItch |
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.
product- The main product shot or cover (ebook, kit, bottle).
-
4137412454b17370.webp
image/webp · 94.8 KB
-
881c0ecc03a2db09.webp
image/webp · 159 KB