Carousel Fold Steps 1
A four-card how-to carousel (the hook, two steps, the finished result with its price and terms) standing on one shared shelf strip; a cold curiosity ad that sends swipers 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 271 characters
- Folding a fitted sheet at 10 p.m. shouldn't end with a ball stuffed in the closet. Swipe the four cards: tuck the corners into each other, fold in thirds, and it stacks flat. Our queen sheet set is $129, with 60 nights to sleep on it and send it back if it isn't for you.
- Headline 21 characters
- Queen sheet set, $129
- Description 16 characters
- 60-night returns
- Button 8 characters
- Shop Now
What it is for
- Angle
- curiosity
- Temperature
- cold
- Archetype
- carousel steps
- Sends people to
- product page
- Words on the image
- At most 20
Use it in a prompt
Make the ads/carousel-fold-steps ad from the FunnelDNA library in my brand, at every size (portrait-1, portrait-2, portrait-3, portrait-4, square-1, square-2, square-3, square-4), 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/carousel-fold-steps.tsx. - Import it and pass your copy and images (Props tab):
import { CarouselFoldSteps } from "@/components/funneldna/ads/carousel-fold-steps"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/carousel-fold-steps/component.tsx 183 lines
// archetype: carousel-steps
// When to use: A four-card how-to carousel (the hook, two steps, the finished result with its price and terms) standing on one shared shelf strip; a cold curiosity ad that sends swipers to the product page.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Spot } from "../fx/fx"
import checklist from "../fx/spots/checklist"
/**
* Four-card how-to. One piece renders each card of the swipe set (`card` 1-4).
* Card 1 is the hook in the display face with the product cut-out standing on the shelf, sized up to fill the frame
* right under the headline.
* Cards 2 and 3 are one step each: a big accent numeral, the step in a few words, and a Spot clay illustration of the step.
* The numeral is trimmed to its cap height (text-box) and starts at least 32px below the logo.
* Card 4 is the finished result with the price, set as one plain line ("Queen set $129").
* Every card stands on the same --band shelf at the same height. The shelf runs through each shared card edge (card 1
* opens it with a rounded end, card 4 closes it), so the swipe reads as one strip. The shelf carries the offer terms and
* the cue on every card. Cold · curiosity → product page.
* Truth: the steps must work as shown. Price and terms are the page's own and render only when supplied.
* Finish: products and illustrations sit low, with their base tucked behind the shelf's front edge and a contact shadow
* on the shelf line, so nothing floats.
*/
export type CarouselFoldStepsProps = {
format?: AdFormat
/** Which card of the four-card set this render is: 1 the hook, 2 and 3 the steps, 4 the result. */
card?: 1 | 2 | 3 | 4
/** Card 1: the hook, 12 words or fewer, naming the reader's moment. A newline forces a break. */
headline?: string
/** Card 1: one phrase inside `headline` that gets the marker swipe. Empty: none. */
highlight?: string
/** Cards 2 and 3: one step each, a few words, with its Spot clay illustration (greyscale, transparent). */
steps?: { text: string; art?: string }[]
/** Card 4: the finished result. */
resultHeadline?: string
/** Plain-case words set before the price in the same line ("Queen set"). Empty: none. */
priceLabel?: string
/** The set's price ("$129"). Empty: no price anywhere. */
price?: string
/** The offer terms ("60-night returns"). Empty: none. */
terms?: string
cue?: string
/** Transparent product cut-out (slot "product"), shown on cards 1 and 4. */
product?: string
productAlt?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 20
/** The cards in the set, in swipe order. */
export const cards = [1, 2, 3, 4] as const
export type FoldCard = (typeof cards)[number]
/** Spot illustration size per format, matching its stage box below. */
const SPOT_SIZE: Record<"square" | "portrait", number> = { square: 560, portrait: 760 }
export function CarouselFoldSteps({
format = "portrait",
card = 1,
headline = "The everyday job everyone gets wrong, in four cards.",
highlight = "",
steps = [{ text: "Start with the first step" }, { text: "Then do the second" }],
resultHeadline = "Done right, the first time.",
priceLabel = "",
price = "",
terms = "",
cue = "Shop now",
product = "",
productAlt = "The product",
logo = "",
brand = "",
}: CarouselFoldStepsProps) {
const f: "square" | "portrait" = format === "square" ? "square" : "portrait"
const c: FoldCard = card === 2 || card === 3 || card === 4 ? card : 1
const isStep = c === 2 || c === 3
const step = isStep ? steps[c - 2] || { text: "" } : undefined
const text = c === 1 ? headline : c === 4 ? resultHeadline : step?.text || ""
const hasPhoto = !isStep && !!product
const offer = c !== 4 && (priceLabel || price)
return (
<AdFrame format={f} className={`fd-fold fd-fold--c${c}${isStep ? " fd-fold--step" : ""}`}>
<style href="fd-fold" precedence="default">{CSS}</style>
<LogoMark src={logo} brand={brand} className="fd-fold__logo" />
{isStep ? <p className="fd-fold__num">{c - 1}</p> : null}
<AdHeadline as="h1" text={text} highlight={c === 1 ? highlight : ""} mark="swipe" className="fd-fold__h" />
{isStep || hasPhoto ? <span className="fd-fold__contact" aria-hidden /> : null}
{isStep ? (
<div className="fd-fold__hero">
<Spot src={step?.art || checklist} size={SPOT_SIZE[f]} />
</div>
) : hasPhoto ? (
<div className="fd-fold__hero fd-fold__hero--photo">
<img src={product} alt={productAlt} decoding="async" />
</div>
) : null}
{c === 4 && price ? (
<p className="fd-fold__price">
{priceLabel ? <span className="fd-fold__price-label">{priceLabel}</span> : null}
{priceLabel ? " " : null}
<span className="fd-fold__price-amt">{price}</span>
</p>
) : null}
<div className="fd-fold__rail">
{offer || terms ? (
<p className="fd-fold__terms">
{offer ? (
<span>
{priceLabel ? priceLabel : null}
{priceLabel && price ? " " : null}
{price ? <b>{price}</b> : null}
</span>
) : null}
{terms ? <span>{terms}</span> : null}
</p>
) : null}
<Cue className="fd-fold__cue">{cue}</Cue>
</div>
</AdFrame>
)
}
const CSS = `
.fd-fold{--s:calc(var(--u) * 1px);--fold-shade:var(--shadow,oklch(0.22 0.03 260));background:var(--surface);color:var(--ink)}
.fd-fold[data-format="square"]{--rail-top:calc(868 * var(--s));--rail-h:calc(148 * var(--s))}
.fd-fold[data-format="portrait"]{--rail-top:calc(1128 * var(--s));--rail-h:calc(158 * var(--s))}
.fd-fold__logo{position:absolute;z-index:4;left:calc(64 * var(--s));top:calc(64 * var(--s));color:var(--ink)}
.fd-fold .fd-fold__h{position:absolute;z-index:3;left:calc(64 * var(--s));right:calc(64 * var(--s));color:var(--ink);line-height:1.12}
.fd-fold .fd-ad-mark[data-style="swipe"]{color:oklch(from var(--marker,#fae37c) 0.22 calc(c * 0.3) h);background:linear-gradient(177deg,transparent 0 24%,oklch(from var(--marker,#fae37c) max(l,0.88) c h / 1) 24% 94%,transparent 94%)}
.fd-fold__num{position:absolute;z-index:3;left:calc(52 * var(--s));top:calc(172 * var(--s));margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.04em;line-height:.82;text-box:trim-both cap alphabetic;color:var(--accent);font-variant-numeric:tabular-nums}
.fd-fold__contact{position:absolute;z-index:0;top:var(--rail-top);height:calc(56 * var(--s));transform:translateY(-50%);background:radial-gradient(closest-side,oklch(from var(--fold-shade) l c h / 0.4),oklch(from var(--fold-shade) l c h / 0))}
.fd-fold__hero{position:absolute;z-index:1;display:flex;align-items:flex-end;justify-content:center;line-height:0}
.fd-fold__hero--photo img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 calc(2 * var(--s)) calc(3 * var(--s)) oklch(from var(--fold-shade) l c h / 0.3)) drop-shadow(0 calc(14 * var(--s)) calc(16 * var(--s)) oklch(from var(--fold-shade) l c h / 0.22))}
.fd-fold__rail{position:absolute;z-index:2;left:0;right:0;top:var(--rail-top);height:var(--rail-h);display:flex;align-items:center;gap:calc(32 * var(--s));padding:0 calc(64 * var(--s));background:var(--band);color:var(--band-ink);box-shadow:inset 0 calc(5 * var(--s)) 0 oklch(from var(--band) calc(l + 0.07) c h),0 calc(2 * var(--s)) calc(3 * var(--s)) oklch(from var(--fold-shade) l c h / 0.28),0 calc(12 * var(--s)) calc(16 * var(--s)) calc(-6 * var(--s)) oklch(from var(--fold-shade) l c h / 0.3)}
.fd-fold--c1 .fd-fold__rail{left:calc(64 * var(--s));padding-left:calc(36 * var(--s));border-radius:calc(var(--radius,12px) * 1.6) 0 0 calc(var(--radius,12px) * 1.6)}
.fd-fold--c4 .fd-fold__rail{right:calc(64 * var(--s));padding-right:calc(32 * var(--s));border-radius:0 calc(var(--radius,12px) * 1.6) calc(var(--radius,12px) * 1.6) 0}
.fd-fold__terms{margin:0;min-width:0;display:flex;flex-direction:column;gap:calc(12 * var(--s));font-size:calc(30 * var(--s));line-height:1.1;font-weight:600;color:var(--band-ink);text-wrap:pretty}
.fd-fold__terms>span{display:block}
.fd-fold__terms b{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:1.2em;font-variant-numeric:tabular-nums}
.fd-fold .fd-fold__cue{margin-left:auto;padding-inline:.9em;flex:none}
.fd-fold__price{position:absolute;z-index:3;left:calc(64 * var(--s));margin:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:baseline;gap:calc(18 * var(--s));color:var(--ink);white-space:nowrap}
.fd-fold__price-label{font-family:var(--font-body);font-weight:700;font-size:calc(52 * var(--s));line-height:1;color:var(--accent)}
.fd-fold__price-amt{font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.035em;line-height:.95;font-size:calc(150 * var(--s));font-variant-numeric:tabular-nums;white-space:nowrap}
.fd-fold[data-format="square"] .fd-fold__cue{--cue-fs:calc(38 * var(--s))}
.fd-fold[data-format="portrait"] .fd-fold__cue{--cue-fs:calc(42 * var(--s))}
.fd-fold[data-format="portrait"] .fd-fold__terms{font-size:calc(32 * var(--s))}
.fd-fold--c1[data-format="square"] .fd-fold__h{top:calc(150 * var(--s));font-size:calc(84 * var(--s))}
.fd-fold--c1[data-format="square"] .fd-fold__hero{left:calc(100 * var(--s));top:calc(180 * var(--s));width:calc(880 * var(--s));height:calc(880 * var(--s))}
.fd-fold--c1[data-format="square"] .fd-fold__contact{left:calc(200 * var(--s));width:calc(680 * var(--s))}
.fd-fold--c1[data-format="portrait"] .fd-fold__h{top:calc(150 * var(--s));font-size:calc(92 * var(--s))}
.fd-fold--c1[data-format="portrait"] .fd-fold__hero{left:calc(-50 * var(--s));top:calc(120 * var(--s));width:calc(1180 * var(--s));height:calc(1180 * var(--s))}
.fd-fold--c1[data-format="portrait"] .fd-fold__contact{left:calc(120 * var(--s));width:calc(840 * var(--s))}
.fd-fold--step[data-format="square"] .fd-fold__num{font-size:calc(290 * var(--s))}
.fd-fold--step[data-format="square"] .fd-fold__h{top:calc(206 * var(--s));left:calc(300 * var(--s));font-size:calc(88 * var(--s))}
.fd-fold--step[data-format="square"] .fd-fold__hero{left:calc(240 * var(--s));top:calc(388 * var(--s));width:calc(600 * var(--s));height:calc(600 * var(--s))}
.fd-fold--step[data-format="square"] .fd-fold__contact{left:calc(320 * var(--s));width:calc(440 * var(--s))}
.fd-fold--step[data-format="portrait"] .fd-fold__num{font-size:calc(330 * var(--s))}
.fd-fold--step[data-format="portrait"] .fd-fold__h{top:calc(212 * var(--s));left:calc(320 * var(--s));font-size:calc(92 * var(--s))}
.fd-fold--step[data-format="portrait"] .fd-fold__hero{left:calc(130 * var(--s));top:calc(462 * var(--s));width:calc(820 * var(--s));height:calc(820 * var(--s))}
.fd-fold--step[data-format="portrait"] .fd-fold__contact{left:calc(230 * var(--s));width:calc(620 * var(--s))}
.fd-fold--c4[data-format="square"] .fd-fold__h{top:calc(150 * var(--s));font-size:calc(84 * var(--s))}
.fd-fold--c4[data-format="square"] .fd-fold__price{top:calc(440 * var(--s))}
.fd-fold--c4[data-format="square"] .fd-fold__hero{left:calc(400 * var(--s));top:calc(320 * var(--s));width:calc(680 * var(--s));height:calc(680 * var(--s))}
.fd-fold--c4[data-format="square"] .fd-fold__contact{left:calc(480 * var(--s));width:calc(520 * var(--s))}
.fd-fold--c4[data-format="portrait"] .fd-fold__h{top:calc(150 * var(--s));font-size:calc(92 * var(--s))}
.fd-fold--c4[data-format="portrait"] .fd-fold__price{top:calc(430 * var(--s))}
.fd-fold--c4[data-format="portrait"] .fd-fold__hero{left:calc(220 * var(--s));top:calc(340 * var(--s));width:calc(960 * var(--s));height:calc(960 * var(--s))}
.fd-fold--c4[data-format="portrait"] .fd-fold__contact{left:calc(380 * var(--s));width:calc(660 * var(--s))}
`
export default CarouselFoldSteps
pieces/ads/carousel-fold-steps/specimen.tsx 75 lines
import __studioImagefa659fb6 from "../assets/ff1b0f5e92bd0bb0.webp";
import __studioImage36cd1197 from "../assets/30e0dd791c78e7bc.webp";
import __studioImage5fe4ea5d from "../assets/076304f46a6353cc.webp";
import * as React from "react"
import { slot } from "../../slots"
import { CarouselFoldSteps, formats, cards, type FoldCard } from "../carousel-fold-steps"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Wexmoor Bedding, a direct-to-home sheet maker. The product and step art are generated illustrations.
const wexmoorLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 220 56"><path fill="currentColor" fill-rule="evenodd" d="M4 8h32l14 14v28H4zM36 8v14h14z"/><text x="62" y="40" font-family="Helvetica, Arial, sans-serif" font-size="32" font-weight="700" letter-spacing="-.4" fill="currentColor">wexmoor</text></svg>`,
)
// Each state is <format>-<card>: the size switch and the card switch in one.
export const states = ["portrait-1", "portrait-2", "portrait-3", "portrait-4", "square-1", "square-2", "square-3", "square-4"]
export const copy = {
platform: "meta",
primary_text: "Folding a fitted sheet at 10 p.m. shouldn't end with a ball stuffed in the closet. Swipe the four cards: tuck the corners into each other, fold in thirds, and it stacks flat. Our queen sheet set is $129, with 60 nights to sleep on it and send it back if it isn't for you.",
headline: "Queen sheet set, $129",
description: "60-night returns",
cta: "Shop Now",
}
// Sample brand (violet-mint palette, epilogue fonts, 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"],
button: "soft-caps",
band: "#e6deff",
}
/** "portrait-3" → portrait, card 3. A bare format name ("square") is card 1. Anything unknown → portrait-1. */
function parseState(state: string): { format: AdFormat; card: FoldCard } {
const [f, n] = String(state || "").split("-")
const format = (formats.includes(f as AdFormat) ? f : "portrait") as AdFormat
const num = Number(n)
const card = ((cards as readonly number[]).includes(num) ? num : 1) as FoldCard
return { format, card }
}
export default function CarouselFoldStepsSpecimen({ state = "portrait-1" }: { state?: string }) {
const { format, card } = parseState(state)
return (
<CarouselFoldSteps
format={format}
card={card}
headline="Folding a fitted sheet at 10 p.m.? Four cards."
highlight="at 10 p.m."
steps={[
{
text: "Corners into corners",
art: __studioImagefa659fb6,
},
{
text: "Fold in thirds",
art: __studioImage36cd1197,
},
]}
resultHeadline="Flat, square, and back on the shelf."
priceLabel="Queen set"
price="$129"
terms="60-night returns"
cue="Shop the sheet set"
product={slot("product", __studioImage5fe4ea5d)}
productAlt="A folded Wexmoor queen sheet set"
logo={slot("logo", wexmoorLogo)}
brand="Wexmoor Bedding"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalCarouselFoldSteps |
AdFormat |
Default "portrait"
|
card OptionalCarouselFoldSteps |
1 | 2 | 3 | 4 |
Default 1
|
headline OptionalCarouselFoldSteps |
string |
Default "The everyday job everyone gets wrong, in four cards."
|
highlight OptionalCarouselFoldSteps |
string |
Default ""
|
steps OptionalCarouselFoldSteps |
{ text: string; art?: string }[] |
Default [{ text: "Start with the first step" }, { text: "Then do the second" }]
|
resultHeadline OptionalCarouselFoldSteps |
string |
Default "Done right, the first time."
|
priceLabel OptionalCarouselFoldSteps |
string |
Default ""
|
price OptionalCarouselFoldSteps |
string |
Default ""
|
terms OptionalCarouselFoldSteps |
string |
Default ""
|
cue OptionalCarouselFoldSteps |
string |
Default "Shop now"
|
product OptionalCarouselFoldSteps |
string |
Default ""
|
productAlt OptionalCarouselFoldSteps |
string |
Default "The product"
|
logo OptionalCarouselFoldSteps |
string |
Default ""
|
brand OptionalCarouselFoldSteps |
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.
--marker- The highlighter colour behind key phrases.
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).
-
076304f46a6353cc.webp
image/webp · 19 KB
-
30e0dd791c78e7bc.webp
image/webp · 21.8 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB
-
ff1b0f5e92bd0bb0.webp
image/webp · 18.4 KB