Cross Sell Bands 1
Cross-sell bands: after the thank-you, a stacked catalogue of next offers. Each band stages one product on a lit plinth with numbered reasons and its own button, so buyers take the next step while their trust is highest.
Use it in a prompt
Use checkout/cross-sell-bands 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/checkout/cross-sell-bands.tsx. - Import it and pass your copy and images (Props tab):
import { CrossSellBands } from "@/components/funneldna/checkout/cross-sell-bands"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/checkout/cross-sell-bands/component.tsx 253 lines
// layout: product-stage
// Cross-sell bands: after the thank-you, a stacked catalogue of next offers. Each band stages one product on a lit plinth with numbered reasons and its own button, so buyers take the next step while their trust is highest.
import * as React from "react";
import { motion, useReducedMotion } from "motion/react";
import { Glow, Pattern, Spot, FX_HOST } from "../fx/fx";
import play from "../fx/spots/play";
import book from "../fx/spots/book";
import calendar from "../fx/spots/calendar";
export type CrossSellTone = "light" | "tint" | "dark";
export type CrossSellOffer = {
title: React.ReactNode;
body: React.ReactNode;
// up to three short reasons, numbered beside the product stage
notes?: string[];
// one-line button label
label: string;
// one short reassurance line under the button
note?: string;
href?: string;
// product shot, transparent background works best (slot item-n)
image?: string;
imageAlt?: string;
// band treatment; defaults cycle tint, dark, light
tone?: CrossSellTone;
disabled?: boolean;
};
export type CrossSellBandsProps = {
heading?: React.ReactNode;
lead?: React.ReactNode;
// 2 to 5 bands, one per offer
offers?: CrossSellOffer[];
// accessible label for each band's numbered reasons
notesLabel?: string;
onAction?: (offer: CrossSellOffer, index: number) => void;
// previews a button state on the first band
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
const DEFAULT_OFFERS: CrossSellOffer[] = [
{
title: "Watch the training that goes with it",
body: "See the whole plan walked through step by step, then put it to work on your own project.",
notes: ["Pairs with what you just got", "Short, focused lessons", "Watch at your own pace"],
label: "Watch The Training",
},
{
title: "Go further with the companion toolkit",
body: "Templates and worksheets that pick up exactly where your order leaves off.",
notes: ["Ready-made templates", "Fill-in worksheets", "Use them right away"],
label: "See The Toolkit",
},
{
title: "Get one-on-one help with your next move",
body: "Book a session and work through your plan with someone who has done it before.",
notes: ["One-on-one video call", "Bring your questions", "Leave with a clear plan"],
label: "Book A Session",
},
];
const TONES: CrossSellTone[] = ["tint", "dark", "light"];
const FALLBACK_SPOTS = [play, book, calendar];
export function CrossSellBands({
heading = "Here’s your next step",
lead = "Pick the one that fits where you are today. Each one builds on what you just got.",
offers = DEFAULT_OFFERS,
notesLabel = "Reasons to choose this",
onAction,
state = "default",
className,
}: CrossSellBandsProps) {
const reduce = useReducedMotion();
const uid = React.useId().replace(/:/g, "");
const list = offers.slice(0, 5);
return (
<section
className={["cf-cross-sell-bands", className].filter(Boolean).join(" ")}
aria-labelledby={`${uid}-h`}
>
<style>{CSS}</style>
<div className="cf-csb-wrap">
<header className="cf-csb-head">
<h2 id={`${uid}-h`}>{heading}</h2>
{lead ? <p className="cf-csb-lead">{lead}</p> : null}
</header>
<div className="cf-csb-stack">
{list.map((offer, i) => {
const tone = offer.tone ?? TONES[i % TONES.length];
const dark = tone === "dark";
const titleId = `${uid}-t${i}`;
const preview = i === 0 && state !== "default" ? state : undefined;
const disabled = Boolean(offer.disabled) || preview === "disabled";
const notes = (offer.notes ?? []).slice(0, 3);
return (
<motion.article
key={i}
className="cf-csb-band"
data-tone={tone}
data-flip={i % 2 === 1 ? "" : undefined}
aria-labelledby={titleId}
initial={reduce ? false : { opacity: 0.82, y: 8 }}
whileInView={reduce ? undefined : { opacity: 1, y: 0 }}
viewport={{ once: true, amount: 0.15 }}
transition={{ duration: 0.45, ease: [0.2, 0.7, 0.2, 1] }}
>
<div className="cf-csb-copy">
<h3 id={titleId}>{offer.title}</h3>
<p className="cf-csb-body">{offer.body}</p>
</div>
<div className="cf-csb-stage" style={FX_HOST}>
{dark ? <Glow /> : <Pattern name="rings" fade="edges" />}
<span className="cf-csb-plinth" aria-hidden="true" />
<figure className="cf-csb-figure">
{offer.image ? (
<img src={offer.image} alt={offer.imageAlt ?? ""} loading="lazy" decoding="async" />
) : (
<Spot
src={FALLBACK_SPOTS[i % FALLBACK_SPOTS.length]}
size={176}
shade={dark ? "band" : "ink"}
light={dark ? "band-ink" : "card"}
/>
)}
</figure>
</div>
{notes.length ? (
<ol className="cf-csb-notes" aria-label={notesLabel}>
{notes.map((n, k) => (
<li key={k}>
<span className="cf-csb-num" aria-hidden="true">
{k + 1}
</span>
<span className="cf-csb-note-text">{n}</span>
</li>
))}
</ol>
) : null}
<div className="cf-csb-act">
{disabled ? (
<button type="button" className="cf-csb-btn" disabled>
{offer.label}
</button>
) : offer.href ? (
<a
className="cf-csb-btn"
href={offer.href}
data-state={preview}
onClick={onAction ? () => onAction(offer, i) : undefined}
>
{offer.label}
</a>
) : (
<button
type="button"
className="cf-csb-btn"
data-state={preview}
onClick={() => onAction?.(offer, i)}
>
{offer.label}
</button>
)}
{offer.note ? <p className="cf-csb-note">{offer.note}</p> : null}
</div>
</motion.article>
);
})}
</div>
</div>
</section>
);
}
export default CrossSellBands;
const CSS = `
.cf-cross-sell-bands{--csb-shadow:var(--shadow, oklch(0.22 0.03 260));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);overflow-x:clip}
.cf-cross-sell-bands *{box-sizing:border-box}
.cf-csb-wrap{max-width:1120px;margin:0 auto}
.cf-csb-head{max-width:46rem;margin:0 auto clamp(32px,4vw,48px);text-align:center}
.cf-csb-head 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;text-wrap:balance;color:var(--ink)}
.cf-csb-lead{margin:0;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-csb-stack{display:grid;gap:24px}
.cf-csb-band{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"head stage" "notes stage" "act stage";grid-template-rows:auto auto 1fr;column-gap:clamp(32px,5vw,72px);row-gap:24px;align-items:start;padding:clamp(24px,4.5vw,56px);border-radius:var(--card-radius,var(--radius,14px));color:var(--ink)}
.cf-csb-band[data-flip]{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"stage head" "stage notes" "stage act"}
.cf-csb-band[data-tone="light"]{background:var(--card);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));box-shadow:var(--card-shadow,var(--shadow-md))}
.cf-csb-band[data-tone="tint"]{background:color-mix(in oklch,var(--ink) 4%,var(--surface))}
.cf-csb-band[data-tone="dark"]{background:var(--band);color:var(--band-ink)}
.cf-csb-copy{grid-area:head;min-width:0}
.cf-csb-copy h3{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;text-wrap:balance;color:inherit}
.cf-csb-body{margin:0;max-width:60ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;text-wrap:pretty;color:inherit}
.cf-csb-stage{grid-area:stage;position:relative;width:100%;max-width:460px;aspect-ratio:1/1;justify-self:center;align-self:start;display:grid;place-items:center}
.cf-csb-plinth{position:absolute;z-index:1;left:12%;right:12%;bottom:7%;height:16%;border-radius:50%;background:oklch(from var(--ink) l c h / .07)}
.cf-csb-band[data-tone="dark"] .cf-csb-plinth{background:oklch(from var(--band-ink) l c h / .1)}
.cf-csb-plinth::after{content:"";position:absolute;left:22%;right:22%;top:28%;height:40%;border-radius:50%;background:radial-gradient(closest-side,oklch(from var(--csb-shadow) l c h / .38),oklch(from var(--csb-shadow) l c h / 0))}
.cf-csb-figure{position:relative;z-index:2;margin:0;width:80%;height:80%;display:grid;place-items:center;padding-bottom:6%}
.cf-csb-figure img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px oklch(from var(--csb-shadow) l c h / .3)) drop-shadow(0 14px 14px oklch(from var(--csb-shadow) l c h / .26));transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.cf-csb-notes{grid-area:notes;min-width:0;max-width:30rem;list-style:none;margin:0;padding:0}
.cf-csb-notes li{display:grid;grid-template-columns:2.25rem minmax(0,1fr);gap:12px;align-items:baseline;padding:16px 0;border-top:1px solid oklch(from var(--ink) l c h / .14)}
.cf-csb-notes li:first-child{border-top:0;padding-top:0}
.cf-csb-num{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1;letter-spacing:-0.01em;font-variant-numeric:tabular-nums;color:var(--accent)}
.cf-csb-note-text{font-size:1.0625rem;font-weight:600;line-height:1.35;text-wrap:pretty}
.cf-csb-band[data-tone="dark"] .cf-csb-notes li{border-top-color:oklch(from var(--band-ink) l c h / .2)}
.cf-csb-band[data-tone="dark"] .cf-csb-notes li:first-child{border-top:0}
.cf-csb-band[data-tone="dark"] .cf-csb-num{color:var(--band-ink)}
.cf-csb-act{grid-area:act;display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:26rem;min-width:0;padding-top:8px}
.cf-csb-act .cf-csb-btn{width:100%}
.cf-csb-note{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-align:center;text-wrap:pretty}
.cf-csb-band[data-tone="dark"] .cf-csb-note{color:var(--band-ink)}
.cf-csb-btn{--csb-bg:var(--button-bg,var(--cta));display:inline-flex;align-items:center;justify-content:center;min-height:64px;max-width:100%;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--csb-bg) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .02) c h));color:var(--button-ink,var(--cta-ink));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;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--csb-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--csb-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--csb-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--csb-shadow) l c h / .38));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-csb-btn[data-state="hover"]{background:linear-gradient(oklch(from var(--csb-bg) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--csb-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--csb-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--csb-shadow) l c h / .32),0 10px 18px -6px oklch(from var(--csb-shadow) l c h / .45))}
.cf-csb-btn:active,.cf-csb-btn[data-state="active"]{transform:translateY(1px);background:linear-gradient(oklch(from var(--csb-bg) calc(l - .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .08) c h));box-shadow:inset 0 2px 3px oklch(from var(--csb-bg) calc(l - .22) c h / .55),inset 0 -2px 0 oklch(from var(--csb-bg) calc(l - .16) c h),0 1px 1px oklch(from var(--csb-shadow) l c h / .3)}
.cf-csb-btn:focus-visible{outline:3px solid oklch(from var(--field-focus,var(--accent)) l c h / .6);outline-offset:3px}
.cf-csb-band[data-tone="dark"] .cf-csb-btn:focus-visible{outline-color:var(--band-ink)}
.cf-csb-btn:disabled{background:var(--button-2-bg,var(--secondary));color:var(--button-2-ink,var(--secondary-ink));box-shadow:var(--button-2-shadow,var(--shadow-sm));text-shadow:none;cursor:not-allowed;transform:none}
@media (hover:hover){
.cf-csb-btn:not(:disabled):hover{background:linear-gradient(oklch(from var(--csb-bg) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--csb-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--csb-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--csb-shadow) l c h / .32),0 10px 18px -6px oklch(from var(--csb-shadow) l c h / .45))}
.cf-csb-btn:not(:disabled):active{background:linear-gradient(oklch(from var(--csb-bg) calc(l - .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .08) c h));box-shadow:inset 0 2px 3px oklch(from var(--csb-bg) calc(l - .22) c h / .55),inset 0 -2px 0 oklch(from var(--csb-bg) calc(l - .16) c h),0 1px 1px oklch(from var(--csb-shadow) l c h / .3)}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
.cf-csb-band:hover .cf-csb-figure img{transform:translateY(-4px)}
}
@media (max-width:680px){
.cf-csb-band,.cf-csb-band[data-flip]{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "head" "notes" "act";grid-template-rows:auto;row-gap:24px}
.cf-csb-stage{max-width:300px}
.cf-csb-notes,.cf-csb-act{max-width:none}
}
@media (max-width:480px){
.cf-csb-band{padding:24px 20px 28px}
.cf-csb-btn{padding:12px 18px}
}
@media (prefers-reduced-motion:reduce){
.cf-csb-btn,.cf-csb-figure img{transition:none}
.cf-csb-btn:active,.cf-csb-btn[data-state="active"]{transform:none}
}
`;
pieces/checkout/cross-sell-bands/specimen.tsx 63 lines
import __studioImageefa0d243 from "../assets/c7d0e7f00b0c00fe.webp";
import __studioImage124955aa from "../assets/a49cd683ea552389.webp";
import __studioImagefe683e09 from "../assets/8e30abf8f22249ad.webp";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
import { CrossSellBands, type CrossSellBandsProps } from "../cross-sell-bands";
export const states = ["default", "hover", "active", "disabled"];
export default function CrossSellBandsSpecimen({ state = "default" }: { state?: CrossSellBandsProps["state"] }) {
const s = defaults.sample;
const r = s.registration;
return (
<CrossSellBands
state={state}
heading="Your kit is ready. Here’s your next step."
lead={`Pick what fits where you are today. Each one builds on ${s.name}.`}
offers={[
{
title: "Map out your first funnel, live on screen",
body: r.lead,
notes: ["Free on-demand workshop", "Bring your kit along", "Watch at your own pace"],
label: r.label,
note: r.sublabel,
href: "#workshop",
image: slot(
"item-1",
__studioImage124955aa
),
imageAlt: "Laptop showing a funnel diagram from the workshop",
},
{
title: "Fill in a headline instead of facing a blank page",
body: "The Headline Swipe File gives you fill-in-the-blank headline formulas for your opt-in, sales and order pages.",
notes: ["Sorted by page type", "Fill-in-the-blank formulas", "Printable and editable"],
label: "Get The Swipe File",
note: "Adds straight to your kit",
href: "#swipe-file",
image: slot(
"item-2",
__studioImageefa0d243
),
imageAlt: "Ring binder of headline templates with coloured tabs",
},
{
title: "Get a second pair of eyes on your funnel",
body: "Book a one-on-one Funnel Review and walk through your pages, offer and checkout with a coach before you launch.",
notes: ["60-minute video call", "Page-by-page walkthrough", "Written action list after"],
label: "Book My Funnel Review",
note: "Pick a time that suits you",
href: "#funnel-review",
image: slot(
"item-3",
__studioImagefe683e09
),
imageAlt: "Phone on a stand ready for a video call, beside a desk calendar",
},
]}
/>
);
}
| Name | Type | Details |
|---|---|---|
heading OptionalCrossSellBands |
React.ReactNode |
Default "Here’s your next step"
|
lead OptionalCrossSellBands |
React.ReactNode |
Default "Pick the one that fits where you are today. Each one builds on what you just got."
|
offers OptionalCrossSellBands |
CrossSellOffer[] |
Default DEFAULT_OFFERS
|
notesLabel OptionalCrossSellBands |
string |
Default "Reasons to choose this"
|
onAction OptionalCrossSellBands |
(offer: CrossSellOffer, index: number) => void |
|
state OptionalCrossSellBands |
"default" | "hover" | "active" | "disabled" |
Default "default"
|
className OptionalCrossSellBands |
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.
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.
-
321240b3188e2da4.webp
image/webp · 18.7 KB
-
839cc020060f63a3.webp
image/webp · 9.49 KB
-
8e30abf8f22249ad.webp
image/webp · 179 KB
-
a49cd683ea552389.webp
image/webp · 78.8 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
bc3d360c88eeac0e.webp
image/webp · 23.9 KB
-
c7d0e7f00b0c00fe.webp
image/webp · 19.1 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB