This Or That Sheets 1
The same product shown two ways in two equal photos, each named by one solid colour block beneath it; a cold curiosity ad that sends people to a product finder or quiz to pick theirs.
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 283 characters
- Kicking the duvet off at 3 a.m., then pulling it back at 5? Start with the sheets. Percale is a crisp, matte weave. Sateen is a smooth weave with a soft sheen. Answer a few questions in our sheet finder and we'll show you which set to try. Queen sets are $129, with 60-night returns.
- Headline 29 characters
- Percale or sateen? Find yours
- Description 16 characters
- 60-night returns
- Button 10 characters
- Learn More
What it is for
- Angle
- curiosity
- Temperature
- cold
- Archetype
- this or that
- Sends people to
- product finder
- Words on the image
- At most 28
Use it in a prompt
Make the ads/this-or-that-sheets 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/this-or-that-sheets.tsx. - Import it and pass your copy and images (Props tab):
import { ThisOrThatSheets } from "@/components/funneldna/ads/this-or-that-sheets"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/this-or-that-sheets/component.tsx 171 lines
// archetype: this-or-that
// When to use: The same product shown two ways in two equal photos, each named by one solid colour block beneath it; a cold curiosity ad that sends people to a product finder or quiz to pick theirs.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
/**
* This or that: a headline band cut on a diagonal across the top of the frame, two equal photos of the same thing
* made two ways straddling that edge, and under each photo (never on it) a solid block: the first in --band, the
* second in --accent-fill. Each block carries one word and a few words of plain fact. The cue sits centred under
* the pair with the offer terms beneath it. Cold · curiosity → product finder.
* Re-composed per format: square and portrait set the pair side by side (portrait gives the extra height to the
* photos); story stacks the two as zigzag rows (block beside photo) between a top and a bottom colour block;
* landscape puts the headline, cue and terms in a left band third with the pair on the right.
* Truth: the words and facts come from the product page (weave, price, returns). No temperature, health or sleep
* claims, and the terms line renders only when the page's terms are passed.
*/
export type ThisOrThatOption = {
/** One word that names the choice ("Cool"). */
word: string
/** A few words of plain fact from the product page ("crisp percale weave"). Empty: none. */
fact?: string
/** Photo of this version (slot "item-1" or "item-2"): same angle and light as the other, no text in it. */
image?: string
alt?: string
}
export type ThisOrThatSheetsProps = {
format?: AdFormat
/** 12 words or fewer; a "\n" forces a break. Names the reader's moment, then asks them to choose. */
headline?: string
/** The phrase in `headline` set in the band marker tint. Empty: none. */
highlight?: string
/** The two choices, first then second. Only the first two are drawn. */
options?: ThisOrThatOption[]
/** The page button's words. */
cue?: string
/** The offer terms copied from the page (price, returns). Empty: none. */
terms?: string
logo?: string
brand?: string
className?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/** Raised from 20: the device needs two named options (a word plus a short fact each) on top of the headline, cue and the offer terms. */
export const wordCap = 28
const DEFAULT_OPTIONS: ThisOrThatOption[] = [
{ word: "This", fact: "the first way, plainly" },
{ word: "That", fact: "the second way, plainly" },
]
const TONES = ["band", "accent"] as const
export function ThisOrThatSheets({
format = "portrait",
headline = "Same thing, two ways.\nWhich one is yours?",
highlight = "",
options = DEFAULT_OPTIONS,
cue = "Find mine",
terms = "",
logo = "",
brand = "",
className,
}: ThisOrThatSheetsProps) {
const pair = [options[0] ?? DEFAULT_OPTIONS[0], options[1] ?? DEFAULT_OPTIONS[1]]
return (
<AdFrame format={format} className={`fd-tot ${className || ""}`}>
<style href="fd-tot" precedence="default">{CSS}</style>
<div className="fd-tot__ground" aria-hidden />
<div className="fd-tot__foot" aria-hidden />
<LogoMark src={logo} brand={brand} className="fd-tot__logo" />
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-tot__head" />
<div className="fd-tot__pair">
{pair.map((o, i) => (
<figure key={i} className="fd-tot__opt" data-tone={TONES[i]}>
<div className="fd-tot__photo">
{o.image ? <img src={o.image} alt={o.alt ?? (o.fact ? `${o.word}: ${o.fact}` : o.word)} decoding="async" /> : null}
</div>
<figcaption className="fd-tot__block">
<span className="fd-tot__word">{o.word}</span>
{o.fact ? <span className="fd-tot__fact">{o.fact}</span> : null}
</figcaption>
</figure>
))}
</div>
<div className="fd-tot__act">
<Cue className="fd-tot__cue">{cue}</Cue>
{terms ? <p className="fd-tot__terms">{terms}</p> : null}
</div>
</AdFrame>
)
}
const CSS = `
.fd-ad.fd-tot{background:var(--surface)}
.fd-ad.fd-tot[data-format="landscape"]{background:var(--band)}
.fd-tot__ground,.fd-tot__foot{position:absolute;inset:0;background:var(--band);pointer-events:none}
.fd-tot__foot{display:none}
.fd-tot__logo{position:absolute;z-index:2;color:var(--band-ink)}
.fd-tot .fd-tot__head{position:absolute;z-index:2;color:var(--band-ink);line-height:1.12}
.fd-tot__pair{position:absolute;z-index:1;display:grid;grid-template-columns:1fr 1fr}
.fd-tot__opt{margin:0;display:flex;flex-direction:column;min-width:0}
.fd-tot__photo{position:relative;overflow:hidden;border-radius:12px;background:color-mix(in oklch,var(--ink) 7%,var(--card))}
.fd-tot__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.fd-tot__block{display:flex;flex-direction:column;justify-content:center;min-width:0;border-radius:var(--radius,12px)}
.fd-tot__opt[data-tone="band"] .fd-tot__block{background:var(--band);color:var(--band-ink);box-shadow:inset 0 0 0 1px oklch(from var(--band-ink) l c h / 0.1)}
.fd-tot__opt[data-tone="accent"] .fd-tot__block{background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card))}
.fd-tot__word{display:block;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);line-height:1.1}
.fd-tot__fact{display:block;font-family:var(--font-body);font-weight:600;line-height:1.2;text-wrap:pretty}
.fd-tot__act{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center}
.fd-tot__terms{margin:0;color:var(--ink);font-family:var(--font-body);font-weight:600;line-height:1.2;text-wrap:balance}
.fd-tot__cue{padding-inline:.95em}
.fd-tot[data-format="square"] .fd-tot__ground{clip-path:polygon(0 0,100% 0,100% 380px,0 520px)}
.fd-tot[data-format="square"] .fd-tot__logo{top:64px;right:64px}
.fd-tot[data-format="square"] .fd-tot__head{left:64px;right:64px;top:138px;font-size:calc(72 * var(--u) * 1px)}
.fd-tot[data-format="square"] .fd-tot__pair{left:64px;right:64px;top:412px;column-gap:24px}
.fd-tot[data-format="square"] .fd-tot__opt{gap:12px}
.fd-tot[data-format="square"] .fd-tot__photo{height:268px}
.fd-tot[data-format="square"] .fd-tot__block{padding:18px 24px;gap:24px}
.fd-tot[data-format="square"] .fd-tot__word{font-size:calc(52 * var(--u) * 1px)}
.fd-tot[data-format="square"] .fd-tot__fact{font-size:max(var(--ad-min),28px)}
.fd-tot[data-format="square"] .fd-tot__act{left:64px;right:64px;bottom:72px;gap:14px}
.fd-tot[data-format="square"] .fd-tot__terms{font-size:max(var(--ad-min),28px)}
.fd-tot[data-format="square"] .fd-tot__cue{--cue-fs:40px}
.fd-tot[data-format="portrait"] .fd-tot__ground{clip-path:polygon(0 0,100% 0,100% 450px,0 640px)}
.fd-tot[data-format="portrait"] .fd-tot__logo{top:64px;right:64px}
.fd-tot[data-format="portrait"] .fd-tot__head{left:64px;right:64px;top:148px;font-size:calc(84 * var(--u) * 1px)}
.fd-tot[data-format="portrait"] .fd-tot__pair{left:64px;right:64px;top:470px;column-gap:24px}
.fd-tot[data-format="portrait"] .fd-tot__opt{gap:12px}
.fd-tot[data-format="portrait"] .fd-tot__photo{height:418px}
.fd-tot[data-format="portrait"] .fd-tot__block{padding:20px 26px;gap:28px}
.fd-tot[data-format="portrait"] .fd-tot__word{font-size:calc(60 * var(--u) * 1px)}
.fd-tot[data-format="portrait"] .fd-tot__fact{font-size:calc(32 * var(--u) * 1px)}
.fd-tot[data-format="portrait"] .fd-tot__act{left:64px;right:64px;bottom:80px;gap:16px}
.fd-tot[data-format="portrait"] .fd-tot__terms{font-size:calc(30 * var(--u) * 1px)}
.fd-tot[data-format="portrait"] .fd-tot__cue{--cue-fs:44px}
.fd-tot[data-format="story"] .fd-tot__ground{clip-path:polygon(0 0,100% 0,100% 650px,0 700px)}
.fd-tot[data-format="story"] .fd-tot__foot{display:block;clip-path:polygon(0 1640px,100% 1770px,100% 100%,0 100%)}
.fd-tot[data-format="story"] .fd-tot__logo{top:calc(var(--safe-top) + 12px);right:64px}
.fd-tot[data-format="story"] .fd-tot__head{left:64px;right:64px;top:340px;font-size:calc(84 * var(--u) * 1px)}
.fd-tot[data-format="story"] .fd-tot__pair{left:64px;right:64px;top:724px;grid-template-columns:1fr;row-gap:22px}
.fd-tot[data-format="story"] .fd-tot__opt{display:grid;grid-template-columns:1fr 368px;column-gap:24px;height:322px}
.fd-tot[data-format="story"] .fd-tot__opt:first-child{grid-template-columns:368px 1fr}
.fd-tot[data-format="story"] .fd-tot__opt:first-child .fd-tot__block{order:-1}
.fd-tot[data-format="story"] .fd-tot__photo{height:100%}
.fd-tot[data-format="story"] .fd-tot__block{padding:28px 32px;gap:38px}
.fd-tot[data-format="story"] .fd-tot__word{font-size:calc(96 * var(--u) * 1px)}
.fd-tot[data-format="story"] .fd-tot__fact{font-size:calc(36 * var(--u) * 1px)}
.fd-tot[data-format="story"] .fd-tot__act{left:64px;right:64px;bottom:calc(var(--safe-bottom) + 4px);gap:14px}
.fd-tot[data-format="story"] .fd-tot__terms{font-size:calc(30 * var(--u) * 1px)}
.fd-tot[data-format="story"] .fd-tot__cue{--cue-fs:46px}
.fd-tot[data-format="landscape"] .fd-tot__ground{background:var(--surface);clip-path:polygon(560px 0,100% 0,100% 100%,450px 100%)}
.fd-tot[data-format="landscape"] .fd-tot__logo{top:48px;left:48px;color:var(--band-ink);--logo-h:56px}
.fd-tot[data-format="landscape"] .fd-tot__head{left:48px;top:128px;width:400px;font-size:56px}
.fd-tot[data-format="landscape"] .fd-tot__pair{left:500px;right:48px;top:56px;column-gap:20px}
.fd-tot[data-format="landscape"] .fd-tot__opt{gap:12px}
.fd-tot[data-format="landscape"] .fd-tot__photo{height:366px}
.fd-tot[data-format="landscape"] .fd-tot__block{padding:16px 20px;gap:20px}
.fd-tot[data-format="landscape"] .fd-tot__word{font-size:40px}
.fd-tot[data-format="landscape"] .fd-tot__fact{font-size:max(var(--ad-min),24px)}
.fd-tot[data-format="landscape"] .fd-tot__act{left:48px;width:400px;bottom:48px;gap:12px;align-items:flex-start;text-align:left}
.fd-tot[data-format="landscape"] .fd-tot__terms{font-size:max(var(--ad-min),22px);color:var(--band-ink)}
.fd-tot[data-format="landscape"] .fd-tot__cue{--cue-fs:28px}
`
export default ThisOrThatSheets
pieces/ads/this-or-that-sheets/specimen.tsx 53 lines
import __studioImage687c9b11 from "../assets/a0f2df1ff91084b1.webp";
import __studioImage68c6f254 from "../assets/18e804ba6022a9bd.webp";
import * as React from "react"
import { slot } from "../../slots"
import { ThisOrThatSheets, formats } from "../this-or-that-sheets"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Wexmoor Bedding, sheets sold online. Both bed photos are generated illustrations.
const wexmoorLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 210 56"><path fill-rule="evenodd" d="M14 10h22a10 10 0 0 1 10 10v16a10 10 0 0 1-10 10H14A10 10 0 0 1 4 36V20a10 10 0 0 1 10-10zm-1 16v5h24v-5z" fill="currentColor"/><text x="58" y="39" font-family="Helvetica, Arial, sans-serif" font-size="31" font-weight="700" letter-spacing="-.6" fill="currentColor">wexmoor</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Kicking the duvet off at 3 a.m., then pulling it back at 5? Start with the sheets. Percale is a crisp, matte weave. Sateen is a smooth weave with a soft sheen. Answer a few questions in our sheet finder and we'll show you which set to try. Queen sets are $129, with 60-night returns.",
headline: "Percale or sateen? Find yours",
description: "60-night returns",
cta: "Learn More",
}
// Sample brand (violet-mint palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {"name":"Wexmoor Bedding","theme":"light","background":"#f7f5ff","colors":["#6a3df0","#1fbf8f"],"fonts":["Epilogue","Hanken Grotesk"],"band":"#e6deff","button":"soft-caps"}
export default function ThisOrThatSheetsSpecimen({ state = "portrait" }: { state?: string }) {
return (
<ThisOrThatSheets
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline={"Kicking the duvet off at 3 a.m.?\nPick your sheets."}
highlight="Pick your sheets."
options={[
{
word: "Cool",
fact: "crisp percale weave",
alt: "A made queen bed with crisp white percale sheets",
image: slot("item-1", __studioImage687c9b11),
},
{
word: "Warm",
fact: "smooth sateen weave",
alt: "The same queen bed made with smooth white sateen sheets",
image: slot("item-2", __studioImage68c6f254),
},
]}
cue="Find my sheets"
terms="Queen sets $129 · 60-night returns"
logo={slot("logo", wexmoorLogo)}
brand="Wexmoor Bedding"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalThisOrThatSheets |
AdFormat |
Default "portrait"
|
headline OptionalThisOrThatSheets |
string |
Default "Same thing, two ways.\nWhich one is yours?"
|
highlight OptionalThisOrThatSheets |
string |
Default ""
|
options OptionalThisOrThatSheets |
ThisOrThatOption[] |
Default DEFAULT_OPTIONS
|
cue OptionalThisOrThatSheets |
string |
Default "Find mine"
|
terms OptionalThisOrThatSheets |
string |
Default ""
|
logo OptionalThisOrThatSheets |
string |
Default ""
|
brand OptionalThisOrThatSheets |
string |
Default ""
|
className OptionalThisOrThatSheets |
string |
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-tracking--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.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
logo- The brand’s logo mark.
-
18e804ba6022a9bd.webp
image/webp · 33.8 KB
-
a0f2df1ff91084b1.webp
image/webp · 34.8 KB