Order By Date Toffee 1
The shop's real last-order date set huge beside its spot-lit product on a stage floor; a warm deadline ad for seasonal gifting that sends people back to the order page before the published carrier cut-off.
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 199 characters
- Sending toffee to someone this Christmas? Thursday 18 December is our last day to order for Christmas delivery. The gift tin is $28 and UK shipping is $4. Order by Thursday and it gets there in time.
- Headline 33 characters
- Order by Thu 18 Dec for Christmas
- Description 29 characters
- Gift tin $28 · UK shipping $4
- Button 8 characters
- Shop Now
What it is for
- Angle
- real deadline
- Temperature
- warm
- Archetype
- order by date
- Sends people to
- order page
- Words on the image
- At most 32
Use it in a prompt
Make the ads/order-by-date-toffee 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/order-by-date-toffee.tsx. - Import it and pass your copy and images (Props tab):
import { OrderByDateToffee } from "@/components/funneldna/ads/order-by-date-toffee"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/order-by-date-toffee/component.tsx 239 lines
// archetype: order-by-date
// When to use: The shop's real last-order date set huge beside its spot-lit product on a stage floor; a warm deadline ad for seasonal gifting that sends people back to the order page before the published carrier cut-off.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Spotlight, Texture } from "../fx/fx"
import noise from "../fx/textures/noise"
/**
* Order by: the last-order day is the hero, the weekday in italic over the date in heavy display type, with the one plain
* line of what that date secures. The product cut-out stands on a stage floor under a spotlight beside it, with a contact
* shadow at its base. Headline above; the price and shipping terms (as a short till-receipt fragment) and the cue below on
* the floor; logo top right. Warm · real deadline → order page.
* Truth: `orderBy` is the shop's real, published carrier cut-off, never an invented deadline. No timers, no countdown,
* no "hurry". Without `orderBy` and `deliveryNote` the date block does not render and only the product and offer show.
* Re-composed per format: square and landscape set the date beside the product; portrait puts the date in the upper half
* and the product low on the right; story runs the date full width mid-frame and the product into the floor, cue near
* y 1560.
*/
export type OrderByDateToffeeProps = {
format?: AdFormat
/** The real last-order day, weekday first ("Thursday 18 December"). The first word, or the text before a "\n", is the weekday line. Required. */
orderBy: string
/** What the date secures, one plain line ("Last day to order for Christmas delivery"). Required with orderBy. */
deliveryNote: string
/** Names the person and the moment. 12 words or fewer. */
headline?: string
/** One phrase inside `headline` for the marker swipe. */
highlight?: string
/** Price and shipping terms, items separated by " · "; each item's last word is its price ("Gift tin $28 · UK shipping $4"). Empty: none. */
offer?: string
cue?: string
/** One short line under the cue. Empty: none. */
cueNote?: string
/** Transparent cut-out of the product standing upright (slot "product"). */
product?: string
productAlt?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
// Raised from 20: the date, what it secures and the price and shipping terms are required facts on top of the headline and cue.
export const wordCap = 32
export function OrderByDateToffee({
format = "portrait",
orderBy,
deliveryNote,
headline = "Get it there in time for the big day.",
highlight = "",
offer = "",
cue = "Order now",
cueNote = "",
product = "",
productAlt = "",
logo = "",
brand = "",
}: OrderByDateToffeeProps) {
const date = splitDate(orderBy || "")
const note = (deliveryNote || "").trim()
const showDate = Boolean(date && note)
const terms = parseTerms(offer)
return (
<AdFrame format={format} className="fd-obd">
<style href="fd-obd" precedence="default">{CSS}</style>
<EdgeFilter />
<div className="fd-obd__floor" aria-hidden />
<Texture src={noise} tone="band-ink" opacity={0.05} />
<div className="fd-obd__stage" aria-hidden><Spotlight /></div>
{product ? (
<div className="fd-obd__product">
<span className="fd-obd__contact" aria-hidden />
<img src={product} alt={productAlt || brand} />
</div>
) : null}
<LogoMark src={logo} brand={brand} className="fd-obd__logo" />
<div className="fd-obd__copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="swipe" className="fd-obd__head" />
{showDate && date ? (
<>
<p className="fd-obd__date">
{date.weekday ? <span className="fd-obd__wk">{date.weekday}</span> : null}
{date.rest ? <span className="fd-obd__dm">{date.rest}</span> : null}
</p>
<p className="fd-obd__note">{note}</p>
</>
) : null}
<div className="fd-obd__offer">
{terms.length ? (
<ul className="fd-obd__terms">
{terms.map((t, i) => (
<li key={i}>
<span>{t.label}</span>
{t.price ? <b>{t.price}</b> : null}
</li>
))}
</ul>
) : null}
<Cue note={cueNote} className="fd-obd__cue">{cue}</Cue>
</div>
</div>
</AdFrame>
)
}
/** Weekday line and date line: split at a "\n" if given, else after the first word. */
function splitDate(value: string) {
const text = value.trim()
if (!text) return null
const nl = text.indexOf("\n")
if (nl > 0) return { weekday: text.slice(0, nl).trim(), rest: text.slice(nl + 1).trim() }
const sp = text.indexOf(" ")
return sp > 0 ? { weekday: text.slice(0, sp), rest: text.slice(sp + 1).trim() } : { weekday: "", rest: text }
}
/** "Gift tin $28 · UK shipping $4" becomes receipt rows; an item's last word is its price when it holds a digit. */
function parseTerms(offer: string) {
return offer
.split("·")
.map((s) => s.trim())
.filter(Boolean)
.map((item) => {
const cut = item.lastIndexOf(" ")
const tail = cut > 0 ? item.slice(cut + 1) : ""
return /\d/.test(tail) ? { label: item.slice(0, cut), price: tail } : { label: item, price: "" }
})
}
/**
* Edge choke for the product cut-out: erodes the alpha 1px to drop any light matte fringe, then lays a thin dark rim
* from --shadow inside the new edge so the tin sits cleanly on any band.
*/
function EdgeFilter() {
return (
<svg className="fd-obd__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-obd-edge" x="-2%" y="-2%" width="104%" height="104%" colorInterpolationFilters="sRGB">
<feMorphology in="SourceAlpha" operator="erode" radius="1" result="core" />
<feGaussianBlur in="core" stdDeviation="0.5" result="coreSoft" />
<feComposite in="SourceGraphic" in2="coreSoft" operator="in" result="choked" />
<feMorphology in="core" operator="erode" radius="2" result="inner" />
<feComposite in="coreSoft" in2="inner" operator="out" result="rim" />
<feGaussianBlur in="rim" stdDeviation="0.8" result="rimSoft" />
<feFlood style={{ floodColor: "var(--shadow, oklch(0.22 0.03 260))", floodOpacity: 0.4 }} result="shade" />
<feComposite in="shade" in2="rimSoft" operator="in" result="rimShade" />
<feComposite in="rimShade" in2="choked" operator="in" result="edge" />
<feMerge>
<feMergeNode in="choked" />
<feMergeNode in="edge" />
</feMerge>
</filter>
</svg>
)
}
const CSS = `
.fd-obd__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-obd__floor{position:absolute;left:0;right:0;bottom:0;top:var(--floor,70%);background:oklch(from var(--band) calc(l - 0.035) c h);border-top:2px solid oklch(from var(--band-ink) l c h / 0.12)}
.fd-obd__stage{position:absolute;overflow:hidden;pointer-events:none}
.fd-obd__product{position:absolute;z-index:1}
.fd-obd__product img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:url(#fd-obd-edge) drop-shadow(0 3px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.32)) drop-shadow(0 16px 18px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.2))}
.fd-obd__contact{position:absolute;left:12%;right:12%;bottom:2%;height:9%;border-radius:50%;background:radial-gradient(closest-side,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.5),oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.16) 62%,transparent)}
.fd-obd__logo{position:absolute;z-index:3;color:var(--band-ink)}
.fd-obd__copy{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:flex-start}
.fd-obd__head{color:var(--band-ink);line-height:1.12}
.fd-obd__date{margin:0;font-family:var(--font-display);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);text-wrap:balance}
.fd-obd__wk{display:block;font-style:italic;font-weight:600;line-height:1.08;color:var(--band-ink)}
.fd-obd__dm{display:block;font-weight:var(--display-weight,800);line-height:1;color:color-mix(in oklab,var(--cta) 45%,var(--band-ink));font-variant-numeric:lining-nums}
.fd-obd__note{margin:0;font-weight:700;line-height:1.25;color:var(--band-ink);text-wrap:pretty}
.fd-obd__offer{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start}
.fd-obd__terms{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;width:100%;line-height:1.25}
.fd-obd__terms li{display:flex;justify-content:space-between;align-items:baseline;gap:24px}
.fd-obd__terms li+li{border-top:2px solid oklch(from var(--band-ink) l c h / 0.14)}
.fd-obd__terms span{font-weight:600;color:color-mix(in oklab,var(--band-ink) 82%,var(--band));text-wrap:pretty}
.fd-obd__terms b{font-family:var(--font-display);font-weight:var(--display-weight,800);color:var(--band-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.fd-obd__cue{padding-inline:.9em}
.fd-obd[data-format="square"]{--floor:800px}
.fd-obd[data-format="square"] .fd-obd__logo{top:64px;right:64px}
.fd-obd[data-format="square"] .fd-obd__copy{left:64px;top:140px;bottom:64px;width:952px}
.fd-obd[data-format="square"] .fd-obd__head{font-size:72px}
.fd-obd[data-format="square"] .fd-obd__date{margin-top:28px;max-width:560px}
.fd-obd[data-format="square"] .fd-obd__wk{font-size:66px}
.fd-obd[data-format="square"] .fd-obd__dm{font-size:92px}
.fd-obd[data-format="square"] .fd-obd__note{margin-top:12px;max-width:520px;font-size:30px}
.fd-obd[data-format="square"] .fd-obd__offer{width:470px}
.fd-obd[data-format="square"] .fd-obd__terms{margin-bottom:20px;font-size:30px}
.fd-obd[data-format="square"] .fd-obd__terms li{padding-block:6px}
.fd-obd[data-format="square"] .fd-obd__cue{--cue-fs:38px}
.fd-obd[data-format="square"] .fd-obd__product{width:460px;height:460px;right:24px;bottom:60px}
.fd-obd[data-format="square"] .fd-obd__stage{left:600px;right:0;top:420px;bottom:0}
.fd-obd[data-format="portrait"]{--floor:1040px}
.fd-obd[data-format="portrait"] .fd-obd__logo{top:64px;right:64px}
.fd-obd[data-format="portrait"] .fd-obd__copy{left:64px;top:152px;bottom:64px;width:952px}
.fd-obd[data-format="portrait"] .fd-obd__head{font-size:80px}
.fd-obd[data-format="portrait"] .fd-obd__date{margin-top:36px;max-width:952px}
.fd-obd[data-format="portrait"] .fd-obd__wk{font-size:92px}
.fd-obd[data-format="portrait"] .fd-obd__dm{font-size:148px}
.fd-obd[data-format="portrait"] .fd-obd__note{margin-top:14px;max-width:952px;font-size:36px}
.fd-obd[data-format="portrait"] .fd-obd__offer{width:480px}
.fd-obd[data-format="portrait"] .fd-obd__terms{margin-bottom:22px;font-size:34px}
.fd-obd[data-format="portrait"] .fd-obd__terms li{padding-block:7px}
.fd-obd[data-format="portrait"] .fd-obd__cue{--cue-fs:40px}
.fd-obd[data-format="portrait"] .fd-obd__product{width:520px;height:520px;right:24px;bottom:52px}
.fd-obd[data-format="portrait"] .fd-obd__stage{left:500px;right:0;top:780px;bottom:0}
.fd-obd[data-format="story"]{--floor:1240px}
.fd-obd[data-format="story"] .fd-obd__logo{top:270px;right:64px}
.fd-obd[data-format="story"] .fd-obd__copy{left:64px;top:350px;bottom:calc(var(--safe-bottom) + 20px);width:952px}
.fd-obd[data-format="story"] .fd-obd__head{font-size:84px}
.fd-obd[data-format="story"] .fd-obd__date{margin-top:36px;max-width:952px}
.fd-obd[data-format="story"] .fd-obd__wk{font-size:104px}
.fd-obd[data-format="story"] .fd-obd__dm{font-size:152px}
.fd-obd[data-format="story"] .fd-obd__note{margin-top:20px;max-width:470px;font-size:44px}
.fd-obd[data-format="story"] .fd-obd__offer{width:460px}
.fd-obd[data-format="story"] .fd-obd__terms{margin-bottom:28px;font-size:38px}
.fd-obd[data-format="story"] .fd-obd__terms li{padding-block:9px}
.fd-obd[data-format="story"] .fd-obd__cue{--cue-fs:44px}
.fd-obd[data-format="story"] .fd-obd__product{width:500px;height:500px;right:20px;bottom:486px}
.fd-obd[data-format="story"] .fd-obd__stage{left:520px;right:0;top:960px;bottom:0}
.fd-obd[data-format="landscape"]{--floor:470px}
.fd-obd[data-format="landscape"] .fd-obd__logo{top:48px;right:48px}
.fd-obd[data-format="landscape"] .fd-obd__copy{left:48px;top:48px;bottom:48px;width:680px}
.fd-obd[data-format="landscape"] .fd-obd__head{font-size:56px}
.fd-obd[data-format="landscape"] .fd-obd__date{margin-top:18px;max-width:660px}
.fd-obd[data-format="landscape"] .fd-obd__wk{font-size:44px}
.fd-obd[data-format="landscape"] .fd-obd__dm{font-size:80px}
.fd-obd[data-format="landscape"] .fd-obd__note{margin-top:8px;max-width:660px;font-size:24px}
.fd-obd[data-format="landscape"] .fd-obd__terms{flex-direction:row;flex-wrap:wrap;gap:6px 20px;width:auto;margin-bottom:12px;font-size:24px}
.fd-obd[data-format="landscape"] .fd-obd__terms li{gap:10px;justify-content:flex-start}
.fd-obd[data-format="landscape"] .fd-obd__terms li+li{border-top:0;border-left:2px solid oklch(from var(--band-ink) l c h / 0.14);padding-left:20px}
.fd-obd[data-format="landscape"] .fd-obd__cue{--cue-fs:28px}
.fd-obd[data-format="landscape"] .fd-obd__product{width:470px;height:470px;right:16px;bottom:22px}
.fd-obd[data-format="landscape"] .fd-obd__stage{left:740px;right:0;top:0;bottom:0}
`
export default OrderByDateToffee
pieces/ads/order-by-date-toffee/specimen.tsx 50 lines
import __studioImage93366559 from "../assets/6408db807aef49c7.webp";
import * as React from "react"
import { slot } from "../../slots"
import { OrderByDateToffee, formats } from "../order-by-date-toffee"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Marchbank Toffee, a small toffee maker posting gift tins. The tin is a generated illustration.
const marchbankLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 330 56"><path d="M4 16l14 12-14 12zM60 16L46 28l14 12z" fill="currentColor"/><rect x="16" y="15" width="32" height="26" rx="13" fill="currentColor"/><text x="74" y="38" font-family="Georgia, serif" font-size="30" font-weight="700" letter-spacing="-.3">marchbank toffee</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Sending toffee to someone this Christmas? Thursday 18 December is our last day to order for Christmas delivery. The gift tin is $28 and UK shipping is $4. Order by Thursday and it gets there in time.",
headline: "Order by Thu 18 Dec for Christmas",
description: "Gift tin $28 · UK shipping $4",
cta: "Shop Now",
}
// Sample brand (rose-ink palette, warm-serif fonts, square-caps button; invented).
export const sampleBrand = {
name: "Marchbank Toffee",
theme: "light",
background: "#fff6f7",
colors: ["#d6335f", "#3d3a8c"],
fonts: ["Fraunces", "Nunito Sans"],
band: "#ffdde4",
button: "square-caps",
}
export default function OrderByDateToffeeSpecimen({ state = "portrait" }: { state?: string }) {
return (
<OrderByDateToffee
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Sending toffee to Gran this Christmas? Order by Thursday."
highlight="Order by Thursday."
orderBy="Thursday 18 December"
deliveryNote="Last day to order for Christmas delivery"
offer="Gift tin $28 · UK shipping $4"
cue="Order my gift tin"
product={slot("product", __studioImage93366559)}
productAlt="Marchbank Toffee gift tin"
logo={slot("logo", marchbankLogo)}
brand="Marchbank Toffee"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalOrderByDateToffee |
AdFormat |
Default "portrait"
|
orderBy RequiredOrderByDateToffee |
string |
|
deliveryNote RequiredOrderByDateToffee |
string |
|
headline OptionalOrderByDateToffee |
string |
Default "Get it there in time for the big day."
|
highlight OptionalOrderByDateToffee |
string |
Default ""
|
offer OptionalOrderByDateToffee |
string |
Default ""
|
cue OptionalOrderByDateToffee |
string |
Default "Order now"
|
cueNote OptionalOrderByDateToffee |
string |
Default ""
|
product OptionalOrderByDateToffee |
string |
Default ""
|
productAlt OptionalOrderByDateToffee |
string |
Default ""
|
logo OptionalOrderByDateToffee |
string |
Default ""
|
brand OptionalOrderByDateToffee |
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-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.
logo- The brand’s logo mark.
product- The main product shot or cover (ebook, kit, bottle).
-
6408db807aef49c7.webp
image/webp · 106 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB