Start Here Paths 2
Start here, the photo doors: three tall photo panels, one per reader type, so every visitor spots the path built for people like them and takes its one action.
Use it in a prompt
Use content/start-here-paths-2 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-2.tsx. - Import it and pass your copy and images (Props tab):
import { StartHerePaths2 } from "@/components/funneldna/content/start-here-paths-2"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/start-here-paths-2/component.tsx 292 lines
// layout: scroll-panels
// Start here, the photo doors: three tall photo panels, one per reader type, so every visitor spots the path built for people like them and takes its one action.
// Hovering or focusing a door widens it and dims the others, so the visitor's own world steps forward.
import * as React from "react";
import { ShieldCheck } from "lucide-react";
import { Pattern, Spot, FX_HOST } from "../fx/fx";
import community from "../fx/spots/community";
export type StartHereDoor = {
/** Path name, set as the door's heading */
name: string;
/** Bold identity lead-in before the promise, e.g. "New parents:" */
who?: string;
/** One promise line */
promise: string;
/** Price, e.g. "$47" */
price?: string;
/** Words beside the price, e.g. "first month" */
priceTerm?: string;
/** Supplied breakdown under the price, e.g. "about $1.57 a day" */
perDay?: string;
/** Button label, risk reversal first, e.g. "Try 30 days · $47" */
label: string;
href?: string;
/** Photo of this reader's world (slot item-n) */
image?: string;
imageAlt?: string;
/** CSS object-position for the photo, e.g. "50% 30%" */
imagePosition?: string;
};
export type StartHerePaths2Props = {
headline?: string;
/** Phrase inside the headline that gets the marker stroke */
highlight?: string;
lead?: string;
/** Accessible name for the list of doors */
doorsLabel?: string;
paths?: StartHereDoor[];
/** One closing line under the doors */
closing?: React.ReactNode;
/** Shows a shield before the closing line (use only with a real guarantee) */
closingIcon?: "shield" | "none";
/** Called with the path and its index when its button is clicked */
onAction?: (path: StartHereDoor, index: number) => void;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
const DEFAULT_PATHS: StartHereDoor[] = [
{
name: "Back to Strong",
who: "New parents:",
promise: "short sessions built around your new schedule.",
label: "Start this path",
},
{
name: "Weekend Ready",
who: "Weekend athletes:",
promise: "train during the week so Saturday never costs you Monday.",
label: "Start this path",
},
{
name: "Strong for Life",
who: "Active retirees:",
promise: "balance and strength for the walks and trips you have planned.",
label: "Start this path",
},
];
export function StartHerePaths2(props: StartHerePaths2Props) {
const {
headline = "Find the path built for people like you",
highlight = "people like you",
lead = "Three paths, three kinds of week. Pick the photo that looks like yours and start there.",
doorsLabel = "Choose your path",
paths = DEFAULT_PATHS,
closing = "Not sure? Pick the photo that looks most like your week.",
closingIcon = "none",
onAction,
state = "default",
className,
} = props;
const uid = React.useId();
const [hot, setHot] = React.useState<number | null>(null);
const count = paths.length;
if (count === 0) return null;
const forced = state === "hover" || state === "active" ? Math.min(1, count - 1) : null;
const open = forced ?? hot;
const disabled = state === "disabled";
const [before, marked, after] = splitHighlight(headline, highlight);
return (
<section
className={["cf-start-here-paths-2", className].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={`${uid}-h`}
>
<style>{CSS}</style>
<div className="sp2-fx" aria-hidden="true">
<Pattern name="rings" fade="corner" />
</div>
<div className="sp2-wrap">
<header className="sp2-head">
<h2 id={`${uid}-h`} className="sp2-h2">
{before}
{marked ? <span className="sp2-mark">{marked}</span> : null}
{after}
</h2>
{lead ? <p className="sp2-lead">{lead}</p> : null}
</header>
<ul
className={`sp2-doors${open !== null ? " has-open" : ""}`}
aria-label={doorsLabel}
onPointerLeave={() => setHot(null)}
>
{paths.map((p, i) => {
const isOpen = open === i;
const nameId = `${uid}-n${i}`;
const btnClass = [
"sp2-btn",
forced === i && state === "hover" ? "is-hover" : "",
forced === i && state === "active" ? "is-press" : "",
]
.filter(Boolean)
.join(" ");
const handle = () => onAction?.(p, i);
return (
<li
key={i}
className={`sp2-door${isOpen ? " is-open" : ""}`}
style={{ "--d": `${Math.min(i * 0.07, 0.28)}s` } as React.CSSProperties}
onPointerEnter={(e) => {
if (e.pointerType === "mouse") setHot(i);
}}
onFocus={() => setHot(i)}
onBlur={(e) => {
if (!e.currentTarget.contains(e.relatedTarget as Node | null)) {
setHot((h) => (h === i ? null : h));
}
}}
>
<div className={`sp2-photo${p.image ? "" : " is-empty"}`}>
{p.image ? (
<img
src={p.image}
alt={p.imageAlt ?? ""}
loading="lazy"
decoding="async"
width={640}
height={900}
style={{ objectPosition: p.imagePosition ?? "50% 30%" }}
/>
) : (
<Spot src={community} size={96} />
)}
</div>
<div className="sp2-body">
<h3 id={nameId} className="sp2-name">
{p.name}
</h3>
<p className="sp2-promise">
{p.who ? <strong>{p.who}</strong> : null}
{p.who ? " " : null}
{p.promise}
</p>
<div className="sp2-buy">
{p.price || p.perDay ? (
<div className="sp2-price">
{p.price ? <span className="sp2-amt">{p.price}</span> : null}
{(p.price && p.priceTerm) || p.perDay ? (
<span className="sp2-terms">
{p.price && p.priceTerm ? <span className="sp2-term">{p.priceTerm}</span> : null}
{p.perDay ? <span className="sp2-perday">{p.perDay}</span> : null}
</span>
) : null}
</div>
) : null}
{p.href && !disabled ? (
<a className={btnClass} href={p.href} aria-describedby={nameId} onClick={handle}>
{p.label}
</a>
) : (
<button
type="button"
className={btnClass}
disabled={disabled}
aria-describedby={nameId}
onClick={handle}
>
{p.label}
</button>
)}
</div>
</div>
</li>
);
})}
</ul>
{closing ? (
<p className="sp2-close">
{closingIcon === "shield" ? <ShieldCheck size={18} strokeWidth={2.5} aria-hidden="true" /> : null}
{closing}
</p>
) : null}
</div>
</section>
);
}
export default StartHerePaths2;
function splitHighlight(text: string, phrase?: string): [string, string, string] {
if (!phrase) return [text, "", ""];
const at = text.indexOf(phrase);
if (at < 0) return [text, "", ""];
return [text.slice(0, at), phrase, text.slice(at + phrase.length)];
}
const CSS = `
.cf-start-here-paths-2{--sp2-sh:var(--shadow, oklch(0.22 0.03 260));--sp2-ease:cubic-bezier(.2,.7,.2,1);position:relative;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-2 *,.cf-start-here-paths-2 *::before,.cf-start-here-paths-2 *::after{box-sizing:border-box}
.cf-start-here-paths-2 .sp2-fx{position:absolute;inset:0;z-index:0;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 40% 58% at 100% 0%,black 30%,transparent 100%);mask-image:radial-gradient(ellipse 40% 58% at 100% 0%,black 30%,transparent 100%)}
.cf-start-here-paths-2 .sp2-wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-start-here-paths-2 .sp2-head{text-align:center;max-width:46rem;margin:0 auto clamp(32px,4.5vw,48px)}
.cf-start-here-paths-2 .sp2-h2{margin:0;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-2 .sp2-mark{color:var(--ink);background-image:linear-gradient(var(--marker,#fae37c),var(--marker,#fae37c));background-repeat:no-repeat;background-size:100% .62em;background-position:0 88%;padding:0 .08em;margin:0 -.04em;border-radius:.18em .4em .26em .34em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-start-here-paths-2 .sp2-lead{margin:16px auto 0;max-width:40rem;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-2 .sp2-doors{list-style:none;margin:0;padding:0;display:flex;gap:24px;align-items:stretch}
.cf-start-here-paths-2 .sp2-door{flex:1 1 0;min-width:0;display:flex;flex-direction:column;padding:10px;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(--card-shadow,var(--shadow-md, 0 1px 2px oklch(from var(--sp2-sh) l c h / .22), 0 4px 10px -2px oklch(from var(--sp2-sh) l c h / .2)));transition:flex-grow .45s var(--sp2-ease),box-shadow .16s ease,transform .16s ease,border-color .16s ease;animation:sp2-rise .45s var(--sp2-ease) backwards;animation-delay:var(--d,0s)}
.cf-start-here-paths-2 .sp2-door.is-open{transform:translateY(-4px);border-color:oklch(from var(--accent) l c h / .5);box-shadow:var(--shadow-lg, 0 2px 4px oklch(from var(--sp2-sh) l c h / .22), 0 12px 24px -8px oklch(from var(--sp2-sh) l c h / .32))}
.cf-start-here-paths-2 .sp2-doors.has-open .sp2-door:not(.is-open){box-shadow:var(--shadow-sm, 0 1px 1px oklch(from var(--sp2-sh) l c h / .18), 0 1px 3px oklch(from var(--sp2-sh) l c h / .14))}
.cf-start-here-paths-2 .sp2-photo{position:relative;overflow:hidden;height:clamp(300px,30vw,440px);border-radius:calc(var(--card-radius,var(--radius,14px)) - 4px);background:color-mix(in oklch,var(--ink) 5%,var(--card))}
.cf-start-here-paths-2 .sp2-photo::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px oklch(from var(--ink) l c h / .08);pointer-events:none}
.cf-start-here-paths-2 .sp2-photo.is-empty{display:grid;place-items:center}
.cf-start-here-paths-2 .sp2-photo img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.001);transition:transform .6s var(--sp2-ease),filter .3s ease}
.cf-start-here-paths-2 .sp2-door.is-open .sp2-photo img{transform:scale(1.04)}
.cf-start-here-paths-2 .sp2-doors.has-open .sp2-door:not(.is-open) .sp2-photo img{filter:saturate(.7) brightness(.84)}
.cf-start-here-paths-2 .sp2-body{display:flex;flex-direction:column;flex:1;padding:20px 14px 14px}
.cf-start-here-paths-2 .sp2-name{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;color:var(--ink);text-wrap:balance}
.cf-start-here-paths-2 .sp2-promise{margin:12px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths-2 .sp2-promise strong{color:var(--ink);font-weight:700}
.cf-start-here-paths-2 .sp2-buy{margin-top:auto;padding-top:24px}
.cf-start-here-paths-2 .sp2-price{display:flex;align-items:center;gap:16px;padding:14px 16px;border-radius:10px;background:color-mix(in oklch,var(--ink) 4%,var(--card))}
.cf-start-here-paths-2 .sp2-amt{flex:0 0 auto;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.cf-start-here-paths-2 .sp2-terms{display:flex;flex-direction:column;gap:4px;min-width:0}
.cf-start-here-paths-2 .sp2-term{font-size:.9375rem;line-height:1.3;font-weight:700;color:var(--ink);text-wrap:pretty}
.cf-start-here-paths-2 .sp2-perday{font-size:.9375rem;line-height:1.3;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths-2 .sp2-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;margin-top:16px;padding:0 20px;border:0;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-wrap:balance;text-decoration:none;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .02) c h));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .14) c h / .7), inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h), 0 1px 2px oklch(from var(--sp2-sh) l c h / .3), 0 8px 16px -6px oklch(from var(--sp2-sh) l c h / .35));cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-start-here-paths-2 .sp2-btn:hover:not(:disabled),.cf-start-here-paths-2 .sp2-btn.is-hover{background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));box-shadow:inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .2) c h),0 1px 2px oklch(from var(--sp2-sh) l c h / .34),0 10px 18px -6px oklch(from var(--sp2-sh) l c h / .42)}
.cf-start-here-paths-2 .sp2-btn:active:not(:disabled),.cf-start-here-paths-2 .sp2-btn.is-press{transform:translateY(1px);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .06) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - .22) c h / .45),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .18) c h),0 1px 2px oklch(from var(--sp2-sh) l c h / .3)}
.cf-start-here-paths-2 .sp2-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-start-here-paths-2 .sp2-btn:disabled{cursor:not-allowed;color:var(--button-2-ink,var(--secondary-ink));text-shadow:none;background:var(--button-2-bg,var(--secondary));box-shadow:var(--button-2-shadow,var(--shadow-sm));transform:none}
.cf-start-here-paths-2 .sp2-close{margin:clamp(32px,4vw,48px) auto 0;max-width:46rem;text-align:center;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-start-here-paths-2 .sp2-close strong{color:var(--ink);font-weight:700}
.cf-start-here-paths-2 .sp2-close svg{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em;color:var(--success)}
@keyframes sp2-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (min-width:1200px){
.cf-start-here-paths-2 .sp2-door.is-open{flex-grow:1.3}
}
@media (max-width:1079px){
.cf-start-here-paths-2 .sp2-doors{flex-direction:column;gap:16px}
.cf-start-here-paths-2 .sp2-door{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:stretch}
.cf-start-here-paths-2 .sp2-door.is-open{transform:none}
.cf-start-here-paths-2 .sp2-photo{height:auto;min-height:260px}
.cf-start-here-paths-2 .sp2-body{padding:16px 14px 14px 24px}
}
@media (max-width:639px){
.cf-start-here-paths-2 .sp2-fx{display:none}
.cf-start-here-paths-2 .sp2-door{display:flex;flex-direction:column;padding:8px}
.cf-start-here-paths-2 .sp2-photo{height:auto;aspect-ratio:16/11;min-height:0}
.cf-start-here-paths-2 .sp2-body{padding:16px 10px 10px}
.cf-start-here-paths-2 .sp2-buy{padding-top:20px}
}
@media (prefers-reduced-motion:reduce){
.cf-start-here-paths-2 .sp2-door,.cf-start-here-paths-2 .sp2-photo img,.cf-start-here-paths-2 .sp2-btn{transition:none;animation:none}
.cf-start-here-paths-2 .sp2-door.is-open{flex-grow:1;transform:none}
.cf-start-here-paths-2 .sp2-door.is-open .sp2-photo img{transform:none}
.cf-start-here-paths-2 .sp2-btn:active:not(:disabled),.cf-start-here-paths-2 .sp2-btn.is-press{transform:none}
}
`;
pieces/content/start-here-paths-2/specimen.tsx 77 lines
import __studioImage4452c2df from "../assets/f3ed3409e0b1fb82.webp";
import __studioImage396283ec from "../assets/2210b6c2fa686a61.webp";
import __studioImage5cfa1436 from "../assets/ecfdbf07fc7b3491.webp";
import * as React from "react";
import StartHerePaths2 from "../start-here-paths-2";
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 StartHerePaths2Specimen({ state = "default" }: { state?: SpecimenState }) {
const sample = defaults.sample;
const price = sample.price;
const shared = {
price,
priceTerm: "first month",
perDay: "about $1.57 a day",
label: `Try 30 days · ${price}`,
};
const paths = [
{
...shared,
name: "Nap-Time Strength",
who: "New parents:",
promise: "get your strength back in 30-minute classes, stroller parked beside your mat.",
image: slot(
"item-1",
__studioImage4452c2df
),
imageAlt: "A new mother squats on a mat beside her sleeping baby's stroller in a bright studio",
imagePosition: "50% 58%",
},
{
...shared,
name: "Weekend Ready",
who: "Weekend athletes:",
promise: "train mobility and power so Saturday's game never costs you Monday.",
image: slot(
"item-2",
__studioImage396283ec
),
imageAlt: "A man in running shoes swings a kettlebell in a bright studio by the river",
imagePosition: "50% 30%",
},
{
...shared,
name: "Strong for Life",
who: "Active retirees:",
promise: "build the balance and strength to keep up on the trail and with the grandkids.",
image: slot(
"item-3",
__studioImage5cfa1436
),
imageAlt: "A silver-haired woman balances on one leg holding light dumbbells in a bright studio",
imagePosition: "50% 36%",
},
];
return (
<StartHerePaths2
headline="Find the class built for people like you"
highlight="people like you"
lead="Three ways into Riverside Movement. Pick the photo that looks like your week and start there."
doorsLabel="Riverside Movement paths"
paths={paths}
closing={
<>
Every path is backed by our <strong>{sample.guarantee}</strong>. Not your fit? Ask for your money back.
</>
}
closingIcon="shield"
state={state}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalStartHerePaths2 |
string |
|
highlight OptionalStartHerePaths2 |
string |
|
lead OptionalStartHerePaths2 |
string |
|
doorsLabel OptionalStartHerePaths2 |
string |
|
paths OptionalStartHerePaths2 |
StartHereDoor[] |
|
closing OptionalStartHerePaths2 |
React.ReactNode |
|
closingIcon OptionalStartHerePaths2 |
"shield" | "none" |
|
onAction OptionalStartHerePaths2 |
(path: StartHereDoor, index: number) => void |
|
state OptionalStartHerePaths2 |
"default" | "hover" | "active" | "disabled" |
|
className OptionalStartHerePaths2 |
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-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.
-
2210b6c2fa686a61.webp
image/webp · 51 KB
-
5602e47ebdb81810.webp
image/webp · 35.6 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
ecfdbf07fc7b3491.webp
image/webp · 44.4 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB
-
f3ed3409e0b1fb82.webp
image/webp · 46.6 KB