Price Breakdown Dollar 1
One bar splits a donor's dollar into what it pays for, using the charity's audited accounts; a warm trust ad that sends past visitors to the monthly giving 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 368 characters
- You asked where the money goes, so here is every cent of $1, straight from our 2025 audited accounts.
82¢ built and repaired wells and pumps.
12¢ paid the local water technicians who keep them running.
6¢ covered admin and the audit itself.
(We publish the accounts because we'd want to see them too.)
Give monthly and your gift goes to work the same way, every month. - Headline 22 characters
- See where your $1 goes
- Description 21 characters
- 2025 audited accounts
- Button 10 characters
- Donate Now
What it is for
- Angle
- trust
- Temperature
- warm
- Archetype
- price breakdown
- Sends people to
- monthly giving
- Words on the image
- At most 30
Use it in a prompt
Make the ads/price-breakdown-dollar 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/price-breakdown-dollar.tsx. - Import it and pass your copy and images (Props tab):
import { PriceBreakdownDollar } from "@/components/funneldna/ads/price-breakdown-dollar"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/price-breakdown-dollar/component.tsx 208 lines
// archetype: price-breakdown
// When to use: One bar splits a donor's dollar into what it pays for, using the charity's audited accounts; a warm trust ad that sends past visitors to the monthly giving page.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat, type MarkStyle } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Price breakdown: where each dollar goes. One bar runs the full width of the copy column, split into one segment per
* share in proportion to its value. The largest share is the hero numeral. Each share sits above its segment in tabular
* figures (the bar is a subgrid of the figure columns, so every figure stands exactly over its segment); the labels
* follow as one colour-keyed legend line, so a 6¢ sliver never squeezes its label into a stacked column. The source
* line follows, then the cue. A waves pattern fades out of one corner of the dark band.
* Re-composed per format: square and portrait stack the headline, bar and cue (portrait gives the extra height to the
* bar and numeral). Story turns the bar vertical, a tall column with each share and label beside its segment (rows
* shared with the bar through subgrid), and puts the logo
* beside the cue just above the bottom safe line. Landscape runs the bar across under a two-line headline, with the
* source and cue sharing the bottom row.
* Tracks use minmax(min-content, share fr), so a small share's figure always fits over its segment. The colour key
* keeps every legend label matched to its segment.
* Truth: every share and the source come from the charity's real audited accounts. Both default to empty, and with no
* segments the ad draws no bar.
*/
export type PriceBreakdownDollarProps = {
format?: AdFormat
/** Names the reader and the moment, 12 words or fewer. A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` that gets the single marker. Empty: none. */
highlight?: string
mark?: MarkStyle
/** The audited split, in order. `share` is the figure as shown ("82¢"), `value` sets the segment's width, `label` is about three words. Empty: no bar. */
segments?: { share: string; value: number; label?: string }[]
/** Where the figures come from, e.g. "2025 audited accounts". Empty: no source line. */
source?: string
/** Wraps the source; {source} is replaced with `source`. */
sourceTemplate?: string
cue?: string
/** One short line under the cue. Empty: none. */
cueNote?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/** Raised from 20: the labelled split (three figures, three three-word labels) and its source are the proof the ad sells on. */
export const wordCap = 30
/** Segment fills: the share that does the work in the brand's accent, overheads in two quiet steps of the band ink. */
const FILLS = [
"var(--accent-fill, var(--accent))",
"color-mix(in oklch, var(--band-ink) 66%, var(--band))",
"color-mix(in oklch, var(--band-ink) 34%, var(--band))",
"color-mix(in oklch, var(--band-ink) 20%, var(--band))",
]
export function PriceBreakdownDollar({
format = "portrait",
headline = "Here's exactly where every dollar you give goes.",
highlight = "",
mark = "swipe",
segments = [],
source = "",
sourceTemplate = "Source: {source}",
cue = "Give monthly",
cueNote = "",
logo = "",
brand = "",
}: PriceBreakdownDollarProps) {
const parts = segments.filter((s) => s && s.share)
const total = parts.reduce((t, s) => t + Math.max(0, s.value || 0), 0)
const show = parts.length > 0 && total > 0
const leadAt = show ? parts.reduce((best, s, i) => ((s.value || 0) > (parts[best].value || 0) ? i : best), 0) : -1
const weights = parts.map((s) => weight(s.value, total))
const tracks = weights.map((w) => `minmax(min-content, ${w}fr)`).join(" ")
const vertical = format === "story"
const fill = (i: number) => FILLS[Math.min(i, FILLS.length - 1)]
const labelled = parts.some((s) => s.label)
return (
<AdFrame format={format} className="fd-dollar">
<style href="fd-dollar" precedence="default">{CSS}</style>
<div className="fd-dollar__waves" aria-hidden>
<Pattern name="waves" tone="band-ink" />
</div>
<LogoMark src={logo} brand={brand} className="fd-dollar__logo" />
<div className="fd-dollar__copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark={mark} className="fd-dollar__head" />
{show ? (
<div className="fd-dollar__chart">
<div className="fd-dollar__grid" style={{ "--tracks": tracks } as React.CSSProperties}>
<div className="fd-dollar__bar" aria-hidden>
{parts.map((s, i) => (
<span key={i} className="fd-dollar__seg" style={{ "--seg": fill(i) } as React.CSSProperties} />
))}
</div>
{parts.map((s, i) => (
<div
key={i}
className={`fd-dollar__item${i === leadAt ? " is-lead" : ""}${parts.length > 1 && i === parts.length - 1 ? " is-end" : ""}`}
style={{ "--n": String(i + 1), "--seg": fill(i) } as React.CSSProperties}
>
<p className="fd-dollar__fig">{s.share}</p>
{vertical && s.label ? (
<p className="fd-dollar__lab"><span className="fd-dollar__key" aria-hidden />{s.label}</p>
) : null}
</div>
))}
</div>
{!vertical && labelled ? (
<ul className="fd-dollar__legend">
{parts.map((s, i) =>
s.label ? (
<li key={i} className="fd-dollar__lab" style={{ "--seg": fill(i) } as React.CSSProperties}>
<span className="fd-dollar__key" aria-hidden />{s.label}
</li>
) : null,
)}
</ul>
) : null}
{source ? <p className="fd-dollar__src">{sourceTemplate.replace("{source}", source)}</p> : null}
</div>
) : null}
<Cue note={cueNote} className="fd-dollar__cue">{cue}</Cue>
</div>
</AdFrame>
)
}
/** A segment's share of the whole as a flex/fr weight (a sliver never collapses to nothing). */
function weight(value: number, total: number) {
return Math.max(0.5, (Math.max(0, value || 0) / total) * 100).toFixed(2)
}
const CSS = `
.fd-dollar__waves{position:absolute;right:0;bottom:0;width:64%;height:56%;overflow:hidden;pointer-events:none;-webkit-mask-image:radial-gradient(circle at 100% 100%,oklch(from var(--band) l c h) 0,oklch(from var(--band) l c h / .55) 38%,oklch(from var(--band) l c h / 0) 72%);mask-image:radial-gradient(circle at 100% 100%,oklch(from var(--band) l c h) 0,oklch(from var(--band) l c h / .55) 38%,oklch(from var(--band) l c h / 0) 72%)}
.fd-dollar .fd-dollar__logo{position:absolute;z-index:1;color:var(--band-ink)}
.fd-dollar__copy{position:absolute;z-index:1;display:flex;flex-direction:column}
.fd-dollar .fd-dollar__head{color:var(--band-ink);line-height:1.12}
.fd-dollar__chart{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:safe center}
.fd-dollar__grid{display:grid;column-gap:var(--seg-gap,8px);row-gap:var(--row-gap,18px)}
.fd-dollar__bar{display:grid;border-radius:calc(var(--radius,12px) * 1.4);overflow:clip;box-shadow:0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .35),0 10px 18px -8px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .45)}
.fd-dollar__seg{display:block;min-width:0;min-height:0;background:var(--seg);box-shadow:inset 0 3px 0 oklch(from var(--seg) calc(l + 0.1) c h / .55),inset 0 -5px 0 oklch(from var(--seg) calc(l - 0.12) c h / .7)}
.fd-dollar__fig{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.03em;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;color:var(--band-ink)}
.fd-dollar__lab{margin:0;font-family:var(--font-body);font-weight:600;line-height:1.2;text-wrap:pretty;color:color-mix(in oklch,var(--band-ink) 88%,var(--band))}
.fd-dollar__legend{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;column-gap:1.15em;row-gap:.3em}
.fd-dollar__legend .fd-dollar__lab{white-space:nowrap}
.fd-dollar__key{display:inline-block;width:.62em;height:.62em;border-radius:.12em;background:var(--seg);vertical-align:.02em;margin-inline-end:.34em}
.fd-dollar__src{margin:0;font-family:var(--font-body);font-weight:500;line-height:1.2;text-wrap:pretty;color:color-mix(in oklch,var(--band-ink) 82%,var(--band))}
.fd-dollar .fd-dollar__cue{align-self:flex-start;margin-top:auto;padding-inline:1em}
.fd-dollar:not([data-format="story"]) .fd-dollar__grid{grid-template-columns:var(--tracks);grid-template-rows:auto var(--bar-h,100px)}
.fd-dollar:not([data-format="story"]) .fd-dollar__bar{grid-row:2;grid-column:1 / -1;grid-template-columns:subgrid;grid-template-rows:100%}
.fd-dollar:not([data-format="story"]) .fd-dollar__item{display:contents}
.fd-dollar:not([data-format="story"]) .fd-dollar__fig{grid-row:1;grid-column:var(--n);align-self:end;justify-self:start}
.fd-dollar:not([data-format="story"]) .fd-dollar__item.is-end .fd-dollar__fig{justify-self:end;text-align:right}
.fd-dollar[data-format="square"] .fd-dollar__logo{left:72px;top:72px}
.fd-dollar[data-format="square"] .fd-dollar__copy{left:72px;right:72px;top:168px;bottom:72px;gap:36px}
.fd-dollar[data-format="square"] .fd-dollar__head{font-size:76px}
.fd-dollar[data-format="square"] .fd-dollar__chart{gap:24px}
.fd-dollar[data-format="square"] .fd-dollar__grid{--bar-h:88px;--seg-gap:8px;--row-gap:16px}
.fd-dollar[data-format="square"] .fd-dollar__fig{font-size:60px}
.fd-dollar[data-format="square"] .fd-dollar__item.is-lead .fd-dollar__fig{font-size:128px}
.fd-dollar[data-format="square"] .fd-dollar__lab,.fd-dollar[data-format="square"] .fd-dollar__src{font-size:28px}
.fd-dollar[data-format="square"] .fd-dollar__cue{--cue-fs:38px}
.fd-dollar[data-format="portrait"] .fd-dollar__logo{left:72px;top:72px}
.fd-dollar[data-format="portrait"] .fd-dollar__copy{left:72px;right:72px;top:172px;bottom:80px;gap:44px}
.fd-dollar[data-format="portrait"] .fd-dollar__head{font-size:88px}
.fd-dollar[data-format="portrait"] .fd-dollar__chart{gap:28px}
.fd-dollar[data-format="portrait"] .fd-dollar__grid{--bar-h:150px;--seg-gap:10px;--row-gap:20px}
.fd-dollar[data-format="portrait"] .fd-dollar__fig{font-size:78px}
.fd-dollar[data-format="portrait"] .fd-dollar__item.is-lead .fd-dollar__fig{font-size:196px}
.fd-dollar[data-format="portrait"] .fd-dollar__lab{font-size:32px}
.fd-dollar[data-format="portrait"] .fd-dollar__src{font-size:30px}
.fd-dollar[data-format="portrait"] .fd-dollar__cue{--cue-fs:44px}
.fd-dollar[data-format="story"] .fd-dollar__waves{width:82%;height:44%}
.fd-dollar[data-format="story"] .fd-dollar__logo{left:72px;bottom:382px}
.fd-dollar[data-format="story"] .fd-dollar__copy{left:72px;right:72px;top:270px;bottom:360px;gap:40px}
.fd-dollar[data-format="story"] .fd-dollar__head{font-size:84px}
.fd-dollar[data-format="story"] .fd-dollar__chart{justify-content:flex-start;gap:40px}
.fd-dollar[data-format="story"] .fd-dollar__grid{flex:1 1 auto;min-height:0;--seg-gap:10px;grid-template-columns:200px minmax(0,1fr);grid-template-rows:var(--tracks);column-gap:48px;row-gap:var(--seg-gap)}
.fd-dollar[data-format="story"] .fd-dollar__bar{grid-column:1;grid-row:1 / -1;grid-template-columns:100%;grid-template-rows:subgrid;border-radius:calc(var(--radius,12px) * 1.6)}
.fd-dollar[data-format="story"] .fd-dollar__item{grid-column:2;grid-row:var(--n);align-self:center;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:22px;row-gap:8px;padding-block:6px}
.fd-dollar[data-format="story"] .fd-dollar__item.is-lead{flex-direction:column;align-items:flex-start;row-gap:32px}
.fd-dollar[data-format="story"] .fd-dollar__fig{font-size:66px}
.fd-dollar[data-format="story"] .fd-dollar__item.is-lead .fd-dollar__fig{font-size:210px}
.fd-dollar[data-format="story"] .fd-dollar__lab{font-size:34px}
.fd-dollar[data-format="story"] .fd-dollar__item.is-lead .fd-dollar__lab{font-size:40px}
.fd-dollar[data-format="story"] .fd-dollar__src{font-size:32px}
.fd-dollar[data-format="story"] .fd-dollar__cue{--cue-fs:46px;align-self:flex-end}
.fd-dollar[data-format="landscape"] .fd-dollar__waves{width:46%;height:82%}
.fd-dollar[data-format="landscape"] .fd-dollar__logo{--logo-h:54px;left:48px;top:40px}
.fd-dollar[data-format="landscape"] .fd-dollar__copy{left:48px;right:48px;top:112px;bottom:44px;gap:18px}
.fd-dollar[data-format="landscape"] .fd-dollar__head{font-size:56px}
.fd-dollar[data-format="landscape"] .fd-dollar__chart{justify-content:space-between;gap:12px}
.fd-dollar[data-format="landscape"] .fd-dollar__grid{--bar-h:54px;--seg-gap:6px;--row-gap:10px}
.fd-dollar[data-format="landscape"] .fd-dollar__legend{padding-right:300px}
.fd-dollar[data-format="landscape"] .fd-dollar__fig{font-size:40px}
.fd-dollar[data-format="landscape"] .fd-dollar__item.is-lead .fd-dollar__fig{font-size:88px}
.fd-dollar[data-format="landscape"] .fd-dollar__lab{font-size:24px}
.fd-dollar[data-format="landscape"] .fd-dollar__src{font-size:22px;padding-right:300px}
.fd-dollar[data-format="landscape"] .fd-dollar__cue{--cue-fs:30px;position:absolute;right:0;bottom:0;margin-top:0}
`
export default PriceBreakdownDollar
pieces/ads/price-breakdown-dollar/specimen.tsx 51 lines
import * as React from "react"
import { slot } from "../../slots"
import { PriceBreakdownDollar, formats } from "../price-breakdown-dollar"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Corriemuir Water Fund, a small charity that builds and repairs village wells.
// The figures are clearly fictional sample shares. A real ad passes the charity's own audited split.
const corriemuirLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 56"><path d="M22 4C22 4 6 22 6 33a16 16 0 0 0 32 0C38 22 22 4 22 4z" fill="currentColor"/><text x="48" y="38" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.4" fill="currentColor">corriemuir</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "You asked where the money goes, so here is every cent of $1, straight from our 2025 audited accounts.\n82¢ built and repaired wells and pumps.\n12¢ paid the local water technicians who keep them running.\n6¢ covered admin and the audit itself.\n(We publish the accounts because we'd want to see them too.)\nGive monthly and your gift goes to work the same way, every month.",
headline: "See where your $1 goes",
description: "2025 audited accounts",
cta: "Donate Now",
}
// Sample brand (evergreen palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Corriemuir Water Fund",
theme: "light",
background: "#f4f8f5",
colors: ["#1f7a4d", "#d9822b"],
fonts: ["Bricolage Grotesque", "Figtree"],
button: "pill-caps",
band: "#dcefe3",
}
export default function PriceBreakdownDollarSpecimen({ state = "portrait" }: { state?: string }) {
return (
<PriceBreakdownDollar
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Donors who want to know: here's where your $1 goes."
highlight="where your $1 goes."
segments={[
{ share: "82¢", value: 82, label: "Wells and pumps" },
{ share: "12¢", value: 12, label: "Local water technicians" },
{ share: "6¢", value: 6, label: "Admin and audit" },
]}
source="2025 audited accounts"
cue="Give monthly"
logo={slot("logo", corriemuirLogo)}
brand="Corriemuir Water Fund"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalPriceBreakdownDollar |
AdFormat |
Default "portrait"
|
headline OptionalPriceBreakdownDollar |
string |
Default "Here's exactly where every dollar you give goes."
|
highlight OptionalPriceBreakdownDollar |
string |
Default ""
|
mark OptionalPriceBreakdownDollar |
MarkStyle |
Default "swipe"
|
segments OptionalPriceBreakdownDollar |
{ share: string; value: number; label?: string }[] |
Default []
|
source OptionalPriceBreakdownDollar |
string |
Default ""
|
sourceTemplate OptionalPriceBreakdownDollar |
string |
Default "Source: {source}"
|
cue OptionalPriceBreakdownDollar |
string |
Default "Give monthly"
|
cueNote OptionalPriceBreakdownDollar |
string |
Default ""
|
logo OptionalPriceBreakdownDollar |
string |
Default ""
|
brand OptionalPriceBreakdownDollar |
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.