Ingredient Index Tin 1
The product tin lit on a stage floor beside a plain index of what is in it and where each part comes from; a cold curiosity ad that answers the label-reading shopper and sends them 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 234 characters
- Four ingredients. Four places.
Cacao from Ecuador, oats from Ireland, pea protein from France and sea salt from Wales, each named from our supplier records.
That's the whole list.
See the tin, the full index and the price on one page. - Headline 33 characters
- Four ingredients, named by origin
- Description 22 characters
- $42 a tin · ships free
- Button 10 characters
- Learn More
What it is for
- Angle
- curiosity
- Temperature
- cold
- Archetype
- ingredient index
- Sends people to
- product page
- Words on the image
- At most 28
Use it in a prompt
Make the ads/ingredient-index-tin 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/ingredient-index-tin.tsx. - Import it and pass your copy and images (Props tab):
import { IngredientIndexTin } from "@/components/funneldna/ads/ingredient-index-tin"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/ingredient-index-tin/component.tsx 213 lines
// archetype: ingredient-index
// When to use: The product tin lit on a stage floor beside a plain index of what is in it and where each part comes from; a cold curiosity ad that answers the label-reading shopper and sends them to the product page.
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"
/**
* Ingredient index: the product stands under one spotlight on a floor line, with a contact shadow so it never floats.
* Beside it sits a plain ruled index: each ingredient in bold body type, where it is from in the muted ink. No line,
* pin or callout touches the image. The headline asks the shopper's own question; the cue answers it; the offer terms
* sit above the cue in every format. Cold · curiosity → product page.
* Truth: ingredients and origins come from supplier records only; the piece makes no health, energy or nutrition claim.
* Proof props (the index, the offer) default to empty and draw nothing when empty.
* Re-composed per format: square sets the headline across the top and the tin beside the index; portrait lifts a
* larger tin above a two-column index; story puts the headline beside a tall tin (y 336-956) under its light, the
* index at y 1000-1380 and the cue ending at y 1560; landscape sets the copy left and the tin right.
* Story (polish): the headline runs full width under the logo (y 360-630) so it wraps in three balanced lines. The
* tin stands on the left stage (y 716-1216) beside a stacked index in the right column. The offer and cue sit low,
* ending at y 1560, above the bottom safe line.
* The light layer fades in at its top and sides, so no hard edge cuts across the band under the headline.
*/
export type IngredientIndexItem = {
name: string
/** Where it is from, e.g. "Ecuador". */
origin?: string
}
export type IngredientIndexTinProps = {
format?: AdFormat
/** The question the reader is already asking, 12 words or fewer. A newline forces a break. */
headline?: string
/** One phrase inside `headline` set in the highlight tint. Empty: none. */
highlight?: string
/** The index, from supplier records. Empty: no list. */
ingredients?: IngredientIndexItem[]
/** Price and terms, e.g. "$42 a tin · ships free"; the part before " · " is set bold. Empty: none. */
offer?: string
/** The page button's words: the answer to the headline's question. */
cue?: string
/** Transparent product cut-out (slot "product"), upright, base at the bottom edge of the image. */
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 index itself is the hero device (four names and four origins). */
export const wordCap = 28
export function IngredientIndexTin({
format = "portrait",
headline = "What's actually inside the tin you're about to buy?",
highlight = "",
ingredients = [],
offer = "",
cue = "See what's inside",
product = "",
productAlt = "",
logo = "",
brand = "",
}: IngredientIndexTinProps) {
const [price, terms] = splitOffer(offer)
return (
<AdFrame format={format} className="fd-tin">
<style href="fd-tin" precedence="default">{CSS}</style>
<EdgeFilter />
<Texture src={noise} tone="band-ink" opacity={0.05} />
<div className="fd-tin__stage">
<div className="fd-tin__light" aria-hidden>
<Spotlight />
<div className="fd-tin__floor" />
</div>
{product ? <div className="fd-tin__contact" aria-hidden /> : null}
{product ? <img className="fd-tin__tin" src={product} alt={productAlt} decoding="async" /> : null}
</div>
<LogoMark src={logo} brand={brand} className="fd-tin__logo" />
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-tin__head" />
<div className="fd-tin__side">
{ingredients.length ? (
<ul className="fd-tin__index">
{ingredients.map((item, i) => (
<li key={i}>
<b>{item.name}</b>
{item.origin ? <span>{item.origin}</span> : null}
</li>
))}
</ul>
) : null}
<div className="fd-tin__foot">
{price ? (
<p className="fd-tin__offer">
<b>{price}</b>
{terms ? <span> · {terms}</span> : null}
</p>
) : null}
<Cue className="fd-tin__cue">{cue}</Cue>
</div>
</div>
</AdFrame>
)
}
/** "$42 a tin · ships free" → ["$42 a tin", "ships free"]; no separator keeps the whole line as the price. */
function splitOffer(offer: string): [string, string] {
const at = offer.indexOf(" · ")
return at < 0 ? [offer.trim(), ""] : [offer.slice(0, at).trim(), offer.slice(at + 3).trim()]
}
/**
* Edge choke for the product cut-out: erodes the alpha 1.5px so no light matte fringe shows on the dark stage, then
* lays a thin rim from --shadow inside the new edge. Same definition in every copy, so repeated ids stay harmless.
*/
function EdgeFilter() {
return (
<svg className="fd-tin__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-tin-edge" x="-2%" y="-2%" width="104%" height="104%" colorInterpolationFilters="sRGB">
<feMorphology in="SourceAlpha" operator="erode" radius="1.5" 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="3" result="inner" />
<feComposite in="coreSoft" in2="inner" operator="out" result="rim" />
<feGaussianBlur in="rim" stdDeviation="1" result="rimSoft" />
<feFlood style={{ floodColor: "var(--shadow, oklch(0.22 0.03 260))", floodOpacity: 0.5 }} 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>
)
}
/* The light layer's mask only reads alpha: it fades from transparent to an opaque token, so no fixed colour is needed. */
const CSS = `
.fd-tin__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-tin__stage{position:absolute;z-index:0;pointer-events:none}
.fd-tin__light{position:absolute;inset:0;isolation:isolate;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,var(--band) 14%,var(--band) 86%,transparent),linear-gradient(180deg,transparent,var(--band) var(--fade-top,22%));-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,var(--band) 14%,var(--band) 86%,transparent),linear-gradient(180deg,transparent,var(--band) var(--fade-top,22%));mask-composite:intersect}
.fd-tin__floor{position:absolute;z-index:1;left:0;right:0;bottom:0;height:var(--floor);background:linear-gradient(oklch(from var(--band-ink) l c h / 0.07),oklch(from var(--band-ink) l c h / 0.015));border-top:2px solid oklch(from var(--band-ink) l c h / 0.16)}
.fd-tin__contact{position:absolute;z-index:1;left:50%;bottom:calc(var(--base) - var(--tin-h) * 0.035);width:calc(var(--tin-h) * 0.7);height:calc(var(--tin-h) * 0.085);transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.08) c h / 0.85),oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4) 55%,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0))}
.fd-tin__tin{position:absolute;z-index:2;left:50%;bottom:var(--base);height:var(--tin-h);width:var(--tin-h);transform:translateX(-50%);object-fit:contain;object-position:50% 100%;filter:url(#fd-tin-edge) drop-shadow(0 2px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.06) c h / 0.55)) drop-shadow(0 14px 18px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.35))}
.fd-tin__logo{position:absolute;z-index:3;color:var(--band-ink)}
.fd-tin__head{position:absolute;z-index:3;color:var(--band-ink);line-height:1.12}
.fd-tin__side{position:absolute;z-index:3;display:flex;flex-direction:column;font-family:var(--font-body);color:var(--band-ink)}
.fd-tin__index{list-style:none;margin:0;padding:0}
.fd-tin__index b{font-family:var(--font-body);font-weight:700;color:var(--band-ink);line-height:1.15}
.fd-tin__index span{font-weight:500;color:color-mix(in oklch,var(--band-ink) 74%,var(--band));line-height:1.2;text-wrap:pretty}
.fd-tin__foot{display:flex;flex-direction:column;align-items:flex-start;margin-top:auto}
.fd-tin__offer{margin:0;font-weight:500;line-height:1.25;color:color-mix(in oklch,var(--band-ink) 80%,var(--band));text-wrap:pretty}
.fd-tin__offer b{font-family:var(--font-display);font-weight:var(--display-weight,800);color:var(--band-ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-0.01em}
.fd-tin__cue{padding-inline:.8em}
.fd-tin[data-format="square"] .fd-tin__index,.fd-tin[data-format="story"] .fd-tin__index{border-bottom:2px solid oklch(from var(--band-ink) l c h / 0.2)}
.fd-tin[data-format="square"] .fd-tin__index li{display:flex;align-items:baseline;justify-content:space-between;gap:24px;border-top:2px solid oklch(from var(--band-ink) l c h / 0.2)}
.fd-tin[data-format="square"] .fd-tin__index span{text-align:right}
.fd-tin[data-format="story"] .fd-tin__index li{display:flex;flex-direction:column;gap:12px;border-top:2px solid oklch(from var(--band-ink) l c h / 0.2)}
.fd-tin[data-format="portrait"] .fd-tin__index,.fd-tin[data-format="landscape"] .fd-tin__index{display:grid;grid-template-columns:1fr 1fr}
.fd-tin[data-format="portrait"] .fd-tin__index li,.fd-tin[data-format="landscape"] .fd-tin__index li{display:flex;flex-direction:column;border-bottom:2px solid oklch(from var(--band-ink) l c h / 0.2)}
.fd-tin[data-format="portrait"] .fd-tin__index li:nth-child(-n+2),.fd-tin[data-format="landscape"] .fd-tin__index li:nth-child(-n+2){border-top:2px solid oklch(from var(--band-ink) l c h / 0.2)}
.fd-tin[data-format="square"] .fd-tin__logo{top:64px;right:64px}
.fd-tin[data-format="square"] .fd-tin__head{left:64px;right:64px;top:146px;font-size:74px}
.fd-tin[data-format="square"] .fd-tin__stage{left:0;width:540px;top:400px;bottom:0;--floor:110px;--base:90px;--tin-h:500px;--fade-top:26%}
.fd-tin[data-format="square"] .fd-tin__side{left:560px;right:64px;top:430px;bottom:90px;justify-content:flex-end;gap:34px}
.fd-tin[data-format="square"] .fd-tin__index li{padding:16px 0}
.fd-tin[data-format="square"] .fd-tin__index b{font-size:34px}
.fd-tin[data-format="square"] .fd-tin__index span{font-size:28px}
.fd-tin[data-format="square"] .fd-tin__foot{margin-top:0;gap:22px}
.fd-tin[data-format="square"] .fd-tin__offer{font-size:30px}
.fd-tin[data-format="square"] .fd-tin__cue{--cue-fs:30px}
.fd-tin[data-format="portrait"] .fd-tin__logo{top:64px;right:64px}
.fd-tin[data-format="portrait"] .fd-tin__head{left:64px;right:64px;top:146px;font-size:76px}
.fd-tin[data-format="portrait"] .fd-tin__stage{left:0;right:0;top:400px;height:510px;--floor:44px;--base:28px;--tin-h:460px;--fade-top:24%}
.fd-tin[data-format="portrait"] .fd-tin__side{left:64px;right:64px;top:926px;bottom:64px}
.fd-tin[data-format="portrait"] .fd-tin__index{column-gap:48px}
.fd-tin[data-format="portrait"] .fd-tin__index li{padding:14px 0 12px;gap:12px}
.fd-tin[data-format="portrait"] .fd-tin__index b{font-size:38px}
.fd-tin[data-format="portrait"] .fd-tin__index span{font-size:30px}
.fd-tin[data-format="portrait"] .fd-tin__foot{flex-direction:row;align-items:center;justify-content:space-between;gap:32px}
.fd-tin[data-format="portrait"] .fd-tin__offer{font-size:34px}
.fd-tin[data-format="portrait"] .fd-tin__cue{--cue-fs:34px}
.fd-tin[data-format="story"] .fd-tin__logo{top:262px;right:64px}
.fd-tin[data-format="story"] .fd-tin__head{left:64px;right:64px;top:360px;font-size:80px}
.fd-tin[data-format="story"] .fd-tin__stage{left:0;width:560px;top:650px;height:610px;--floor:60px;--base:44px;--tin-h:500px;--fade-top:20%}
.fd-tin[data-format="story"] .fd-tin__side{left:64px;right:64px;top:716px;bottom:360px}
.fd-tin[data-format="story"] .fd-tin__index{margin-left:516px}
.fd-tin[data-format="story"] .fd-tin__index li{padding:16px 0}
.fd-tin[data-format="story"] .fd-tin__index b{font-size:46px}
.fd-tin[data-format="story"] .fd-tin__index span{font-size:36px}
.fd-tin[data-format="story"] .fd-tin__foot{gap:20px}
.fd-tin[data-format="story"] .fd-tin__offer{font-size:38px}
.fd-tin[data-format="story"] .fd-tin__cue{--cue-fs:42px}
.fd-tin[data-format="landscape"] .fd-tin__logo{top:48px;right:48px;--logo-h:56px}
.fd-tin[data-format="landscape"] .fd-tin__head{left:48px;width:640px;top:48px;font-size:56px}
.fd-tin[data-format="landscape"] .fd-tin__stage{left:700px;right:0;top:0;bottom:0;--floor:68px;--base:50px;--tin-h:440px}
.fd-tin[data-format="landscape"] .fd-tin__side{left:48px;width:640px;top:258px;bottom:50px}
.fd-tin[data-format="landscape"] .fd-tin__index{column-gap:32px}
.fd-tin[data-format="landscape"] .fd-tin__index li{padding:10px 0;gap:6px}
.fd-tin[data-format="landscape"] .fd-tin__index b{font-size:26px}
.fd-tin[data-format="landscape"] .fd-tin__index span{font-size:22px}
.fd-tin[data-format="landscape"] .fd-tin__foot{gap:12px}
.fd-tin[data-format="landscape"] .fd-tin__offer{font-size:24px}
.fd-tin[data-format="landscape"] .fd-tin__cue{--cue-fs:26px}
`
export default IngredientIndexTin
pieces/ads/ingredient-index-tin/specimen.tsx 54 lines
import __studioImage14d47ea7 from "../assets/ffed018117dd3633.webp";
import * as React from "react"
import { slot } from "../../slots"
import { IngredientIndexTin, formats } from "../ingredient-index-tin"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Tursley Sourced, a single cacao and oat blend sold by the tin online. The tin is a generated
// illustration; the origins are sample supplier-record facts for this invented brand.
const tursleyLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 176 56"><circle cx="26" cy="28" r="21" fill="none" stroke="currentColor" stroke-width="5"/><path d="M26 14c8 5 10 14 0 28c-10-14-8-23 0-28z" fill="currentColor"/><text x="58" y="30" font-family="Helvetica, Arial, sans-serif" font-size="28" font-weight="700" letter-spacing="-.5">Tursley</text><text x="59" y="50" font-family="Helvetica, Arial, sans-serif" font-size="13" font-weight="700" letter-spacing="3.2">SOURCED</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Four ingredients. Four places.\nCacao from Ecuador, oats from Ireland, pea protein from France and sea salt from Wales, each named from our supplier records.\nThat's the whole list.\nSee the tin, the full index and the price on one page.",
headline: "Four ingredients, named by origin",
description: "$42 a tin · ships free",
cta: "Learn More",
}
// Sample brand (forest-night palette, friendly fonts, square-caps button; invented).
export const sampleBrand = {
name: "Tursley Sourced",
theme: "dark",
background: "#0f1f19",
colors: ["#3ddc97", "#f4b860"],
fonts: ["Lexend", "Public Sans"],
button: "square-caps",
}
export default function IngredientIndexTinSpecimen({ state = "portrait" }: { state?: string }) {
return (
<IngredientIndexTin
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Reading the back of every tub in the supplement aisle?"
highlight="every tub"
ingredients={[
{ name: "Cacao", origin: "Ecuador" },
{ name: "Oats", origin: "Ireland" },
{ name: "Pea protein", origin: "France" },
{ name: "Sea salt", origin: "Wales" },
]}
offer="$42 a tin · ships free"
cue="See every ingredient"
product={slot("product", __studioImage14d47ea7)}
productAlt="Tursley Sourced tin"
logo={slot("logo", tursleyLogo)}
brand="Tursley Sourced"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalIngredientIndexTin |
AdFormat |
Default "portrait"
|
headline OptionalIngredientIndexTin |
string |
Default "What's actually inside the tin you're about to buy?"
|
highlight OptionalIngredientIndexTin |
string |
Default ""
|
ingredients OptionalIngredientIndexTin |
IngredientIndexItem[] |
Default []
|
offer OptionalIngredientIndexTin |
string |
Default ""
|
cue OptionalIngredientIndexTin |
string |
Default "See what's inside"
|
product OptionalIngredientIndexTin |
string |
Default ""
|
productAlt OptionalIngredientIndexTin |
string |
Default ""
|
logo OptionalIngredientIndexTin |
string |
Default ""
|
brand OptionalIngredientIndexTin |
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.
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).
-
bec2a41897a3364d.webp
image/webp · 51.2 KB
-
ffed018117dd3633.webp
image/webp · 23.9 KB