Countdown Still Tax 1
A still countdown of whole days to a real, public deadline, set huge on a band block with the offer on an offset card; a retargeting deadline ad that drives bookings.
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 255 characters
- Your January quarterly estimate is due on the 15th, and it's still on your list.
Send us your numbers and we'll prepare the estimate for you, so you know what to pay before the deadline.
$95, flat. That's it.
Book your estimate and cross it off this week. - Headline 31 characters
- Your January estimate, prepared
- Description 27 characters
- Prepared for you · $95 flat
- Button 8 characters
- Book Now
What it is for
- Angle
- real deadline
- Temperature
- retargeting
- Archetype
- countdown static
- Sends people to
- booking
- Words on the image
- At most 28
Use it in a prompt
Make the ads/countdown-still-tax 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/countdown-still-tax.tsx. - Import it and pass your copy and images (Props tab):
import { CountdownStillTax } from "@/components/funneldna/ads/countdown-still-tax"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/countdown-still-tax/component.tsx 240 lines
// archetype: countdown-static
// When to use: A still countdown of whole days to a real, public deadline, set huge on a band block with the offer on an offset card; a retargeting deadline ad that drives bookings.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Texture } from "../fx/fx"
import noise from "../fx/textures/noise"
/**
* Countdown, still: the canvas is three flat colour blocks. A --band block cut on a strong diagonal carries the
* whole-day count in huge tabular figures and the deadline line under it. An --accent-fill stripe runs parallel
* beneath that cut. A --card block, hard-offset into the bottom-right corner and bleeding off both edges, holds the
* headline, the offer terms and the cue. The logo sits top right.
* Square and portrait: the count sits top left and the card is a corner block below it. Story: the count stacks over
* two lines (number, then unit) from y 350 with real air between number, unit and the dated line, and the card fills
* the lower half with its content stacked from the top so the cue ends above the bottom safe line (y 1580).
* The band carries one quiet noise texture (band-ink, 6%) so it reads as printed stock, not a flat fill.
* Landscape: the count sits on the left band and the card on the right.
* Truth: the count is computed from the required ISO props `deadline` and `today`, which are supplied at serving
* time, so the still is true on the day it serves. A missing, invalid or past date renders no count at all. There
* are no seconds, no ticking and no flip clock. The deadline must be the real public date, with no savings or
* refund claims.
*/
export type CountdownStillTaxProps = {
format?: AdFormat
/** The real deadline as an ISO date (YYYY-MM-DD). Without a valid one, no count renders. */
deadline: string
/** The day the still serves as an ISO date (YYYY-MM-DD), supplied at serving time. */
today: string
/** What the count runs to, set before the date: "until quarterly estimates are due". */
deadlineLine?: string
/** Shown in place of the number on the deadline day itself. */
todayWord?: string
/** The line under todayWord on the deadline day. */
todayLine?: string
dayWord?: string
daysWord?: string
/** Overrides the formatted date (default: day and month of `deadline` in `locale`). */
dateLabel?: string
locale?: string
/** Between the deadline line and the date. */
separator?: string
/** 12 words or fewer. A "\n" forces a line break. */
headline?: string
/** One phrase inside `headline` set in the accent colour. Empty: none. */
highlight?: string
/** The offer terms (price, what is included). Empty: none. */
terms?: string
/** The page button's exact words. */
cue?: string
logo?: string
brand?: string
className?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/**
* The brief sets five lines on the image: the count, the dated deadline line (the proof that the count is true),
* the headline, the offer terms and the cue. Together they run to about 25 words plus two separators.
*/
export const wordCap = 28
export function CountdownStillTax({
format = "portrait",
deadline,
today,
deadlineLine = "until the deadline",
todayWord = "Today",
todayLine = "is the deadline",
dayWord = "day",
daysWord = "days",
dateLabel = "",
locale = "en-GB",
separator = " · ",
headline = "The deadline is close. Let us handle it.",
highlight = "",
terms = "",
cue = "Book now",
logo = "",
brand = "",
className = "",
}: CountdownStillTaxProps) {
const days = daysBetween(today, deadline)
const showCount = days !== null && days >= 0
const isToday = days === 0
const numText = isToday ? todayWord : String(days ?? "")
const unit = isToday ? "" : days === 1 ? dayWord : daysWord
const line = isToday ? todayLine : deadlineLine
const date = showCount ? dateLabel || formatDay(deadline, locale) : ""
return (
<AdFrame format={format} className={`fd-cdtax ${className}`}>
<style href="fd-cdtax" precedence="default">{CSS}</style>
<div className="fd-cdtax__stripe" aria-hidden />
<div className="fd-cdtax__band" aria-hidden>
<Texture src={noise} tone="band-ink" opacity={0.06} />
</div>
<LogoMark src={logo} brand={brand} className="fd-cdtax__logo" />
<div className="fd-cdtax__stage">
<div className="fd-cdtax__count">
{showCount ? (
<>
<p className="fd-cdtax__num">
<span
className="fd-cdtax__n"
data-word={isToday ? "" : undefined}
style={{ "--nd": String(numText.length) } as React.CSSProperties}
>
{numText}
</span>
{unit ? <span className="fd-cdtax__unit">{unit}</span> : null}
</p>
{line || date ? (
<p className="fd-cdtax__line">
{line}
{date ? (
<>
{line ? separator : ""}
<b>{date}</b>
</>
) : null}
</p>
) : null}
</>
) : null}
</div>
<div className="fd-cdtax__card">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-cdtax__head" />
<div className="fd-cdtax__act">
{terms ? <p className="fd-cdtax__terms">{terms}</p> : null}
<Cue className="fd-cdtax__cue">{cue}</Cue>
</div>
</div>
</div>
</AdFrame>
)
}
/** A calendar day in UTC milliseconds, or null for anything that is not a real YYYY-MM-DD date. */
function isoDay(value: string): number | null {
const m = /^(\d{4})-(\d{2})-(\d{2})/.exec((value || "").trim())
if (!m) return null
const t = Date.UTC(Number(m[1]), Number(m[2]) - 1, Number(m[3]))
if (!Number.isFinite(t) || new Date(t).getUTCDate() !== Number(m[3])) return null
return t
}
/** Whole days from `from` to `to`, or null when either date is missing or invalid. */
function daysBetween(from: string, to: string): number | null {
const a = isoDay(from)
const b = isoDay(to)
if (a === null || b === null) return null
return Math.round((b - a) / 86400000)
}
function formatDay(value: string, locale: string): string {
const t = isoDay(value)
if (t === null) return ""
try {
return new Intl.DateTimeFormat(locale, { day: "numeric", month: "long", timeZone: "UTC" }).format(new Date(t))
} catch {
return ""
}
}
const CSS = `
.fd-cdtax{background:var(--surface);color:var(--ink)}
.fd-cdtax__stripe,.fd-cdtax__band{position:absolute;inset:0;pointer-events:none}
.fd-cdtax__stripe{background:var(--accent-fill,var(--accent))}
.fd-cdtax__band{background:var(--band);overflow:hidden}
.fd-cdtax .fd-cdtax__logo{position:absolute;z-index:2;color:var(--band-ink)}
.fd-cdtax__stage{position:absolute;z-index:1;display:flex;flex-direction:column;justify-content:space-between}
.fd-cdtax__count{color:var(--band-ink)}
.fd-cdtax__num{margin:0;display:flex;align-items:baseline;flex-wrap:nowrap;font-family:var(--font-display);font-weight:var(--display-weight,800);color:var(--band-ink)}
.fd-cdtax__n{font-size:calc(var(--num) * 2 / max(2, var(--nd, 2)));line-height:.78;letter-spacing:-0.045em;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.fd-cdtax__n[data-word]{font-size:calc(var(--num) * 0.4);line-height:.9;letter-spacing:-0.03em}
.fd-cdtax__unit{font-size:var(--unit);line-height:.9;letter-spacing:-0.02em;white-space:nowrap}
.fd-cdtax__line{margin:0;font-family:var(--font-body);font-weight:600;font-size:var(--line-fs);line-height:1.2;text-wrap:pretty;color:var(--band-ink)}
.fd-cdtax__line b{font-weight:800;white-space:nowrap}
.fd-cdtax__card{--card-r:min(calc(var(--card-radius,var(--radius,14px)) * 2.4),48px);display:flex;flex-direction:column;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / 0.12));border-right:0;border-bottom:0;border-radius:var(--card-r) 0 0 0;box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3),0 14px 28px -10px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4)))}
.fd-cdtax .fd-cdtax__head{color:var(--ink);line-height:1.12}
.fd-cdtax__card .fd-ad-mark[data-style="ink"]{color:var(--accent)}
.fd-cdtax__act{display:flex;flex-direction:column;align-items:flex-start}
.fd-cdtax__terms{margin:0;font-family:var(--font-body);font-weight:700;line-height:1.25;color:var(--ink);text-wrap:pretty}
.fd-cdtax .fd-cdtax__cue{padding-inline:.95em}
.fd-cdtax[data-format="square"] .fd-cdtax__band{clip-path:polygon(0 0,100% 0,100% 36%,0 58%)}
.fd-cdtax[data-format="square"] .fd-cdtax__stripe{clip-path:polygon(0 0,100% 0,100% 50%,0 72%)}
.fd-cdtax[data-format="square"] .fd-cdtax__logo{top:64px;right:64px}
.fd-cdtax[data-format="square"] .fd-cdtax__stage{top:88px;left:72px;right:0;bottom:0}
.fd-cdtax[data-format="square"] .fd-cdtax__count{--num:280px;--unit:96px;--line-fs:32px;padding-right:64px}
.fd-cdtax[data-format="square"] .fd-cdtax__num{gap:0 18px}
.fd-cdtax[data-format="square"] .fd-cdtax__line{margin-top:44px}
.fd-cdtax[data-format="square"] .fd-cdtax__card{margin:32px 0 0 144px;padding:48px 64px 64px 48px;gap:36px}
.fd-cdtax[data-format="square"] .fd-cdtax__head{font-size:72px}
.fd-cdtax[data-format="square"] .fd-cdtax__act{gap:20px}
.fd-cdtax[data-format="square"] .fd-cdtax__terms{font-size:30px}
.fd-cdtax[data-format="square"] .fd-cdtax__cue{--cue-fs:38px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__band{clip-path:polygon(0 0,100% 0,100% 46%,0 56%)}
.fd-cdtax[data-format="portrait"] .fd-cdtax__stripe{clip-path:polygon(0 0,100% 0,100% 58%,0 70%)}
.fd-cdtax[data-format="portrait"] .fd-cdtax__logo{top:64px;right:64px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__stage{top:150px;left:72px;right:0;bottom:0}
.fd-cdtax[data-format="portrait"] .fd-cdtax__count{--num:460px;--unit:128px;--line-fs:36px;padding-right:64px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__num{gap:0 22px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__line{margin-top:52px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__card{margin:40px 0 0 88px;padding:56px 64px 72px 52px;gap:44px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__head{font-size:80px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__act{gap:24px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__terms{font-size:32px}
.fd-cdtax[data-format="portrait"] .fd-cdtax__cue{--cue-fs:42px}
.fd-cdtax[data-format="story"] .fd-cdtax__band{clip-path:polygon(0 0,100% 0,100% 52%,0 63%)}
.fd-cdtax[data-format="story"] .fd-cdtax__stripe{clip-path:polygon(0 0,100% 0,100% 62%,0 75%)}
.fd-cdtax[data-format="story"] .fd-cdtax__logo{top:280px;right:64px}
.fd-cdtax[data-format="story"] .fd-cdtax__stage{top:350px;left:64px;right:0;bottom:0;justify-content:flex-start}
.fd-cdtax[data-format="story"] .fd-cdtax__count{--num:460px;--unit:140px;--line-fs:36px;padding-right:64px}
.fd-cdtax[data-format="story"] .fd-cdtax__num{flex-direction:column;align-items:flex-start;gap:36px}
.fd-cdtax[data-format="story"] .fd-cdtax__line{margin-top:52px}
.fd-cdtax[data-format="story"] .fd-cdtax__card{flex:1 1 auto;min-height:0;margin:40px 0 0 96px;padding:56px 64px calc(var(--safe-bottom) + 16px) 56px;justify-content:flex-start;gap:44px}
.fd-cdtax[data-format="story"] .fd-cdtax__head{font-size:78px}
.fd-cdtax[data-format="story"] .fd-cdtax__act{gap:22px}
.fd-cdtax[data-format="story"] .fd-cdtax__terms{font-size:34px}
.fd-cdtax[data-format="story"] .fd-cdtax__cue{--cue-fs:44px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__band{clip-path:polygon(0 0,46% 0,38% 100%,0 100%)}
.fd-cdtax[data-format="landscape"] .fd-cdtax__stripe{clip-path:polygon(0 0,55% 0,47% 100%,0 100%)}
.fd-cdtax[data-format="landscape"] .fd-cdtax__logo{top:44px;right:48px;color:var(--ink)}
.fd-cdtax[data-format="landscape"] .fd-cdtax__stage{inset:0;display:block}
.fd-cdtax[data-format="landscape"] .fd-cdtax__count{--num:230px;--unit:60px;--line-fs:24px;position:absolute;left:48px;top:48px;bottom:40px;width:360px;display:flex;flex-direction:column;justify-content:center}
.fd-cdtax[data-format="landscape"] .fd-cdtax__num{flex-direction:column;align-items:flex-start;gap:28px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__line{margin-top:30px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__card{position:absolute;left:440px;top:132px;right:0;bottom:0;padding:36px 48px 40px 44px;justify-content:center;gap:32px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__head{font-size:60px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__act{gap:16px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__terms{font-size:24px}
.fd-cdtax[data-format="landscape"] .fd-cdtax__cue{--cue-fs:30px}
`
export default CountdownStillTax
pieces/ads/countdown-still-tax/specimen.tsx 49 lines
import * as React from "react"
import { slot } from "../../slots"
import { CountdownStillTax, formats } from "../countdown-still-tax"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Ambergast Tax, a small practice that prepares quarterly estimates for self-employed people.
// 15 January is the real public due date for the fourth quarterly estimate. The sample serves on 3 January, so the still reads 12 days.
const ambergastLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 270 56"><rect x="0" y="30" width="10" height="20" rx="2" fill="currentColor"/><rect x="14" y="19" width="10" height="31" rx="2" fill="currentColor"/><rect x="28" y="7" width="10" height="43" rx="2" fill="currentColor"/><text x="50" y="42" font-family="Helvetica, Arial, sans-serif" font-size="28" font-weight="700" letter-spacing="-.4" fill="currentColor">ambergast tax</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Your January quarterly estimate is due on the 15th, and it's still on your list.\nSend us your numbers and we'll prepare the estimate for you, so you know what to pay before the deadline.\n$95, flat. That's it.\nBook your estimate and cross it off this week.",
headline: "Your January estimate, prepared",
description: "Prepared for you · $95 flat",
cta: "Book Now",
}
// Sample brand (tide-teal palette, expressive fonts, pill-bold button; invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Ambergast Tax",
theme: "light",
background: "#f1f8f8",
colors: ["#0e7c7b", "#f2a541"],
fonts: ["Bricolage Grotesque", "Figtree"],
band: "#d2eeee",
button: "pill-bold",
}
export default function CountdownStillTaxSpecimen({ state = "portrait" }: { state?: string }) {
return (
<CountdownStillTax
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
deadline="2027-01-15"
today="2027-01-03"
deadlineLine="until quarterly estimates are due"
headline={"Dreading January's tax estimate?\nWe'll do it."}
highlight="We'll do it."
terms="Estimate prepared · $95 flat"
cue="Book my estimate"
logo={slot("logo", ambergastLogo)}
brand="Ambergast Tax"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalCountdownStillTax |
AdFormat |
Default "portrait"
|
deadline RequiredCountdownStillTax |
string |
|
today RequiredCountdownStillTax |
string |
|
deadlineLine OptionalCountdownStillTax |
string |
Default "until the deadline"
|
todayWord OptionalCountdownStillTax |
string |
Default "Today"
|
todayLine OptionalCountdownStillTax |
string |
Default "is the deadline"
|
dayWord OptionalCountdownStillTax |
string |
Default "day"
|
daysWord OptionalCountdownStillTax |
string |
Default "days"
|
dateLabel OptionalCountdownStillTax |
string |
Default ""
|
locale OptionalCountdownStillTax |
string |
Default "en-GB"
|
separator OptionalCountdownStillTax |
string |
Default " · "
|
headline OptionalCountdownStillTax |
string |
Default "The deadline is close. Let us handle it."
|
highlight OptionalCountdownStillTax |
string |
Default ""
|
terms OptionalCountdownStillTax |
string |
Default ""
|
cue OptionalCountdownStillTax |
string |
Default "Book now"
|
logo OptionalCountdownStillTax |
string |
Default ""
|
brand OptionalCountdownStillTax |
string |
Default ""
|
className OptionalCountdownStillTax |
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-r--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--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.
-
bec2a41897a3364d.webp
image/webp · 51.2 KB