Start Here Paths 1
Start-here paths: sorts a home-page visitor by stage (brand new, growing, already live) and lights up the one path, promise and action that fit, so every visitor lands on the right free funnel or offer.
Use it in a prompt
Use content/start-here-paths from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details 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/content/start-here-paths.tsx. - Import it and pass your copy and images (Props tab):
import { StartHerePaths } from "@/components/funneldna/content/start-here-paths"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/start-here-paths/component.tsx 394 lines
// layout: number-rail
// Start-here paths: sorts a home-page visitor by stage (brand new, growing, already live) and lights up the one path, promise and action that fit, so every visitor lands on the right free funnel or offer.
import * as React from "react";
import { Pattern, FX_HOST } from "../fx/fx";
export type StartHerePath = {
/** Short chooser label, e.g. "Brand new" */
choice: string;
/** The path's promise, set as its heading */
title: string;
/** Short paragraphs, each opened by a bold lead-in phrase */
points: { lead: string; text: string }[];
/** The free funnel or offer this path leads to */
offer: string;
/** One bold price line, e.g. "Just $47" or "Free" */
priceLine: string;
/** The value said in words beside the price */
priceWords?: string;
/** Outcome-verb button label */
label: string;
/** One short reassurance line beside the button */
note?: string;
href?: string;
/** Picture of this visitor's after-state (slot item-n) */
image?: string;
imageAlt?: string;
};
export type StartHerePathsProps = {
headline?: string;
/** Phrase inside the headline that gets the marker stroke */
highlight?: string;
lead?: string;
/** Question above the path chooser */
chooserLabel?: string;
paths?: StartHerePath[];
/** Index of the path selected on first render */
defaultPath?: number;
unsureText?: string;
/** Link text that selects path 1 */
unsureAction?: string;
/** Called with the path and its index when its button is clicked */
onAction?: (path: StartHerePath, index: number) => void;
/** Called when the visitor picks a path */
onSelect?: (path: StartHerePath, index: number) => void;
/** here: the marker on the selected path */
copy?: { here?: string };
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
export function StartHerePaths(props: StartHerePathsProps) {
const {
headline = DEFAULT_HEADLINE,
highlight = DEFAULT_HIGHLIGHT,
lead = DEFAULT_LEAD,
chooserLabel = "Which one sounds like you?",
paths = DEFAULT_PATHS,
defaultPath = 0,
unsureText = "Not sure which one fits? Start with path 1. It's free.",
unsureAction = "Show me path 1",
onAction,
onSelect,
copy,
state = "default",
className,
} = props;
const here = copy?.here ?? "Your path";
const count = paths.length;
const uid = React.useId();
const [active, setActive] = React.useState(() => clampIndex(defaultPath, count));
const optRefs = React.useRef<Array<HTMLButtonElement | null>>([]);
const rowRefs = React.useRef<Array<HTMLLIElement | null>>([]);
if (count === 0) return null;
const on = Math.min(active, count - 1);
const disabled = state === "disabled";
const select = (i: number) => {
setActive(i);
onSelect?.(paths[i], i);
};
const onKey = (e: React.KeyboardEvent<HTMLDivElement>) => {
let next = -1;
if (e.key === "ArrowRight" || e.key === "ArrowDown") next = (on + 1) % count;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") next = (on - 1 + count) % count;
else if (e.key === "Home") next = 0;
else if (e.key === "End") next = count - 1;
if (next < 0) return;
e.preventDefault();
select(next);
optRefs.current[next]?.focus();
};
const showFirst = () => {
select(0);
const row = rowRefs.current[0];
if (!row) return;
const reduce = typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
row.scrollIntoView({ behavior: reduce ? "auto" : "smooth", block: "nearest" });
};
const [before, marked, after] = splitHighlight(headline, highlight);
return (
<section
className={["cf-start-here-paths", className].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={`${uid}-h`}
>
<style>{CSS}</style>
<Pattern name="plus" fade="corner" />
<div className="shp-wrap">
<header className="shp-intro">
<h2 id={`${uid}-h`} className="shp-h2">
{before}
{marked ? <span className="shp-mark">{marked}</span> : null}
{after}
</h2>
{lead ? <p className="shp-lead">{lead}</p> : null}
<div className="shp-choose">
<p id={`${uid}-c`} className="shp-choose-label">{chooserLabel}</p>
<div className="shp-seg" role="radiogroup" aria-labelledby={`${uid}-c`} onKeyDown={onKey}>
{paths.map((p, i) => (
<button
key={i}
ref={(el) => {
optRefs.current[i] = el;
}}
type="button"
role="radio"
aria-checked={i === on}
tabIndex={i === on ? 0 : -1}
className="shp-opt"
onClick={() => select(i)}
>
<span className="shp-opt-n" aria-hidden="true">{i + 1}</span>
{p.choice}
</button>
))}
</div>
</div>
</header>
<ol className="shp-rows">
{paths.map((p, i) => {
const isOn = i === on;
const isDone = i < on;
const titleId = `${uid}-t${i}`;
const btnClass = [
"shp-btn",
isOn ? "is-primary" : "is-quiet",
isOn && state === "hover" ? "is-hover" : "",
isOn && state === "active" ? "is-press" : "",
]
.filter(Boolean)
.join(" ");
const handle = () => onAction?.(p, i);
return (
<li
key={i}
ref={(el) => {
rowRefs.current[i] = el;
}}
className={`shp-row${isOn ? " is-on" : ""}${isDone ? " is-done" : ""}`}
style={{ "--d": `${Math.min(i * 0.07, 0.28)}s` } as React.CSSProperties}
>
<div className="shp-rail" aria-hidden="true">
<span key={isOn ? "on" : "off"} className="shp-num">{i + 1}</span>
{isOn ? <span className="shp-here">{here}</span> : null}
{i < count - 1 ? (
<span className="shp-line">
<span className="shp-fill" />
</span>
) : null}
</div>
<article
className={`shp-card${p.image ? "" : " no-media"}`}
aria-labelledby={titleId}
onClick={() => {
if (!isOn) select(i);
}}
>
<div className="shp-head">
<div className="shp-tag" aria-hidden="true">
<span key={isOn ? "on" : "off"} className="shp-tag-n">{i + 1}</span>
<span className="shp-tag-choice">{p.choice}</span>
{isOn ? <span className="shp-flag">{here}</span> : null}
</div>
<h3 id={titleId} className="shp-h3">{p.title}</h3>
</div>
{p.image ? (
<figure className="shp-media">
<img src={p.image} alt={p.imageAlt ?? ""} loading={i === 0 ? "eager" : "lazy"} decoding="async" />
</figure>
) : null}
<div className="shp-body">
{p.points.map((pt, k) => (
<p key={k} className="shp-p">
<strong>{pt.lead}</strong> {pt.text}
</p>
))}
<p className="shp-offer">
<span className="shp-offer-name">{p.offer}</span>
<span className="shp-price-row">
<span className="shp-price">{p.priceLine}</span>
{p.priceWords ? <span className="shp-words">{p.priceWords}</span> : null}
</span>
</p>
<div className="shp-act">
{p.href && !disabled ? (
<a className={btnClass} href={p.href} onClick={handle}>
{p.label}
</a>
) : (
<button type="button" className={btnClass} disabled={disabled} onClick={handle}>
{p.label}
</button>
)}
{p.note ? <span className="shp-note">{p.note}</span> : null}
</div>
</div>
</article>
</li>
);
})}
</ol>
{unsureText || unsureAction ? (
<p className="shp-unsure">
{unsureText}{" "}
{unsureAction ? (
<button type="button" className="shp-link" onClick={showFirst}>
{unsureAction}
</button>
) : null}
</p>
) : null}
</div>
</section>
);
}
export default StartHerePaths;
function clampIndex(i: number, count: number) {
if (!Number.isFinite(i) || count === 0) return 0;
return Math.max(0, Math.min(count - 1, Math.round(i)));
}
function splitHighlight(text: string, phrase?: string): [string, string, string] {
const at = phrase ? text.indexOf(phrase) : -1;
if (!phrase || at < 0) return [text, "", ""];
return [text.slice(0, at), phrase, text.slice(at + phrase.length)];
}
const DEFAULT_HEADLINE = "Start here. Pick the path that fits where you are today.";
const DEFAULT_HIGHLIGHT = "where you are today";
const DEFAULT_LEAD =
"Three stages, three paths. Choose the one that sounds like you and go straight to the free workshop or the kit built for it.";
const DEFAULT_PATHS: StartHerePath[] = [
{
choice: "Brand new",
title: "Brand new? Map your first funnel in one free workshop.",
points: [
{ lead: "No funnel yet?", text: "Start with your offer and the few pages you actually need." },
{ lead: "Watch it free.", text: "The Funnel Starter Workshop walks you through it, on demand." },
],
offer: "Funnel Starter Workshop",
priceLine: "Free",
priceWords: "the full workshop, on demand",
label: "Start planning my funnel",
note: "We respect your inbox. Unsubscribe anytime.",
},
{
choice: "Growing",
title: "Have an offer? Turn it into pages that sell.",
points: [
{ lead: "Plan it on paper.", text: "The Funnel Planning Guide maps your offer and every page." },
{ lead: "Write it in one sitting.", text: "The Page Copy Workbook drafts your headline, offer and call to action." },
],
offer: "The Funnel Starter Kit",
priceLine: "Just $47",
priceWords: "less than one client call",
label: "Write my page copy",
note: "One payment · Lifetime access",
},
{
choice: "Already live",
title: "Already live? Check every step before your next launch.",
points: [
{ lead: "Catch the leaks.", text: "The Launch Checklist walks your links, forms and next steps." },
{ lead: "Fix the copy that stalls.", text: "Redraft your headline, offer and call to action with the Page Copy Workbook." },
],
offer: "The Funnel Starter Kit",
priceLine: "Just $47",
priceWords: "guide, workbook and checklist in one download",
label: "Check my funnel",
note: "30-day money-back guarantee",
},
];
// Theme notes: every colour is a token or an OKLCH recipe on a token. The only hex is the documented
// yellow marker default inside var(--marker, …). Shadows are dark and tinted from --shadow (via --shp-shadow),
// including the fallbacks inside var(--shadow-sm|lg, …). The path chooser options take the button radius role
// (--button-radius) so they match the buttons under any theme; the accent on the checked option marks the one
// chosen thing (a brand selection tint, not a status colour).
const CSS = `
.cf-start-here-paths{--shp-rail:clamp(52px,9vw,128px);--shp-rgap:clamp(12px,2.4vw,32px);--shp-gap:clamp(16px,2.4vw,24px);--shp-marker:color-mix(in oklch,var(--marker,#fae37c) 80%,transparent);--shp-shadow:var(--shadow,oklch(0.22 0.03 260));position:relative;isolation:isolate;overflow:hidden;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cf-start-here-paths *,.cf-start-here-paths *::before,.cf-start-here-paths *::after{box-sizing:border-box}
.cf-start-here-paths .shp-wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-start-here-paths .shp-intro{max-width:46rem}
.cf-start-here-paths .shp-h2{margin:0 0 16px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--ink);text-wrap:balance}
.cf-start-here-paths .shp-mark{padding:0 .1em;margin:0 -.04em;border-radius:.2em .35em .25em .3em;background:linear-gradient(176deg,transparent 0 50%,var(--shp-marker) 50% 93%,transparent 93%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-start-here-paths .shp-lead{margin:0;max-width:60ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths .shp-choose{margin-top:32px}
.cf-start-here-paths .shp-choose-label{margin:0 0 12px;font-size:.9375rem;line-height:1.4;font-weight:700;color:var(--ink)}
.cf-start-here-paths .shp-seg{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;padding:4px;border-radius:calc(var(--button-radius,var(--radius,12px)) + 4px);background:color-mix(in oklch,var(--ink) 6%,var(--surface));border:1px solid oklch(from var(--ink) l c h / .08)}
.cf-start-here-paths .shp-opt{appearance:none;border:0;margin:0;min-height:48px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--button-radius,var(--radius,12px));background:transparent;color:var(--ink);font-family:var(--font-body);font-size:.9375rem;line-height:1.2;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .16s ease,box-shadow .16s ease}
.cf-start-here-paths .shp-opt:hover{background:color-mix(in oklch,var(--ink) 11%,var(--surface))}
.cf-start-here-paths .shp-opt[aria-checked="true"]{background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 2px color-mix(in oklch,var(--accent) 60%,var(--card)),var(--shadow-sm,0 1px 2px oklch(from var(--shp-shadow) l c h / .2))}
.cf-start-here-paths .shp-opt-n{font-family:var(--font-display);font-weight:var(--display-weight,800);font-variant-numeric:tabular-nums;color:var(--muted)}
.cf-start-here-paths .shp-opt[aria-checked="true"] .shp-opt-n{color:var(--accent)}
.cf-start-here-paths .shp-opt:focus-visible,.cf-start-here-paths .shp-btn:focus-visible,.cf-start-here-paths .shp-link:focus-visible{outline:3px solid oklch(from var(--field-focus,var(--accent)) l c h / .55);outline-offset:3px}
.cf-start-here-paths .shp-rows{list-style:none;margin:clamp(32px,4vw,48px) 0 0;padding:0;display:grid;gap:var(--shp-gap)}
.cf-start-here-paths .shp-row{display:grid;grid-template-columns:var(--shp-rail) minmax(0,1fr);column-gap:var(--shp-rgap);animation:shp-in .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0s)}
.cf-start-here-paths .shp-rail{display:flex;flex-direction:column;align-items:center;min-width:0;padding-top:8px}
.cf-start-here-paths .shp-num{display:block;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(3.5rem,6.4vw,6rem);line-height:.9;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--muted);transition:color .16s ease}
.cf-start-here-paths .shp-row.is-done .shp-num{color:var(--ink)}
.cf-start-here-paths .shp-row.is-on .shp-num{color:var(--accent);animation:shp-pop .3s cubic-bezier(.2,.7,.2,1) both}
.cf-start-here-paths .shp-here{margin-top:12px;font-size:.875rem;line-height:1.2;font-weight:800;color:var(--accent);white-space:nowrap;animation:shp-pop .3s cubic-bezier(.2,.7,.2,1) both}
.cf-start-here-paths .shp-line{position:relative;flex:1 1 auto;width:3px;min-height:32px;margin:16px 0 calc(-1 * var(--shp-gap));border-radius:3px;overflow:hidden;background:oklch(from var(--ink) l c h / .14)}
.cf-start-here-paths .shp-fill{position:absolute;inset:0;background:var(--accent-fill,var(--accent));transform:scaleY(0);transform-origin:top;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.cf-start-here-paths .shp-row.is-done .shp-fill{transform:scaleY(1)}
.cf-start-here-paths .shp-card{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.82fr);grid-template-rows:auto 1fr;grid-template-areas:"head media" "body media";column-gap:clamp(24px,4vw,48px);align-items:start;padding:clamp(20px,3vw,32px);background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--shadow-sm,0 1px 2px oklch(from var(--shp-shadow) l c h / .2));cursor:pointer;transition:box-shadow .16s ease,border-color .16s ease}
.cf-start-here-paths .shp-card.no-media{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "body"}
.cf-start-here-paths .shp-row:not(.is-on) .shp-card:hover{border-color:oklch(from var(--ink) l c h / .26)}
.cf-start-here-paths .shp-row.is-on .shp-card{cursor:default;border-color:color-mix(in oklch,var(--accent) 55%,var(--card));box-shadow:inset 0 0 0 1px color-mix(in oklch,var(--accent) 55%,var(--card)),var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(from var(--shp-shadow) l c h / .22),0 12px 24px -8px oklch(from var(--shp-shadow) l c h / .32)))}
.cf-start-here-paths .shp-head{grid-area:head;min-width:0}
.cf-start-here-paths .shp-tag{display:none;align-items:center;gap:12px;margin:0 0 12px}
.cf-start-here-paths .shp-tag-n{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:2.5rem;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--muted)}
.cf-start-here-paths .shp-row.is-on .shp-tag-n{color:var(--accent);animation:shp-pop .3s cubic-bezier(.2,.7,.2,1) both}
.cf-start-here-paths .shp-tag-choice{font-size:.9375rem;line-height:1.2;font-weight:800;color:var(--ink)}
.cf-start-here-paths .shp-flag{margin-left:auto;display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border-radius:999px;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));font-size:.875rem;line-height:1.2;font-weight:800;white-space:nowrap;animation:shp-pop .3s cubic-bezier(.2,.7,.2,1) both}
.cf-start-here-paths .shp-h3{margin:0 0 16px;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.cf-start-here-paths .shp-media{grid-area:media;margin:0;min-width:0}
.cf-start-here-paths .shp-media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 35%;border-radius:12px}
.cf-start-here-paths .shp-body{grid-area:body;min-width:0}
.cf-start-here-paths .shp-p{margin:0 0 12px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-start-here-paths .shp-p strong{font-weight:800}
.cf-start-here-paths .shp-offer{margin:24px 0 0;display:grid;gap:4px}
.cf-start-here-paths .shp-offer-name{font-size:.9375rem;line-height:1.4;font-weight:800;color:var(--muted)}
.cf-start-here-paths .shp-price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.cf-start-here-paths .shp-price{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.cf-start-here-paths .shp-words{font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths .shp-act{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.cf-start-here-paths .shp-note{font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths .shp-btn{--shp-bg:var(--button-bg,var(--cta));--shp-bg2:var(--button-bg-2,var(--cta-2));appearance:none;margin:0;border:0;display:inline-flex;align-items:center;justify-content:center;min-height:64px;padding:0 28px;border-radius:var(--button-radius,var(--radius,12px));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-align:center;text-decoration:none;text-wrap:balance;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-start-here-paths .shp-btn.is-primary{color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--shp-bg) calc(l + .04) c h),oklch(from var(--shp-bg2) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--shp-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--shp-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--shp-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--shp-shadow) l c h / .45))}
.cf-start-here-paths .shp-btn.is-primary:hover,.cf-start-here-paths .shp-btn.is-primary.is-hover{background:linear-gradient(oklch(from var(--shp-bg) calc(l - .01) c h),oklch(from var(--shp-bg2) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--shp-bg) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--shp-bg) calc(l - .2) c h),0 1px 2px oklch(from var(--shp-shadow) l c h / .34),0 10px 18px -6px oklch(from var(--shp-shadow) l c h / .55))}
.cf-start-here-paths .shp-btn.is-primary:active,.cf-start-here-paths .shp-btn.is-primary.is-press{transform:translateY(1px);background:linear-gradient(oklch(from var(--shp-bg) calc(l - .04) c h),oklch(from var(--shp-bg2) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--shp-bg) calc(l - .24) c h / .55),inset 0 -2px 0 oklch(from var(--shp-bg) calc(l - .16) c h),0 1px 1px oklch(from var(--shp-shadow) l c h / .3)}
.cf-start-here-paths .shp-btn.is-quiet{color:var(--button-2-ink,var(--secondary-ink));background:var(--button-2-bg,var(--secondary));border:1px solid var(--button-2-border,transparent);box-shadow:var(--button-2-shadow,var(--shadow-sm))}
.cf-start-here-paths .shp-btn.is-quiet:hover{background:oklch(from var(--button-2-bg,var(--secondary)) calc(l - .04) c h)}
.cf-start-here-paths .shp-btn.is-quiet:active{transform:translateY(1px);box-shadow:none}
.cf-start-here-paths .shp-btn:disabled,.cf-start-here-paths .shp-btn:disabled:hover,.cf-start-here-paths .shp-btn:disabled:active{transform:none;cursor:not-allowed;background:var(--secondary);color:color-mix(in oklch,var(--secondary-ink) 70%,var(--secondary));border-color:transparent;text-shadow:none;box-shadow:none}
.cf-start-here-paths .shp-unsure{margin:24px 0 0;padding-left:calc(var(--shp-rail) + var(--shp-rgap));font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths .shp-link{appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;font-weight:700;color:var(--link,var(--accent));text-decoration:underline;text-decoration-color:oklch(from var(--link,var(--accent)) l c h / .45);text-underline-offset:.18em;cursor:pointer;border-radius:4px}
.cf-start-here-paths .shp-link:hover{color:oklch(from var(--link,var(--accent)) calc(l - .08) c h);text-decoration-color:currentColor}
@keyframes shp-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes shp-pop{from{transform:scale(.9)}to{transform:scale(1)}}
@media (max-width:999px){
.cf-start-here-paths .shp-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"head" "media" "body";row-gap:16px}
.cf-start-here-paths .shp-card.no-media{grid-template-areas:"head" "body"}
.cf-start-here-paths .shp-h3{margin-bottom:0}
.cf-start-here-paths .shp-media img{aspect-ratio:16/9}
}
@media (max-width:719px){
.cf-start-here-paths .shp-row{grid-template-columns:minmax(0,1fr)}
.cf-start-here-paths .shp-rail{display:none}
.cf-start-here-paths .shp-tag{display:flex}
.cf-start-here-paths .shp-seg{display:grid;width:100%}
.cf-start-here-paths .shp-opt{padding:0 6px;font-size:.875rem}
.cf-start-here-paths .shp-opt-n{display:none}
.cf-start-here-paths .shp-act{flex-direction:column;align-items:stretch;text-align:center}
.cf-start-here-paths .shp-btn{width:100%;padding:0 20px}
.cf-start-here-paths .shp-unsure{padding-left:0;text-align:center}
}
@media (prefers-reduced-motion:reduce){
.cf-start-here-paths *,.cf-start-here-paths *::before,.cf-start-here-paths *::after{animation:none !important;transition:none !important}
}
`;
pieces/content/start-here-paths/specimen.tsx 80 lines
import __studioImagef8fb2fbb from "../assets/99a5b346b1829ab3.webp";
import __studioImagea833395e from "../assets/40f5d4be47c7beef.webp";
import __studioImagef8ea6d3a from "../assets/85a33909c650065e.webp";
import StartHerePaths from "../start-here-paths";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
type SpecimenState = "default" | "hover" | "active" | "disabled";
export default function StartHerePathsSpecimen({ state = "default" }: { state?: SpecimenState }) {
const s = defaults.sample;
const [guide, workbook, checklist] = s.items;
return (
<StartHerePaths
state={state}
defaultPath={1}
headline="Start here. Pick the path that fits where you are today."
highlight="where you are today"
lead="Three stages, three paths. Choose the one that sounds like you and go straight to the free workshop or the kit built for it."
paths={[
{
choice: "Brand new",
title: "Brand new? Map your first funnel in one free workshop.",
points: [
{ lead: "No funnel yet?", text: "Start with your offer and the few pages you actually need." },
{ lead: "Watch it free.", text: `The ${s.registration.name} walks you through it, on demand.` },
],
offer: s.registration.name,
priceLine: "Free",
priceWords: "the full workshop, on demand",
label: "Start planning my funnel",
note: s.registration.privacy,
image: slot(
"item-1",
__studioImagef8fb2fbb
),
imageAlt: "A woman sketching her first funnel in a notebook at her kitchen table",
},
{
choice: "Growing",
title: "Have an offer? Turn it into pages that sell.",
points: [
{ lead: "Plan it on paper.", text: `The ${guide.name} maps your offer and every page.` },
{ lead: "Write it in one sitting.", text: `The ${workbook.name} drafts your headline, offer and call to action.` },
],
offer: s.name,
priceLine: `Just ${s.price}`,
priceWords: "less than one client call",
label: "Write my page copy",
note: s.note,
image: slot(
"item-2",
__studioImagea833395e
),
imageAlt: "A man writing his page copy at his desk with a workbook open beside him",
},
{
choice: "Already live",
title: "Already live? Check every step before your next launch.",
points: [
{ lead: "Catch the leaks.", text: `The ${checklist.name} walks your links, forms and next steps.` },
{ lead: "Fix the copy that stalls.", text: `Redraft your headline, offer and call to action with the ${workbook.name}.` },
],
offer: s.name,
priceLine: `Just ${s.price}`,
priceWords: "guide, workbook and checklist in one download",
label: "Check my funnel",
note: s.guarantee.charAt(0).toUpperCase() + s.guarantee.slice(1),
image: slot(
"item-3",
__studioImagef8ea6d3a
),
imageAlt: "A business owner ticking off a launch checklist at her desk",
},
]}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalStartHerePaths |
string |
|
highlight OptionalStartHerePaths |
string |
|
lead OptionalStartHerePaths |
string |
|
chooserLabel OptionalStartHerePaths |
string |
|
paths OptionalStartHerePaths |
StartHerePath[] |
|
defaultPath OptionalStartHerePaths |
number |
|
unsureText OptionalStartHerePaths |
string |
|
unsureAction OptionalStartHerePaths |
string |
|
onAction OptionalStartHerePaths |
(path: StartHerePath, index: number) => void |
|
onSelect OptionalStartHerePaths |
(path: StartHerePath, index: number) => void |
|
copy OptionalStartHerePaths |
{ here?: string } |
|
state OptionalStartHerePaths |
"default" | "hover" | "active" | "disabled" |
|
className OptionalStartHerePaths |
string |
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.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-border--button-2-ink--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-3- One image per offer item (item-1, item-2…), shown in stacks and lists.
-
40f5d4be47c7beef.webp
image/webp · 69.1 KB
-
85a33909c650065e.webp
image/webp · 115 KB
-
99a5b346b1829ab3.webp
image/webp · 118 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB