Window Photo Poster 1
A large rounded photo window locked to the margin grid beside or under a huge promise on a mesh field; a cold big-promise ad that drives a product launch 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 213 characters
- Open-plan rooms swallow small candles. The Oat & Ember trio is poured to fill one.
Small-batch soy, a 45-hour burn per candle, three scents for living room, kitchen and hall.
Ships in 2 days. Shop the launch trio. - Headline 29 characters
- One candle for the whole room
- Description 15 characters
- Ships in 2 days
- Button 8 characters
- Shop Now
What it is for
- Angle
- big promise
- Temperature
- cold
- Archetype
- window poster
- Sends people to
- product launch page
- Words on the image
- At most 20
Use it in a prompt
Make the ads/window-photo-poster 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/window-photo-poster.tsx. - Import it and pass your copy and images (Props tab):
import { WindowPhotoPoster } from "@/components/funneldna/ads/window-photo-poster"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/window-photo-poster/component.tsx 150 lines
// archetype: window-poster
// When to use: A large rounded photo window locked to the margin grid beside or under a huge promise on a mesh field; a cold big-promise ad that drives a product launch page.
/**
* Window poster: the promise set huge on a mesh field, a large rounded photo window of the product in its room locked
* to the same margin grid as the copy, then one fact line and the page's own button. Cold · big promise → product launch page.
* The headline always sits on the mesh. The photo is never darkened and never carries type.
* Square: logo top-left and the headline across the full width. Below them, a left column sits beside a window whose
* right and bottom edges are on the 1016 margin lines. The fact sits on the window's top line and the cue ends on its bottom line.
* Portrait and story: logo, headline, then the window full width (margin to margin) taking every spare pixel
* (about 680 / 650px tall). The fact sits left and the cue right on one row, their outer edges on the window's edges.
* Story keeps the whole stack between the top and bottom safe lines.
* Landscape: copy column left (logo on the window's top line, cue on its bottom line), window right on the margin.
* Every window stays near-square or wider, so a product group set in the centre of a square photo stays whole.
* imagePosition (or imagePositions, per format) keeps it framed.
* Truth: the fact line carries only the landing page's own offer terms (burn time, shipping, trial).
*/
import * as React from "react";
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat, type MarkStyle } from "../fx/ad-kit";
import { FX_HOST, Mesh } from "../fx/fx";
export type WindowPhotoPosterProps = {
format?: AdFormat;
/** "dark": --band-ink type over the dark mesh. "light": --ink type over the light mesh. */
tone?: "dark" | "light";
/** The page's promise, 12 words or fewer. A "\n" forces a break (use one to keep two words on a last line). */
headline?: string;
/** One phrase inside `headline` that gets the single highlight. Empty: none. */
highlight?: string;
/** Highlight style. Default: "ink" on the dark mesh, "swipe" on the light mesh. */
mark?: MarkStyle;
/** The page's offer terms (burn time, shipping, trial). Not drawn when empty. */
fact?: string;
/** The landing page button's exact words. */
cue?: string;
/** One short line under the cue's label. Not drawn when empty. */
cueNote?: string;
/** The window photo; the specimen passes slot("scene", designed). Keep the product grouped in the centre. */
image?: string;
imageAlt?: string;
/** object-position for the window photo, so the product sits whole inside the window. */
imagePosition?: string;
/** Per-format object-position overrides (falls back to imagePosition). */
imagePositions?: Partial<Record<AdFormat, string>>;
/** The logo slot image. Empty: the brand name is set as a wordmark. */
logo?: string;
brand?: string;
className?: string;
};
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"];
export const lead = "portrait" satisfies AdFormat;
export const wordCap = 20;
export function WindowPhotoPoster({
format = "portrait",
tone = "dark",
headline = "Name the room. Promise the result.",
highlight = "",
mark,
fact = "",
cue = "Shop now",
cueNote = "",
image = "",
imageAlt = "",
imagePosition = "50% 78%",
imagePositions,
logo = "",
brand = "",
className,
}: WindowPhotoPosterProps) {
const position = imagePositions?.[format] ?? imagePosition;
const style = { ...FX_HOST, "--wpp-pos": position } as React.CSSProperties;
const classes = ["ad-wpp", tone === "light" ? "ad-wpp--light" : "", className || ""].filter(Boolean).join(" ");
return (
<AdFrame format={format} className={classes} style={style}>
<style href="ad-wpp" precedence="default">{CSS}</style>
<Mesh variant={tone} />
<div className="ad-wpp__stage">
<LogoMark src={logo} brand={brand} className="ad-wpp__logo" />
<div className="ad-wpp__head">
<AdHeadline
as="h1"
text={headline}
highlight={highlight}
mark={mark ?? (tone === "light" ? "swipe" : "ink")}
className="ad-wpp__headline"
/>
</div>
<div className="ad-wpp__window">
{image ? <img className="ad-wpp__photo" src={image} alt={imageAlt} /> : null}
</div>
<div className="ad-wpp__action">
{fact ? <p className="ad-wpp__fact">{fact}</p> : null}
<Cue note={cueNote} className="ad-wpp__cue">{cue}</Cue>
</div>
</div>
</AdFrame>
);
}
export default WindowPhotoPoster;
// Layout: one grid stage inset by the format margin (story: also clear of both safe bands), so the logo, headline,
// window and action all share the same margin lines.
// Portrait / story rows: logo | headline | window (minmax(0,1fr), margin to margin) | action row (fact left, cue right).
// Square: columns minmax(360px,max-content) | 1fr; logo and headline span both, then the action column beside the
// window. The fact uses width:0 / min-width:100% so only the cue sizes that column.
// Landscape: columns 1fr | 540px window spanning every row; logo on the window's top line, action on its bottom line.
const CSS = `
.ad-wpp{--wpp-ink:var(--band-ink);--wpp-base:var(--band)}
.ad-wpp.ad-wpp--light{background:var(--surface);color:var(--ink);--wpp-ink:var(--ink);--wpp-base:var(--surface)}
.ad-wpp__stage{position:absolute;z-index:1;inset:var(--ad-m);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"logo" "head" "win" "act";min-width:0;min-height:0}
.ad-wpp .ad-wpp__logo{grid-area:logo;justify-self:start;align-self:start;color:var(--wpp-ink)}
.ad-wpp__head{grid-area:head;min-width:0}
.ad-wpp .ad-wpp__headline{margin:0;min-width:0;color:var(--wpp-ink);line-height:.95;letter-spacing:calc(var(--display-tracking,-0.025em) - 0.01em)}
.ad-wpp__window{grid-area:win;position:relative;min-width:0;min-height:0;overflow:hidden;border-radius:calc(var(--radius,12px) * 2.5);background:color-mix(in oklab,var(--wpp-ink) 10%,var(--wpp-base))}
.ad-wpp__window::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px oklch(from var(--wpp-ink) l c h / 0.14);pointer-events:none}
.ad-wpp__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--wpp-pos,50% 78%)}
.ad-wpp__action{grid-area:act;display:flex;align-items:center;gap:40px;min-width:0}
.ad-wpp__fact{margin:0;flex:1 1 0;min-width:0;font-family:var(--font-body);font-weight:600;line-height:1.3;letter-spacing:.005em;font-variant-numeric:tabular-nums;text-wrap:pretty;color:var(--wpp-ink)}
.ad-wpp .ad-wpp__cue{flex:none;margin-left:auto}
.ad-wpp[data-format="square"] .ad-wpp__stage{grid-template-columns:minmax(360px,max-content) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"logo logo" "head head" "act win";column-gap:40px}
.ad-wpp[data-format="square"] .ad-wpp__head{margin:32px 0 40px}
.ad-wpp[data-format="square"] .ad-wpp__headline{font-size:88px}
.ad-wpp[data-format="square"] .ad-wpp__action{flex-direction:column;align-items:flex-start;gap:28px}
.ad-wpp[data-format="square"] .ad-wpp__fact{flex:none;width:0;min-width:100%;margin-top:-0.14em;font-size:36px;line-height:1.25}
.ad-wpp[data-format="square"] .ad-wpp__cue{margin:auto 0 0;--cue-fs:40px}
.ad-wpp[data-format="portrait"] .ad-wpp__head{margin:24px 0 36px}
.ad-wpp[data-format="portrait"] .ad-wpp__headline{font-size:90px}
.ad-wpp[data-format="portrait"] .ad-wpp__action{margin-top:32px}
.ad-wpp[data-format="portrait"] .ad-wpp__fact{font-size:32px}
.ad-wpp[data-format="portrait"] .ad-wpp__cue{--cue-fs:44px}
.ad-wpp[data-format="story"] .ad-wpp__stage{inset:calc(var(--safe-top) + 32px) var(--ad-m) calc(var(--safe-bottom) + 32px)}
.ad-wpp[data-format="story"] .ad-wpp__head{margin:32px 0 48px}
.ad-wpp[data-format="story"] .ad-wpp__headline{font-size:104px;line-height:.92}
.ad-wpp[data-format="story"] .ad-wpp__action{margin-top:44px}
.ad-wpp[data-format="story"] .ad-wpp__fact{font-size:34px}
.ad-wpp[data-format="story"] .ad-wpp__cue{--cue-fs:48px}
.ad-wpp[data-format="landscape"] .ad-wpp__stage{grid-template-columns:minmax(0,1fr) 540px;grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"logo win" "head win" ". win" "act win";column-gap:40px}
.ad-wpp[data-format="landscape"] .ad-wpp__window{border-radius:calc(var(--radius,12px) * 2)}
.ad-wpp[data-format="landscape"] .ad-wpp__head{margin-top:28px}
.ad-wpp[data-format="landscape"] .ad-wpp__headline{font-size:60px}
.ad-wpp[data-format="landscape"] .ad-wpp__action{flex-direction:column;align-items:flex-start;gap:18px}
.ad-wpp[data-format="landscape"] .ad-wpp__fact{flex:none;font-size:24px}
.ad-wpp[data-format="landscape"] .ad-wpp__cue{margin-left:0;--cue-fs:30px}
`;
pieces/ads/window-photo-poster/specimen.tsx 59 lines
import __studioImage989560e8 from "../assets/71897727474a0b04.webp";
import * as React from "react";
import { slot } from "../../slots";
import { WindowPhotoPoster, formats } from "../window-photo-poster";
import type { AdFormat } from "../../fx/ad-kit";
// Oat & Ember is a fictional small-batch candle brand. The burn time and shipping line are sample offer terms.
// The scene is a generated illustration of a bright open-plan room. The trio (three plain, unlabelled amber jars, all
// lit) stands grouped in the centre of a square photo with clear space around it. Every window is near-square or
// wider, so the whole trio stays inside the frame in every format.
// The logo is sample brand artwork for the `logo` slot (a themed brand replaces it). Its face and currentColor fill
// belong to the image, not the piece's styles.
const oatEmberLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 56"><path d="M22 4c1 8 11 13 11 26a11 11 0 0 1-22 0c0-6 3-10 6-13 0 5 2 8 4 9-1-8 1-15 1-22z" fill="currentColor"/><text x="44" y="38" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.4" fill="currentColor">Oat & Ember</text></svg>`,
);
export const states = ["square", "portrait", "story", "landscape"];
export const copy = {
platform: "meta",
primary_text:
"Open-plan rooms swallow small candles. The Oat & Ember trio is poured to fill one.\nSmall-batch soy, a 45-hour burn per candle, three scents for living room, kitchen and hall.\nShips in 2 days. Shop the launch trio.",
headline: "One candle for the whole room",
description: "Ships in 2 days",
cta: "Shop Now",
};
// Sample brand (evergreen palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Oat & Ember",
theme: "light",
background: "#fbf7f5",
colors: ["#c2512f", "#2f6f73"],
fonts: ["Space Grotesk", "Manrope"],
button: "pill-bold",
}
export default function WindowPhotoPosterSpecimen({ state = "portrait" }: { state?: string }) {
const format = (formats.includes(state as AdFormat) ? state : "portrait") as AdFormat;
return (
<WindowPhotoPoster
format={format}
tone="dark"
headline={"Open-plan room?\nOne candle\nfills it."}
highlight={"One candle\nfills it."}
fact="45-hour burn · ships in 2 days"
cue="Shop the trio"
cueNote="Hand-poured soy"
image={slot(
"scene",
__studioImage989560e8,
)}
imageAlt="Three lit candles in plain amber glass jars grouped on a side table in a bright open-plan living room"
imagePosition="50% 78%"
logo={slot("logo", oatEmberLogo)}
brand="Oat & Ember"
/>
);
}
| Name | Type | Details |
|---|---|---|
format OptionalWindowPhotoPoster |
AdFormat |
Default "portrait"
|
tone OptionalWindowPhotoPoster |
"dark" | "light" |
Default "dark"
|
headline OptionalWindowPhotoPoster |
string |
Default "Name the room. Promise the result."
|
highlight OptionalWindowPhotoPoster |
string |
Default ""
|
mark OptionalWindowPhotoPoster |
MarkStyle |
|
fact OptionalWindowPhotoPoster |
string |
Default ""
|
cue OptionalWindowPhotoPoster |
string |
Default "Shop now"
|
cueNote OptionalWindowPhotoPoster |
string |
Default ""
|
image OptionalWindowPhotoPoster |
string |
Default ""
|
imageAlt OptionalWindowPhotoPoster |
string |
Default ""
|
imagePosition OptionalWindowPhotoPoster |
string |
Default "50% 78%"
|
imagePositions OptionalWindowPhotoPoster |
Partial<Record<AdFormat, string>> |
|
logo OptionalWindowPhotoPoster |
string |
Default ""
|
brand OptionalWindowPhotoPoster |
string |
Default ""
|
className OptionalWindowPhotoPoster |
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-tracking- 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.
scene- A wide atmosphere photo behind or beside the copy.
-
71897727474a0b04.webp
image/webp · 40.2 KB