Habit Grid Walking 1
The reader's own 21-day tracker set large, day one filled in, under the challenge's promise and its real start date; a cold promise ad that drives challenge registration.
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 274 characters
- Desk-bound since January? Our free 21-day walking challenge starts Monday 30 November. Three reasons it's easy to start: 1. It's 20 minutes a day. 2. A short email each morning has that day's walk. 3. It's free. Join the challenge and take your Day 1 walk with us on Monday.
- Headline 29 characters
- Free 21-day walking challenge
- Description 25 characters
- Starts Monday 30 November
- Button 7 characters
- Sign Up
What it is for
- Angle
- promise
- Temperature
- cold
- Archetype
- habit grid
- Sends people to
- challenge registration
- Words on the image
- At most 28
Use it in a prompt
Make the ads/habit-grid-walking 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/habit-grid-walking.tsx. - Import it and pass your copy and images (Props tab):
import { HabitGridWalking } from "@/components/funneldna/ads/habit-grid-walking"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/habit-grid-walking/component.tsx 189 lines
// archetype: habit-grid
// When to use: The reader's own 21-day tracker set large, day one filled in, under the challenge's promise and its real start date; a cold promise ad that drives challenge registration.
import * as React from "react"
import { Footprints } from "lucide-react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Habit grid: 21 rounded squares (three weeks of seven) sit large on a clean surface like the tracker the reader
* would pin up. Day one is filled in the accent colour with a small walking glyph and a "Day 1" tag beneath it; the
* other twenty are empty outlines waiting to be filled. Each week carries its number in tabular display type. The
* headline's key phrase is set in the same accent, so the promise and the first square read as one idea. One dots
* Pattern fades out of the far corner. Offer terms lead with the risk reversal ("Free" set bold) and the real start
* date sits under the cue. Cold · promise → challenge registration.
* Re-composed per format: square and portrait stack headline, tracker, terms and cue (portrait gives the tracker the
* extra height); story turns the tracker into seven rows of three beside a tall headline column, with a full-width
* cue just above the bottom safe line and the dots running into the bottom band; landscape sets the copy left and
* the tracker right with the terms under it.
* Truth: `startsOn` is required and must be the real first day the page states. No weight, step-count or health
* outcomes; the tracker shows only that day one is where you start.
*/
export type HabitGridWalkingProps = {
format?: AdFormat
/** The promise, 12 words or fewer: who it is for and when it starts. A "\n" forces a break. */
headline?: string
/** One phrase inside `headline` set in the accent colour (it matches the filled first day). Empty: none. */
highlight?: string
/** The offer terms on one line, segments split by "·"; the first segment is set bold (risk first, e.g. "Free"). Empty: none. */
support?: string
/** Required: the real first day of the challenge, exactly as the page states it ("Monday 30 November"). */
startsOn: string
/** Line under the cue; {date} is replaced by `startsOn`. */
startsLabel?: string
/** The page button's words. */
cue?: string
/** Tag under the filled first square. Empty: none. */
dayLabel?: string
/** Week number beside each row (story: above each column); {n} is replaced by the week, 1 to 3. */
weekLabel?: string
/** Accessible name for the tracker graphic. */
trackerLabel?: string
/** Logo slot image. */
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/** Raised from 20: the brief makes the tracker's three week numerals and its "Day 1" tag part of the device; the copy itself stays at 23 words. */
export const wordCap = 28
const WEEKS = [1, 2, 3]
const DAYS = Array.from({ length: 21 }, (_, i) => i + 1)
export function HabitGridWalking({
format = "portrait",
headline = "Twenty minutes a day for 21 days. We start together.",
highlight = "",
support = "Free · 20 minutes a day",
startsOn,
startsLabel = "Starts {date}",
cue = "Join the challenge",
dayLabel = "Day 1",
weekLabel = "{n}",
trackerLabel = "A 21-day tracker, three weeks of seven days, with day one filled in",
logo = "",
brand = "",
}: HabitGridWalkingProps) {
const facts = support.split("·").map((s) => s.trim()).filter(Boolean)
const note = startsOn ? startsLabel.replace("{date}", startsOn) : ""
return (
<AdFrame format={format} className="fd-habit">
<style href="fd-habit" precedence="default">{CSS}</style>
<div className="fd-habit__dots" aria-hidden>
<Pattern name="dots" />
</div>
<div className="fd-habit__stage">
<LogoMark src={logo} brand={brand} className="fd-habit__logo" />
<AdHeadline as="h1" text={headline} highlight={highlight} mark="ink" className="fd-habit__head" />
<div className="fd-habit__grid" role="img" aria-label={trackerLabel}>
{WEEKS.map((w) => (
<span key={`w${w}`} className="fd-habit__wk" style={{ "--w": w } as React.CSSProperties}>
{weekLabel.replace("{n}", String(w))}
</span>
))}
{DAYS.map((d) => {
const w = Math.floor((d - 1) / 7) + 1
const first = d === 1
return (
<span
key={d}
className="fd-habit__cell"
data-first={first ? "" : undefined}
style={{ "--w": w, "--d": ((d - 1) % 7) + 2 } as React.CSSProperties}
>
{first ? <Footprints className="fd-habit__icon" strokeWidth={2.5} aria-hidden /> : null}
</span>
)
})}
{dayLabel ? (
<span className="fd-habit__day" style={{ "--w": 1, "--d": 2 } as React.CSSProperties}>
{dayLabel}
</span>
) : null}
</div>
<div className="fd-habit__foot">
{facts.length ? (
<p className="fd-habit__facts">
{facts.map((f, i) => (
<React.Fragment key={i}>
{i ? " " : null}
{i === 0 ? <b className="fd-habit__seg">{f}</b> : <span className="fd-habit__seg">{f}</span>}
</React.Fragment>
))}
</p>
) : null}
<Cue note={note} className="fd-habit__cue">{cue}</Cue>
</div>
</div>
</AdFrame>
)
}
/*
* The headline's one emphasis uses the kit's "ink" mark, re-tinted here to the text-safe --accent: this ad sits on
* --surface (light or dark per theme), where the kit's band tint would not read, and the accent ties the phrase to
* the filled first square. No background on the mark, so it never paints over the line above.
* The dots fade through an alpha mask; masks read only alpha, so the stops are a token at falling opacity.
* The "Day 1" tag is its own grid item, stretched one column gap past each side of the first square and centred in
* the row gap below it, so the tag always has clear space around it at every format and in every face.
*/
const MASK_TR = "radial-gradient(ellipse 100% 100% at 100% 0%,var(--ink),oklch(from var(--ink) l c h / 0.5) 45%,transparent 100%)"
const MASK_BR = "radial-gradient(ellipse 100% 100% at 100% 100%,var(--ink),oklch(from var(--ink) l c h / 0.5) 45%,transparent 100%)"
const CSS = `
.fd-habit{background:var(--surface);color:var(--ink)}
.fd-habit .fd-habit__dots{position:absolute;z-index:0;top:0;right:0;width:50%;height:22%;pointer-events:none;-webkit-mask-image:${MASK_TR};mask-image:${MASK_TR}}
.fd-habit .fd-habit__stage{position:absolute;z-index:1;inset:var(--ad-m);display:flex;flex-direction:column;align-items:flex-start;gap:var(--gap,24px)}
.fd-habit .fd-habit__logo{grid-area:logo;color:var(--ink)}
.fd-habit .fd-habit__head{grid-area:head;width:100%;color:var(--ink);line-height:1.06}
.fd-habit .fd-habit__head .fd-ad-mark{color:var(--accent);background:none;padding:0;margin:0}
.fd-habit .fd-habit__grid{grid-area:grid;display:grid;grid-template-columns:var(--wk) repeat(7,var(--sq));grid-auto-rows:var(--sq);column-gap:var(--cg);row-gap:var(--rg);margin-block:auto;flex:none}
.fd-habit .fd-habit__wk{grid-row:var(--w);grid-column:1;align-self:center;justify-self:start;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:var(--wk-fs);line-height:1;font-variant-numeric:tabular-nums;color:var(--muted)}
.fd-habit .fd-habit__cell{grid-row:var(--w);grid-column:var(--d);position:relative;display:grid;place-items:center;background:var(--card);border:var(--line) solid oklch(from var(--ink) l c h / 0.2);border-radius:clamp(calc(var(--sq) * 0.14),calc(var(--radius,12px) * 1.6),calc(var(--sq) * 0.3))}
.fd-habit .fd-habit__cell[data-first]{border-color:transparent;color:var(--accent-fill-ink,var(--card));background:linear-gradient(oklch(from var(--accent-fill,var(--accent)) calc(l + 0.04) c h),oklch(from var(--accent-fill,var(--accent)) calc(l - 0.04) c h));background-origin:border-box;box-shadow:inset 0 1px 0 oklch(from var(--accent-fill,var(--accent)) calc(l + 0.14) c h / 0.6),inset 0 calc(-5px * var(--u)) 0 oklch(from var(--accent-fill,var(--accent)) calc(l - 0.14) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3),0 8px 14px -6px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4)}
.fd-habit .fd-habit__icon{width:46%;height:46%}
.fd-habit .fd-habit__day{grid-row:var(--w);grid-column:var(--d);position:relative;z-index:1;align-self:end;justify-self:stretch;margin-inline:calc(var(--cg) * -1);margin-bottom:calc((var(--rg) + var(--day-fs)) / -2);text-align:center;white-space:nowrap;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:var(--day-fs);line-height:1;letter-spacing:-0.01em;color:var(--accent)}
.fd-habit .fd-habit__foot{display:flex;align-items:center;justify-content:space-between;gap:calc(36px * var(--u));width:100%;flex:none}
.fd-habit .fd-habit__facts{grid-area:facts;margin:0;min-width:0;flex:1 1 auto;font-size:var(--facts-fs);line-height:1.3;font-weight:500;color:var(--ink);text-wrap:pretty}
.fd-habit .fd-habit__facts b{font-weight:800}
.fd-habit .fd-habit__seg:not(:last-child)::after{content:"·";margin-left:.32em;color:var(--muted);font-weight:700}
.fd-habit .fd-habit__cue{grid-area:cue;flex:none;gap:.6em}
.fd-habit[data-format="square"]{--gap:24px;--sq:92px;--wk:46px;--cg:30px;--rg:46px;--line:4px;--wk-fs:36px;--day-fs:30px;--facts-fs:32px}
.fd-habit[data-format="square"] .fd-habit__head{font-size:74px}
.fd-habit[data-format="square"] .fd-habit__cue{--cue-fs:36px}
.fd-habit[data-format="portrait"]{--gap:28px;--sq:110px;--wk:48px;--cg:18px;--rg:58px;--line:4px;--wk-fs:38px;--day-fs:32px;--facts-fs:36px}
.fd-habit[data-format="portrait"] .fd-habit__dots{height:20%}
.fd-habit[data-format="portrait"] .fd-habit__head{font-size:84px}
.fd-habit[data-format="portrait"] .fd-habit__foot{flex-direction:column;align-items:flex-start;gap:28px}
.fd-habit[data-format="portrait"] .fd-habit__facts{flex:none}
.fd-habit[data-format="portrait"] .fd-habit__cue{--cue-fs:42px}
.fd-habit[data-format="story"]{--sq:104px;--cg:26px;--rg:46px;--line:4px;--wk-fs:34px;--day-fs:28px;--facts-fs:40px}
.fd-habit[data-format="story"] .fd-habit__dots{top:auto;bottom:0;width:74%;height:30%;-webkit-mask-image:${MASK_BR};mask-image:${MASK_BR}}
.fd-habit[data-format="story"] .fd-habit__stage{inset:calc(var(--safe-top) + 20px) 64px calc(var(--safe-bottom) + 20px);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"logo grid" "head grid" "facts grid" "cue cue";column-gap:56px;row-gap:40px;align-items:start}
.fd-habit[data-format="story"] .fd-habit__foot{display:contents}
.fd-habit[data-format="story"] .fd-habit__logo{justify-self:start}
.fd-habit[data-format="story"] .fd-habit__head{font-size:84px;line-height:1.06}
.fd-habit[data-format="story"] .fd-habit__grid{margin:0;align-self:end;grid-template-columns:repeat(3,var(--sq));grid-template-rows:auto repeat(7,var(--sq))}
.fd-habit[data-format="story"] .fd-habit__wk{grid-row:1;grid-column:var(--w);justify-self:center;align-self:end}
.fd-habit[data-format="story"] .fd-habit__cell{grid-row:var(--d);grid-column:var(--w)}
.fd-habit[data-format="story"] .fd-habit__day{grid-row:var(--d);grid-column:var(--w)}
.fd-habit[data-format="story"] .fd-habit__facts{align-self:end}
.fd-habit[data-format="story"] .fd-habit__cue{--cue-fs:48px;width:100%}
.fd-habit[data-format="landscape"]{--logo-h:56px;--sq:60px;--wk:30px;--cg:12px;--rg:38px;--line:3px;--wk-fs:26px;--day-fs:22px;--facts-fs:24px}
.fd-habit[data-format="landscape"] .fd-habit__dots{width:52%;height:42%}
.fd-habit[data-format="landscape"] .fd-habit__stage{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"logo grid" "head grid" "cue facts";column-gap:44px;row-gap:22px;align-items:start}
.fd-habit[data-format="landscape"] .fd-habit__foot{display:contents}
.fd-habit[data-format="landscape"] .fd-habit__logo{justify-self:start}
.fd-habit[data-format="landscape"] .fd-habit__head{font-size:56px;line-height:1.06}
.fd-habit[data-format="landscape"] .fd-habit__grid{margin:0;align-self:end}
.fd-habit[data-format="landscape"] .fd-habit__facts{align-self:center}
.fd-habit[data-format="landscape"] .fd-habit__cue{--cue-fs:26px;justify-self:start;align-self:end}
`
export default HabitGridWalking
pieces/ads/habit-grid-walking/specimen.tsx 45 lines
import * as React from "react"
import { slot } from "../../slots"
import { HabitGridWalking, formats } from "../habit-grid-walking"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Fernlow Walking Club, a free 21-day walking challenge for people who sit all day.
const fernlowLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 56"><path d="M6 50C6 27 19 9 44 4c1 25-12 43-38 46z" fill="currentColor"/><path d="M26 52c2-14 10-24 24-28-2 15-10 25-24 28z" fill="currentColor"/><text x="60" y="38" font-family="Helvetica, Arial, sans-serif" font-size="28" font-weight="700" letter-spacing="-.4" fill="currentColor">fernlow walking</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Desk-bound since January? Our free 21-day walking challenge starts Monday 30 November. Three reasons it's easy to start: 1. It's 20 minutes a day. 2. A short email each morning has that day's walk. 3. It's free. Join the challenge and take your Day 1 walk with us on Monday.",
headline: "Free 21-day walking challenge",
description: "Starts Monday 30 November",
cta: "Sign Up",
}
// Sample brand (terracotta palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Fernlow Walking Club",
theme: "light",
background: "#fbf7f5",
colors: ["#c2512f", "#2f6f73"],
fonts: ["Archivo", "Inter"],
button: "soft-caps",
}
export default function HabitGridWalkingSpecimen({ state = "portrait" }: { state?: string }) {
return (
<HabitGridWalking
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="Desk-bound since January? A 21-day walking challenge, starts Monday."
highlight="21-day walking challenge"
support="Free · 20 minutes a day · daily email"
startsOn="Monday 30 November"
cue="Join the challenge"
logo={slot("logo", fernlowLogo)}
brand="Fernlow Walking Club"
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalHabitGridWalking |
AdFormat |
Default "portrait"
|
headline OptionalHabitGridWalking |
string |
Default "Twenty minutes a day for 21 days. We start together."
|
highlight OptionalHabitGridWalking |
string |
Default ""
|
support OptionalHabitGridWalking |
string |
Default "Free · 20 minutes a day"
|
startsOn RequiredHabitGridWalking |
string |
|
startsLabel OptionalHabitGridWalking |
string |
Default "Starts {date}"
|
cue OptionalHabitGridWalking |
string |
Default "Join the challenge"
|
dayLabel OptionalHabitGridWalking |
string |
Default "Day 1"
|
weekLabel OptionalHabitGridWalking |
string |
Default "{n}"
|
trackerLabel OptionalHabitGridWalking |
string |
Default "A 21-day tracker, three weeks of seven days, with day one filled in"
|
logo OptionalHabitGridWalking |
string |
Default ""
|
brand OptionalHabitGridWalking |
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.