Bundle Flatlay 1
A full-bleed overhead flat-lay of everything in the box under one solid strip with the promise, the piece count, the price and the cue; a warm, offer-led ad that sends shoppers to the ecom bundle 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 214 characters
- Your last ten minutes before bed, in four pieces.
The Evening Set: cleanser, serum, night cream and a cotton face cloth, in the order you use them.
$58 for the set. Ships free.
Shop the set and keep tonight simple. - Headline 30 characters
- The Evening Set: 4 pieces, $58
- Description 10 characters
- Ships free
- Button 8 characters
- Shop Now
What it is for
- Words on the image
- At most 22
Use it in a prompt
Make the ads/bundle-flatlay 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/bundle-flatlay.tsx. - Import it and pass your copy and images (Props tab):
import { BundleFlatlay } from "@/components/funneldna/ads/bundle-flatlay"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/bundle-flatlay/component.tsx 164 lines
// archetype: flatlay
// When to use: A full-bleed overhead flat-lay of everything in the box under one solid strip with the promise, the piece count, the price and the cue; a warm, offer-led ad that sends shoppers to the ecom bundle page.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
/**
* Flat-lay: the photo shows every piece in the box, laid out from above and framed tight so the products are the hero,
* and one solid strip carries the promise, the count line, the cue with the price line beside it, and the logo. Square
* and portrait put the strip under the photo. Story sets the logo and headline on the band under the top safe line,
* then runs the flat-lay full-bleed from there to the bottom edge, with the cue, price and count line on a short solid
* band laid over its foot (cue bottom at 1560, just above the platform's bottom bar; the photo continues beneath it).
* Landscape sets the strip beside a near-square photo.
* Framing: each format crops the shot with its own zoom (tuned for a flat-lay whose pieces fill about two thirds of a
* 3:2 frame) so the pieces fill roughly 70% of the photo area; `photoZoom` tightens a looser supplied shot.
* Truth: the count line and the price come from the bundle page, and the picture must show exactly that many pieces.
*/
export type BundleFlatlayProps = {
format?: AdFormat
/** The promise: names the moment the set is for. 12 words or fewer; a "\n" forces a break. */
headline?: string
/** One phrase inside `headline` that gets the single highlight. Empty: none. */
highlight?: string
/** One line with how many pieces and what they add up to. It must match the product page and the photo. */
count?: string
/** The bundle page's button words. */
cue?: string
/** One short line under the cue label. Empty: none. */
cueNote?: string
/** The set's price exactly as on the page. Empty: not drawn. */
price?: string
/** One offer term (shipping, trial or guarantee). Empty: not drawn. */
terms?: string
/** Overhead flat-lay of every item in the box (slot "scene"), ideally 3:2 with the pieces filling about two thirds of it. */
photo?: string
photoAlt?: string
/** object-position focal point of the flat-lay; also the point the crop zooms toward. */
photoPosition?: string
/** Extra zoom on top of each format's framing, for a supplied shot with more empty background (1 = as designed). */
photoZoom?: number
/** Logo slot image. Empty: the brand name is set as a wordmark. */
logo?: string
brand?: string
/** The strip's colour: the dark band or the page surface. */
stripTone?: "band" | "surface"
className?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
// 22, not 20: the bundle's price and its one offer term show in every format beside the headline, count and cue.
export const wordCap = 22
export function BundleFlatlay({
format = "portrait",
headline = "Everything you need, in one box.",
highlight = "",
count = "One set, ready to use",
cue = "Shop the set",
cueNote = "",
price = "",
terms = "",
photo = "",
photoAlt = "Everything in the set, laid out from above",
photoPosition = "50% 50%",
photoZoom = 1,
logo = "",
brand = "",
stripTone = "band",
className,
}: BundleFlatlayProps) {
const surface = stripTone === "surface"
const zoom = Number.isFinite(photoZoom) && photoZoom >= 1 ? photoZoom : 1
return (
<AdFrame
format={format}
className={["cf-bundle-flatlay", surface ? "bf-surface" : "", className].filter(Boolean).join(" ")}
>
<style href="cf-bundle-flatlay" precedence="default">{css}</style>
<div className="bf-photo" style={{ "--bf-focus": photoPosition, "--bf-zoom-x": zoom } as React.CSSProperties}>
<div className="bf-shot">
{photo ? <img src={photo} alt={photoAlt} decoding="async" /> : null}
</div>
</div>
<div className="bf-strip">
<AdHeadline as="h1" text={headline} highlight={highlight} mark={surface ? "swipe" : "ink"} className="bf-head" />
{count ? <p className="bf-count">{count}</p> : null}
<LogoMark src={logo} brand={brand} className="bf-logo" />
<div className="bf-offer">
<Cue note={cueNote} className="bf-cue">{cue}</Cue>
{price || terms ? (
<p className="bf-price">
{price ? <b>{price}</b> : null}
{price && terms ? <span aria-hidden> · </span> : null}
{terms ? <span>{terms}</span> : null}
</p>
) : null}
</div>
</div>
</AdFrame>
)
}
export default BundleFlatlay
/** n px on the 1080-wide stage. */
function u(n: number) {
return `calc(${n} * var(--u, 1) * 1px)`
}
const R = ".fd-ad.cf-bundle-flatlay"
const css = `
${R}{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"photo" "strip";--bf-bg:var(--band);--bf-ink:var(--band-ink);--bf-soft:color-mix(in oklch,var(--band-ink) 80%,var(--band));--bf-zoom:1;--bf-foot:0px;background:var(--bf-bg);color:var(--bf-ink)}
${R}.bf-surface{--bf-bg:var(--surface);--bf-ink:var(--ink);--bf-soft:var(--muted)}
${R} .bf-photo{grid-area:photo;position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--bf-bg)}
${R} .bf-shot{position:absolute;inset:0 0 var(--bf-foot) 0;overflow:hidden;background:color-mix(in oklch,var(--ink) 6%,var(--surface))}
${R} .bf-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--bf-focus,50% 50%);transform:scale(calc(var(--bf-zoom) * var(--bf-zoom-x,1)));transform-origin:var(--bf-focus,50% 50%)}
${R} .bf-strip{grid-area:strip;position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head head" "count logo" "offer offer";align-items:center;column-gap:${u(32)};padding:${u(52)} var(--ad-m) ${u(56)};background:var(--bf-bg);color:var(--bf-ink)}
${R} .bf-head{grid-area:head;font-size:${u(72)};line-height:1.03;color:var(--bf-ink)}
${R} .bf-count{grid-area:count;margin:${u(16)} 0 0;font-size:${u(32)};font-weight:600;line-height:1.3;text-wrap:pretty;color:var(--bf-soft)}
${R} .bf-logo{grid-area:logo;justify-self:end;margin-top:${u(16)};--logo-h:${u(56)};color:var(--bf-ink)}
${R} .bf-offer{grid-area:offer;display:flex;flex-wrap:wrap;align-items:center;gap:${u(16)} ${u(32)};min-width:0;margin-top:${u(32)}}
${R} .bf-cue{--cue-fs:44px}
${R} .bf-price{margin:0;font-size:${u(32)};font-weight:600;line-height:1.2;white-space:nowrap;color:var(--bf-soft)}
${R} .bf-price b{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:1.4em;letter-spacing:-0.02em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--bf-ink)}
/* Square: the count row sits 28 stage px under the headline (about 22px+ of visible air between the text boxes once
the headline's descent and the count's half-leading are counted); the logo shares the row and keeps the same offset
so the two stay centred on one line. */
${R}[data-format="square"]{--bf-zoom:1.06}
${R}[data-format="square"] .bf-count{margin-top:${u(28)}}
${R}[data-format="square"] .bf-logo{margin-top:${u(28)}}
${R}[data-format="portrait"]{--bf-zoom:1.15}
${R}[data-format="portrait"] .bf-strip{padding:${u(60)} var(--ad-m) ${u(64)}}
${R}[data-format="portrait"] .bf-head{font-size:${u(84)};line-height:1.02}
${R}[data-format="portrait"] .bf-count{font-size:${u(34)};margin-top:${u(18)}}
${R}[data-format="portrait"] .bf-logo{--logo-h:${u(60)};margin-top:${u(18)}}
${R}[data-format="portrait"] .bf-offer{margin-top:${u(36)}}
${R}[data-format="portrait"] .bf-price{font-size:${u(34)}}
/* Story: logo + headline on the band under the top safe line; the flat-lay full-bleed from there to the bottom edge;
a short solid band over its foot carries the cue (bottom edge at 1920 - 320 - 40 = 1560) with the price and count
line beside it. Rows: top safe pad, logo, headline, gap, photo window, band top pad, price, count, band bottom pad,
the platform's bottom bar (photo continues under it). The band is the root's ::before, a grid item spanning rows 6-9. */
${R}[data-format="story"]{grid-template-columns:var(--ad-m) auto ${u(36)} minmax(0,1fr) var(--ad-m);grid-template-rows:calc(var(--safe-top) + 24px) auto auto ${u(40)} minmax(0,1fr) ${u(28)} auto auto ${u(40)} calc(var(--safe-bottom) - 20px);grid-template-areas:none;--bf-zoom:1;--bf-foot:0px}
${R}[data-format="story"]::before{content:"";grid-area:6/1/10/-1;position:relative;z-index:1;background:var(--bf-bg)}
${R}[data-format="story"] .bf-photo{grid-area:5/1/-1/-1;z-index:0}
${R}[data-format="story"] .bf-strip,${R}[data-format="story"] .bf-offer{display:contents}
${R}[data-format="story"] .bf-logo{grid-area:2/2/3/5;justify-self:start;align-self:start;margin:0;--logo-h:${u(56)}}
${R}[data-format="story"] .bf-head{grid-area:3/2/4/5;margin:${u(24)} 0 0;font-size:${u(88)};line-height:1.02}
${R}[data-format="story"] .bf-cue{grid-area:7/2/9/3;align-self:end;justify-self:start;position:relative;z-index:2;--cue-fs:50px}
${R}[data-format="story"] .bf-price{grid-area:7/4/8/5;align-self:end;position:relative;z-index:2;font-size:${u(36)};white-space:normal;text-wrap:pretty}
${R}[data-format="story"] .bf-count{grid-area:8/4/9/5;align-self:start;position:relative;z-index:2;margin:${u(8)} 0 0;font-size:${u(34)};line-height:1.25}
${R}[data-format="landscape"]{grid-template-columns:${u(470)} minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"strip photo";--bf-zoom:1}
${R}[data-format="landscape"] .bf-strip{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"logo" "head" "count" "offer";align-items:start;padding:var(--ad-m)}
${R}[data-format="landscape"] .bf-logo{justify-self:start;margin:0;--logo-h:${u(52)}}
${R}[data-format="landscape"] .bf-head{align-self:end;margin-top:${u(18)};font-size:${u(52)};line-height:1.03}
${R}[data-format="landscape"] .bf-count{font-size:${u(22)};margin-top:${u(10)}}
${R}[data-format="landscape"] .bf-offer{margin-top:${u(22)};gap:${u(12)} ${u(20)}}
${R}[data-format="landscape"] .bf-cue{--cue-fs:28px}
${R}[data-format="landscape"] .bf-price{font-size:${u(22)}}
`
pieces/ads/bundle-flatlay/specimen.tsx 56 lines
import __studioImage7e9c44e8 from "../assets/2fdb742756410833.webp";
import * as React from "react"
import { slot } from "../../slots"
import BundleFlatlay, { formats } from "../bundle-flatlay"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Morrow Skin, a four-piece evening skincare set. The flat-lay is a generated illustration.
const morrowLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 56"><path d="M22 6C15 15 7 25 7 34a15 15 0 0 0 30 0C37 25 29 15 22 6z" fill="currentColor"/><text x="50" y="38" font-family="Helvetica, Arial, sans-serif" font-size="29" font-weight="700" letter-spacing="-.4" fill="currentColor">morrow skin</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text:
"Your last ten minutes before bed, in four pieces.\nThe Evening Set: cleanser, serum, night cream and a cotton face cloth, in the order you use them.\n$58 for the set. Ships free.\nShop the set and keep tonight simple.",
headline: "The Evening Set: 4 pieces, $58",
description: "Ships free",
cta: "Shop Now",
}
// Sample brand (charcoal-lime palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Morrow Skin",
theme: "light",
background: "#fff6f7",
colors: ["#d6335f", "#3d3a8c"],
fonts: ["Montserrat", "Source Sans 3"],
button: "soft-caps",
band: "#ffdde4",
}
export default function BundleFlatlaySpecimen({ state = "portrait" }: { state?: string }) {
return (
<BundleFlatlay
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Everything for the last ten minutes of your day."
highlight="last ten minutes"
count="4 pieces, one routine"
cue="Shop the set"
price="$58"
terms="Ships free"
brand="Morrow Skin"
logo={slot("logo", morrowLogo)}
photo={slot(
"scene",
__studioImage7e9c44e8,
)}
photoAlt="The Evening Set from above: cleanser, serum, night cream and a cotton face cloth"
photoPosition="50% 50%"
stripTone="band"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalBundleFlatlay |
AdFormat |
Default "portrait"
|
headline OptionalBundleFlatlay |
string |
Default "Everything you need, in one box."
|
highlight OptionalBundleFlatlay |
string |
Default ""
|
count OptionalBundleFlatlay |
string |
Default "One set, ready to use"
|
cue OptionalBundleFlatlay |
string |
Default "Shop the set"
|
cueNote OptionalBundleFlatlay |
string |
Default ""
|
price OptionalBundleFlatlay |
string |
Default ""
|
terms OptionalBundleFlatlay |
string |
Default ""
|
photo OptionalBundleFlatlay |
string |
Default ""
|
photoAlt OptionalBundleFlatlay |
string |
Default "Everything in the set, laid out from above"
|
photoPosition OptionalBundleFlatlay |
string |
Default "50% 50%"
|
photoZoom OptionalBundleFlatlay |
number |
Default 1
|
logo OptionalBundleFlatlay |
string |
Default ""
|
brand OptionalBundleFlatlay |
string |
Default ""
|
stripTone OptionalBundleFlatlay |
"band" | "surface" |
Default "band"
|
className OptionalBundleFlatlay |
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-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.
scene- A wide atmosphere photo behind or beside the copy.
-
2fdb742756410833.webp
image/webp · 37.8 KB