Mechanism Diagram 1
The method drawn as one simple three-part diagram (a proportional bar, linked blocks or a loop) under its name; a cold big-promise ad that sends traffic to a VSL or sales 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 304 characters
- Your calendar is full. Your day still has no shape. The 3-Block Day gives it three: 90 minutes of deep work before any email, one window for all admin, one block for calls and meetings. The Blocksmith planner prints those three blocks on every undated page. $29, free shipping. See how the planner works.
- Headline 23 characters
- The 3-Block Day planner
- Description 29 characters
- Undated · $29 · free shipping
- Button 8 characters
- Shop Now
What it is for
- Angle
- big promise
- Temperature
- cold
- Archetype
- diagram
- Sends people to
- VSL or sales page
- Words on the image
- At most 35
Use it in a prompt
Make the ads/mechanism-diagram 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/mechanism-diagram.tsx. - Import it and pass your copy and images (Props tab):
import { MechanismDiagram } from "@/components/funneldna/ads/mechanism-diagram"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/mechanism-diagram/component.tsx 198 lines
// archetype: diagram
// When to use: The method drawn as one simple three-part diagram (a proportional bar, linked blocks or a loop) under its name; a cold big-promise ad that sends traffic to a VSL or sales page.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Pattern, Spot } from "../fx/fx"
import clock from "../fx/spots/clock"
import checklist from "../fx/spots/checklist"
import calendar from "../fx/spots/calendar"
/**
* Mechanism diagram: the method's name set huge, then its parts drawn as one flat diagram built from the theme (white
* cards on the page, clay Spot illustrations tinted from --accent-fill, accent links between parts). `shape` picks the
* drawing: `bar` is one proportional bar split by each part's weight, `blocks` are linked cards, `loop` adds the return
* rail that sends the last part back to the first. Square and landscape keep one row; portrait stacks the parts as rows;
* story drops the support line so the parts stand as three tall equal blocks filling the frame from under the headline
* to just above the cue. Cue and offer terms below, logo small in a corner. Cold · big promise → VSL or sales page.
* Truth: the diagram shows how the product actually works; no outcome or time-saved claim unless the brand supplies it.
*/
export type MechanismPart = {
/** Two words that name the part ("Deep work"). */
name: string
/** About five words on what happens in it. Empty: none. */
line?: string
/** Relative size of the part in the diagram (default 1); the bar and blocks grow by it. */
weight?: number
/** A Spot illustration module (e.g. import clock from "../fx/spots/clock"). Empty: no illustration. */
spot?: string
}
export type MechanismDiagramProps = {
format?: AdFormat
/** bar: one proportional bar. blocks: linked cards. loop: linked cards with a return rail. */
shape?: "bar" | "blocks" | "loop"
/** The mechanism's name, 12 words or fewer. A "\n" forces a break. */
headline?: string
/** The phrase in `headline` that gets the one marker swipe. */
highlight?: string
/** One support line: who it is for and the moment it helps. Not shown on story, where the parts take the height. Empty: none. */
support?: string
/** The mechanism's parts, three is the design (up to four render). */
parts?: MechanismPart[]
/** The page button's words. */
cue?: string
/** The offer terms under the cue (price, shipping, trial). Empty: none. */
cueNote?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
export const wordCap = 35 // the brief raises it: three named parts with a short line each carry the mechanism
/** Spot illustration size per composition (px on the canvas). */
const SPOT: Record<AdFormat, number> = { square: 150, portrait: 128, story: 140, landscape: 120, thumbnail: 120 }
const DEFAULT_PARTS: MechanismPart[] = [
{ name: "Part one", line: "What this part does first", weight: 1, spot: clock },
{ name: "Part two", line: "What this part handles next", weight: 1, spot: checklist },
{ name: "Part three", line: "How the method comes together", weight: 1, spot: calendar },
]
export function MechanismDiagram({
format = "portrait",
shape = "blocks",
headline = "Our method,\nin three parts",
highlight = "",
support = "",
parts = DEFAULT_PARTS,
cue = "See how it works",
cueNote = "",
logo = "",
brand = "",
}: MechanismDiagramProps) {
const size = SPOT[format] || SPOT.square
const list = (parts || []).filter((p) => p && p.name).slice(0, 4)
const showSupport = Boolean(support) && format !== "story"
return (
<AdFrame format={format} className="fd-mech" style={{ "--spot": `${size}px` } as React.CSSProperties}>
<style href="fd-mech" precedence="default">{CSS}</style>
<Pattern name="grid" fade="corner" />
<div className="fd-mech__stage">
<div className="fd-mech__intro">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="swipe" className="fd-mech__head" />
{showSupport ? <p className="fd-mech__support">{support}</p> : null}
</div>
<ol className="fd-mech__parts" data-shape={shape}>
{list.map((part, i) => (
<li key={i} className="fd-mech__part" style={{ "--w": weightOf(part.weight) } as React.CSSProperties}>
<span className="fd-mech__art">
{part.spot ? <Spot src={part.spot} size={size} tone="accent-fill" shade="band" light="band-ink" /> : null}
</span>
<span className="fd-mech__text">
<b className="fd-mech__name">{part.name}</b>
{part.line ? <span className="fd-mech__line">{part.line}</span> : null}
</span>
</li>
))}
</ol>
<div className="fd-mech__foot">
<Cue note={cueNote} className="fd-mech__cue">{cue}</Cue>
<LogoMark src={logo} brand={brand} className="fd-mech__logo" />
</div>
</div>
</AdFrame>
)
}
/** A sane flex-grow from a supplied weight. */
function weightOf(weight?: number) {
return typeof weight === "number" && weight > 0 ? Math.min(weight, 4) : 1
}
const TILE_SHADOW = "var(--card-shadow,var(--shadow-md,0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.22),0 8px 18px -6px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.28)))"
const TILE_BORDER = "2px solid var(--card-border,oklch(from var(--ink) l c h / 0.12))"
const ROW = ".fd-mech:is([data-format='square'],[data-format='landscape'])"
const COL = ".fd-mech:is([data-format='portrait'],[data-format='story'])"
const CSS = `
.fd-ad.fd-mech{background:var(--surface);color:var(--ink);--tile-r:calc(var(--card-radius,var(--radius,14px)) * 1.8)}
.fd-mech__stage{position:absolute;z-index:1;inset:72px;display:flex;flex-direction:column;gap:var(--stack,40px)}
.fd-mech__intro{display:flex;flex-direction:column;gap:var(--intro-gap,32px)}
.fd-mech__head{color:var(--ink);line-height:1.1}
.fd-mech .fd-ad-mark[data-style='swipe']{color:oklch(from var(--marker,#fae37c) clamp(0.2,calc((0.62 - l) * 1000),0.97) 0.04 h / 1)}
.fd-mech__support{margin:0;font-family:var(--font-body);font-weight:500;line-height:1.2;color:var(--muted);text-wrap:pretty}
.fd-mech__parts{position:relative;flex:1 1 auto;min-height:0;display:flex;gap:var(--gap);margin:0;padding:0;list-style:none}
.fd-mech__part{position:relative;z-index:1;display:flex;flex-basis:0;flex-grow:var(--w,1);flex-shrink:1;min-height:0;padding:var(--pad);background:var(--card);color:var(--ink);border:${TILE_BORDER};border-radius:var(--tile-r);box-shadow:${TILE_SHADOW}}
.fd-mech__art{display:grid;place-items:center}
.fd-mech__text{display:flex;flex-direction:column;justify-content:flex-start;gap:var(--text-gap,14px);min-width:0}
.fd-mech__name{font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.015em;line-height:1.1;color:var(--ink);text-wrap:balance}
.fd-mech__line{font-family:var(--font-body);font-weight:500;line-height:1.25;color:var(--muted);text-wrap:pretty}
.fd-mech__foot{display:flex;align-items:center;justify-content:space-between;gap:32px}
.fd-mech__logo{color:var(--ink)}
.fd-mech .fd-mech__cue{gap:.34em}
.fd-mech .fd-mech__cue small{line-height:1.1}
.fd-mech__parts:not([data-shape='bar']) .fd-mech__part:not(:last-child)::after{content:"";position:absolute;background:var(--accent);border-radius:999px}
.fd-mech__parts[data-shape='bar']{gap:0;overflow:clip;background:var(--card);border:${TILE_BORDER};border-radius:var(--tile-r);box-shadow:${TILE_SHADOW}}
.fd-mech__parts[data-shape='bar'] .fd-mech__part{border:0;border-radius:0;box-shadow:none;background:var(--card)}
.fd-mech__parts[data-shape='bar'] .fd-mech__part:nth-child(even){background:color-mix(in oklch,var(--ink) 3%,var(--card))}
.fd-mech__parts[data-shape='bar'] .fd-mech__part:nth-child(3){background:color-mix(in oklch,var(--ink) 6%,var(--card))}
.fd-mech__parts[data-shape='bar'] .fd-mech__part+.fd-mech__part::before{content:"";position:absolute;background:oklch(from var(--ink) l c h / 0.14)}
.fd-mech__parts[data-shape='loop']::before{content:"";position:absolute;z-index:0;border:var(--link) solid var(--accent)}
${ROW} .fd-mech__parts{flex-direction:row}
${ROW} .fd-mech__part{flex-direction:column}
${ROW} .fd-mech__art{flex:1 1 auto;min-height:var(--spot)}
${ROW} .fd-mech__text{min-height:var(--text-h,auto)}
${ROW} .fd-mech__parts:not([data-shape='bar']) .fd-mech__part:not(:last-child)::after{left:100%;top:calc(50% - var(--link) / 2);width:var(--gap);height:var(--link)}
${ROW} .fd-mech__parts[data-shape='bar'] .fd-mech__part+.fd-mech__part::before{left:0;top:var(--pad);bottom:var(--pad);width:2px}
${ROW} .fd-mech__parts[data-shape='loop']{padding-bottom:var(--loop)}
${ROW} .fd-mech__parts[data-shape='loop']::before{left:14%;right:14%;top:40%;bottom:calc(var(--loop) / 2 - var(--link) / 2);border-top:0;border-radius:0 0 var(--loop) var(--loop)}
${COL} .fd-mech__parts{flex-direction:column}
${COL} .fd-mech__part{flex-direction:row;align-items:center;gap:var(--art-gap)}
${COL} .fd-mech__art{flex:none;width:var(--spot);height:var(--spot)}
${COL} .fd-mech__parts:not([data-shape='bar']) .fd-mech__part:not(:last-child)::after{top:100%;left:calc(var(--pad) + var(--spot) / 2 - var(--link) / 2);height:calc(var(--gap) + 4px);width:var(--link)}
${COL} .fd-mech__parts[data-shape='bar'] .fd-mech__part+.fd-mech__part::before{top:0;left:var(--pad);right:var(--pad);height:2px}
${COL} .fd-mech__parts[data-shape='loop']{padding-right:var(--loop)}
${COL} .fd-mech__parts[data-shape='loop']::before{top:14%;bottom:14%;left:40%;right:calc(var(--loop) / 2 - var(--link) / 2);border-left:0;border-radius:0 var(--loop) var(--loop) 0}
.fd-mech[data-format='square']{--stack:40px;--intro-gap:32px;--gap:40px;--pad:24px;--link:12px;--loop:48px;--text-gap:14px;--text-h:164px}
.fd-mech[data-format='square'] .fd-mech__head{font-size:104px}
.fd-mech[data-format='square'] .fd-mech__support{font-size:34px}
.fd-mech[data-format='square'] .fd-mech__name{font-size:40px}
.fd-mech[data-format='square'] .fd-mech__line{font-size:28px}
.fd-mech[data-format='square'] .fd-mech__cue{--cue-fs:40px}
.fd-mech[data-format='portrait']{--stack:44px;--intro-gap:36px;--gap:32px;--pad:22px;--link:12px;--loop:56px;--art-gap:28px;--text-gap:16px}
.fd-mech[data-format='portrait'] .fd-mech__head{font-size:116px}
.fd-mech[data-format='portrait'] .fd-mech__support{font-size:36px}
.fd-mech[data-format='portrait'] .fd-mech__name{font-size:52px}
.fd-mech[data-format='portrait'] .fd-mech__line{font-size:32px}
.fd-mech[data-format='portrait'] .fd-mech__cue{--cue-fs:44px}
.fd-mech[data-format='story']{--stack:32px;--intro-gap:24px;--gap:32px;--pad:40px;--link:16px;--loop:64px;--art-gap:44px;--text-gap:12px}
.fd-mech[data-format='story'] .fd-mech__stage{top:calc(var(--safe-top) + 24px);bottom:calc(var(--safe-bottom) + 8px);left:72px;right:72px}
.fd-mech[data-format='story'] .fd-mech__head{font-size:104px;line-height:1.04}
.fd-mech[data-format='story'] .fd-mech__parts:not([data-shape='bar']) .fd-mech__part{flex-grow:1}
.fd-mech[data-format='story'] .fd-mech__name{font-size:64px;line-height:1.08}
.fd-mech[data-format='story'] .fd-mech__line{font-size:36px;line-height:1.25}
.fd-mech[data-format='story'] .fd-mech__cue{--cue-fs:46px}
.fd-mech[data-format='landscape']{--gap:24px;--pad:18px;--link:10px;--loop:36px;--text-gap:12px;--text-h:126px;--logo-h:60px;--tile-r:calc(var(--card-radius,var(--radius,14px)) * 1.3)}
.fd-mech[data-format='landscape'] .fd-mech__stage{inset:48px;display:grid;grid-template-columns:440px minmax(0,1fr);grid-template-rows:1fr auto;column-gap:40px;row-gap:24px}
.fd-mech[data-format='landscape'] .fd-mech__intro{grid-column:1;grid-row:1;padding-top:calc(var(--logo-h) + 28px);gap:24px}
.fd-mech[data-format='landscape'] .fd-mech__parts:not([data-shape='bar']) .fd-mech__part{flex-grow:1}
.fd-mech[data-format='landscape'] .fd-mech__parts{grid-column:2;grid-row:1 / span 2}
.fd-mech[data-format='landscape'] .fd-mech__foot{grid-column:1;grid-row:2;justify-content:flex-start}
.fd-mech[data-format='landscape'] .fd-mech__logo{position:absolute;left:0;top:0}
.fd-mech[data-format='landscape'] .fd-mech__head{font-size:66px}
.fd-mech[data-format='landscape'] .fd-mech__support{font-size:26px}
.fd-mech[data-format='landscape'] .fd-mech__name{font-size:28px}
.fd-mech[data-format='landscape'] .fd-mech__line{font-size:22px}
.fd-mech[data-format='landscape'] .fd-mech__cue{--cue-fs:28px}
`
export default MechanismDiagram
pieces/ads/mechanism-diagram/specimen.tsx 54 lines
import * as React from "react"
import { slot } from "../../slots"
import type { AdFormat } from "../../fx/ad-kit"
import clock from "../../fx/spots/clock"
import checklist from "../../fx/spots/checklist"
import calendar from "../../fx/spots/calendar"
import { MechanismDiagram, formats } from "../mechanism-diagram"
// Sample brand (fictional): Blocksmith, an undated paper planner built on its 3-Block Day method. The illustrations are the fx kit's clay Spots (clock, checklist, calendar: one material set).
const blocksmithLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 56"><g fill="currentColor"><rect x="13" y="4" width="22" height="22" rx="4"/><rect x="0" y="30" width="22" height="22" rx="4"/><rect x="26" y="30" width="22" height="22" rx="4"/><text x="60" y="40" font-family="Helvetica, Arial, sans-serif" font-size="32" font-weight="700" letter-spacing="-.4">blocksmith</text></g></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Your calendar is full. Your day still has no shape. The 3-Block Day gives it three: 90 minutes of deep work before any email, one window for all admin, one block for calls and meetings. The Blocksmith planner prints those three blocks on every undated page. $29, free shipping. See how the planner works.",
headline: "The 3-Block Day planner",
description: "Undated · $29 · free shipping",
cta: "Shop Now",
}
// Sample brand (rust-slate palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Blocksmith",
theme: "dark",
background: "#1e2328",
colors: ["#e2733b", "#8fb8de"],
fonts: ["Fraunces", "DM Sans"],
button: "soft",
}
export default function MechanismDiagramSpecimen({ state = "portrait" }: { state?: string }) {
return (
<MechanismDiagram
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
shape="blocks"
headline={"The\n3-Block Day"}
highlight="3-Block"
support="When email eats your day."
parts={[
{ name: "Deep work", line: "90 minutes before any email", weight: 1.4, spot: clock },
{ name: "Admin", line: "All admin in one window", weight: 1, spot: checklist },
{ name: "People", line: "Calls and meetings, one block", weight: 1, spot: calendar },
]}
cue="Get the planner"
cueNote="$29 · free shipping"
logo={slot("logo", blocksmithLogo)}
brand="Blocksmith"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalMechanismDiagram |
AdFormat |
Default "portrait"
|
shape OptionalMechanismDiagram |
"bar" | "blocks" | "loop" |
Default "blocks"
|
headline OptionalMechanismDiagram |
string |
Default "Our method,\nin three parts"
|
highlight OptionalMechanismDiagram |
string |
Default ""
|
support OptionalMechanismDiagram |
string |
Default ""
|
parts OptionalMechanismDiagram |
MechanismPart[] |
Default DEFAULT_PARTS
|
cue OptionalMechanismDiagram |
string |
Default "See how it works"
|
cueNote OptionalMechanismDiagram |
string |
Default ""
|
logo OptionalMechanismDiagram |
string |
Default ""
|
brand OptionalMechanismDiagram |
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.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--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.
-
321240b3188e2da4.webp
image/webp · 18.7 KB
-
7c36d7f4dd4ae594.webp
image/webp · 26.5 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB