One Click Downsell 7
Second-chance offer after an upsell "no": a relieved, generous dark stage that re-opens the sale with a lighter kit, a dashed coupon carrying the saving and a one-click send.
Use it in a prompt
Use checkout/one-click-downsell-7 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/one-click-downsell-7.tsx. - Import it and pass your copy and images (Props tab):
import { OneClickDownsell7 } from "@/components/funneldna/checkout/one-click-downsell-7"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/checkout/one-click-downsell-7/component.tsx 437 lines
// layout: classic-centred-stack
// Second-chance offer after an upsell "no": a relieved, generous dark stage that re-opens the sale with a lighter kit, a dashed coupon carrying the saving and a one-click send.
"use client"
import * as React from "react"
import { AlertCircle, Check, Loader2 } from "lucide-react"
export type OneClickDownsell7Item = {
name: string
/** Item photo, used for a fanned stage when no productImage is supplied. */
image?: string
imageAlt?: string
}
export type OneClickDownsell7Props = {
/** Reassurance strip across the top of the band. */
notice?: string
headline?: string
/** Phrase inside the headline that warms to the metallic accent. */
highlight?: string
lead?: string
/** Slot "product": the kit on a transparent background, set on the stage. */
productImage?: string
productImageAlt?: string
/** What is inside the kit; names render as a checked line under the stage. */
items?: OneClickDownsell7Item[]
/** The saving the coupon carries, e.g. "$50 off". */
couponTitle?: string
couponNote?: string
priceLabel?: string
price?: string
priceNote?: string
ctaLabel?: string
ctaSublabel?: string
loadingLabel?: string
psLabel?: string
psText?: string
declineLabel?: string
declineHref?: string
errorMessage?: string
/** Accept destination; the button renders as a link when set. */
href?: string
/** Accept action. A returned promise shows loadingLabel; a rejection shows errorMessage. */
onAction?: () => void | Promise<void>
onDecline?: () => void
headingAs?: "h1" | "h2"
disabled?: boolean
state?: "default" | "hover" | "active" | "disabled" | "error"
className?: string
}
const DEFAULT_ITEMS: OneClickDownsell7Item[] = [
{ name: "Funnel Planning Guide" },
{ name: "Page Copy Workbook" },
{ name: "Launch Checklist" },
]
export function OneClickDownsell7({
notice = "Your order is saved. Nothing changes unless you say yes.",
headline = "No problem. Start with the essentials.",
highlight = "the essentials.",
lead = "How about The Funnel Starter Kit instead? Plan your funnel, write your page copy, and check every step before you launch.",
productImage,
productImageAlt = "The Funnel Starter Kit: planning guide, copy workbook and launch checklist",
items = DEFAULT_ITEMS,
couponTitle = "$50 off",
couponNote = "Regular value $97",
priceLabel = "Your price today",
price = "$47",
priceNote = "One payment · Lifetime access",
ctaLabel = "Yes! Send Me the Kit for $47",
ctaSublabel = "One click · Added to today’s order",
loadingLabel = "Adding the kit to your order…",
psLabel = "P.S.",
psText = "Your kit is covered by our 30-day money-back guarantee. If it isn’t right for you, just ask for a full refund.",
declineLabel = "No thanks, continue without the kit",
declineHref = "#decline",
errorMessage = "We couldn’t add the kit to your order. Please try again.",
href,
onAction,
onDecline,
headingAs = "h2",
disabled = false,
state = "default",
className,
}: OneClickDownsell7Props) {
const headingId = React.useId()
const errorId = React.useId()
const forcedError = state === "error"
const [status, setStatus] = React.useState<"idle" | "loading" | "error">(forcedError ? "error" : "idle")
// Image sources that failed to load: the stage never holds an empty frame for them.
const [broken, setBroken] = React.useState<ReadonlySet<string>>(() => new Set())
const alive = React.useRef(true)
React.useEffect(() => {
alive.current = true
return () => {
alive.current = false
}
}, [])
React.useEffect(() => {
setStatus(forcedError ? "error" : "idle")
}, [forcedError])
const markBroken = React.useCallback((src?: string) => {
if (!src) return
setBroken((prev) => {
if (prev.has(src)) return prev
const next = new Set(prev)
next.add(src)
return next
})
}, [])
const isDisabled = disabled || state === "disabled"
const loading = status === "loading"
const Heading = headingAs
const product = productImage && !broken.has(productImage) ? productImage : undefined
const fan = items.filter((item) => item.image && !broken.has(item.image)).slice(0, 3)
// The stage opens only when it has an image to show; otherwise it is not rendered at all.
const hasStage = Boolean(product) || fan.length > 0
async function run() {
if (!onAction) return
try {
const result = onAction()
if (result && typeof (result as Promise<void>).then === "function") {
setStatus("loading")
await result
if (alive.current) setStatus("idle")
} else {
setStatus("idle")
}
} catch {
if (alive.current) setStatus("error")
}
}
function handleButton() {
if (isDisabled || loading) return
void run()
}
function handleLink(event: React.MouseEvent<HTMLAnchorElement>) {
if (loading) {
event.preventDefault()
return
}
void run()
}
function handleDecline(event: React.MouseEvent<HTMLAnchorElement>) {
if (onDecline) {
event.preventDefault()
onDecline()
return
}
if (!declineHref || declineHref.startsWith("#")) event.preventDefault()
}
const ctaClass = ["ds7-cta", state === "hover" ? "is-hover" : "", state === "active" ? "is-active" : ""]
.filter(Boolean)
.join(" ")
const describedBy = status === "error" ? errorId : undefined
const ctaInner = loading ? (
<span className="ds7-cta-main">
<Loader2 className="ds7-spin" size={24} aria-hidden="true" />
<span>{loadingLabel}</span>
</span>
) : (
<>
<span className="ds7-cta-main">{ctaLabel}</span>
{ctaSublabel ? <span className="ds7-cta-sub">{ctaSublabel}</span> : null}
</>
)
return (
<section
className={["cf-one-click-downsell-7", className].filter(Boolean).join(" ")}
aria-labelledby={headingId}
>
<style>{CSS}</style>
{notice ? (
<p className="ds7-notice">
<span className="ds7-notice-icon" aria-hidden="true">
<Check size={15} strokeWidth={3.25} />
</span>
<span>{notice}</span>
</p>
) : null}
<div className="ds7-inner">
<Heading className="ds7-title" id={headingId}>
{splitHighlight(headline, highlight)}
</Heading>
{lead ? <p className="ds7-lead">{lead}</p> : null}
{hasStage ? (
<figure className="ds7-stage">
{product ? (
<img
key={product}
className="ds7-product"
src={product}
alt={productImageAlt}
width={720}
height={720}
loading="eager"
decoding="sync"
fetchPriority="high"
onError={() => markBroken(product)}
/>
) : (
<span className="ds7-fan">
{fan.map((item, i) => (
<img
key={item.name + i}
className={`ds7-fan-img ds7-fan-${i}`}
src={item.image}
alt={item.imageAlt ?? item.name}
width={480}
height={600}
loading="eager"
decoding="sync"
onError={() => markBroken(item.image)}
/>
))}
</span>
)}
</figure>
) : null}
{items.length ? (
<ul className="ds7-items">
{items.map((item, i) => (
<li key={item.name + i}>
<Check size={18} strokeWidth={3} aria-hidden="true" />
<span>{item.name}</span>
</li>
))}
</ul>
) : null}
<div className="ds7-deal">
{couponTitle ? (
<div className="ds7-coupon">
<span className="ds7-coupon-off">{couponTitle}</span>
{couponNote ? (
<>
<span className="ds7-coupon-rule" aria-hidden="true" />
<span className="ds7-coupon-note">{couponNote}</span>
</>
) : null}
</div>
) : null}
{priceLabel ? <p className="ds7-price-label">{priceLabel}</p> : null}
<p className="ds7-price">{price}</p>
{priceNote ? <p className="ds7-price-note">{priceNote}</p> : null}
</div>
<div className="ds7-action">
{href && !isDisabled ? (
<a
className={ctaClass}
href={href}
onClick={handleLink}
aria-busy={loading || undefined}
aria-describedby={describedBy}
>
{ctaInner}
</a>
) : (
<button
type="button"
className={ctaClass}
onClick={handleButton}
disabled={isDisabled}
aria-busy={loading || undefined}
aria-describedby={describedBy}
>
{ctaInner}
</button>
)}
{status === "error" ? (
<p className="ds7-error" id={errorId} role="alert">
<AlertCircle size={20} aria-hidden="true" />
<span>{errorMessage}</span>
</p>
) : null}
{psText ? (
<p className="ds7-ps">
<b>{psLabel}</b> {psText}
</p>
) : null}
{declineLabel ? (
<a className="ds7-decline" href={declineHref} onClick={handleDecline}>
{declineLabel}
</a>
) : null}
</div>
</div>
</section>
)
}
export default OneClickDownsell7
function splitHighlight(text: string, phrase?: string): React.ReactNode {
const at = phrase ? text.indexOf(phrase) : -1
if (!phrase || at < 0) return text
return (
<>
{text.slice(0, at)}
<span className="ds7-hl">{phrase}</span>
{text.slice(at + phrase.length)}
</>
)
}
// Every element is styled in its final, fully visible state. Entrance motion is layered on only under
// prefers-reduced-motion: no-preference, and its start frame stays visible, so no mode ever shows an empty band.
const CSS = `
.cf-one-click-downsell-7{
--ds7-ink:var(--band-ink, oklch(1 0 0));
--ds7-soft:color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 84%, var(--band, oklch(0.27 0.067 256)));
--ds7-quiet:color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 74%, var(--band, oklch(0.27 0.067 256)));
--ds7-gold:oklch(from color-mix(in oklch, var(--warning, oklch(0.5 0.1 85)) 55%, var(--band-ink, oklch(1 0 0))) l calc(c * 2.2) h);
--ds7-glass:oklch(from var(--band-ink, oklch(1 0 0)) l c h / 0.06);
--ds7-line:oklch(from var(--band-ink, oklch(1 0 0)) l c h / 0.18);
--ds7-shade:var(--shadow, oklch(0.22 0.03 256));
position:relative;
overflow-x:clip;
background:var(--band, oklch(0.27 0.067 256));
color:var(--ds7-ink);
font-family:var(--font-body, system-ui, sans-serif);
line-height:1.5;
}
.cf-one-click-downsell-7 *{box-sizing:border-box}
.cf-one-click-downsell-7 :where(h1,h2,p,ul,figure){margin:0}
.cf-one-click-downsell-7 .ds7-notice{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;background:color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 7%, var(--band, oklch(0.27 0.067 256)));border-bottom:1px solid var(--ds7-line);color:var(--ds7-ink);font-size:16px;font-weight:700;line-height:1.35;text-align:center;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-notice-icon{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--ds7-gold);color:var(--band, oklch(0.27 0.067 256))}
.cf-one-click-downsell-7 .ds7-inner{width:min(100% - 40px, 1080px);margin-inline:auto;padding-block:clamp(48px,7vw,92px) clamp(52px,7vw,96px);text-align:center}
.cf-one-click-downsell-7 .ds7-title{font-family:var(--font-display, inherit);font-weight:var(--display-weight, 800);text-transform:var(--display-case, none);letter-spacing:var(--display-tracking, -0.035em);font-size:clamp(2.4rem,6.4vw,5.6rem);line-height:1.02;color:var(--ds7-ink);text-wrap:balance}
.cf-one-click-downsell-7 .ds7-hl{color:var(--ds7-gold)}
.cf-one-click-downsell-7 .ds7-lead{max-width:50ch;margin:clamp(18px,2vw,26px) auto 0;color:var(--ds7-soft);font-size:clamp(1.125rem,1.8vw,1.4rem);font-weight:500;line-height:1.45;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-stage{position:relative;display:grid;place-items:center;width:min(100%,640px);height:auto;min-height:0;margin:clamp(28px,4vw,44px) auto 0;padding:0}
.cf-one-click-downsell-7 .ds7-stage:empty{display:none}
.cf-one-click-downsell-7 .ds7-product{position:relative;z-index:1;display:block;width:auto;max-width:100%;height:auto;max-height:360px;object-fit:contain;object-position:center bottom;opacity:1;translate:none;filter:drop-shadow(0 2px 2px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.5)) drop-shadow(0 16px 14px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.45))}
.cf-one-click-downsell-7 .ds7-fan{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-end;padding:0 8% 6px}
.cf-one-click-downsell-7 .ds7-fan:empty{display:none}
.cf-one-click-downsell-7 .ds7-fan-img{display:block;width:clamp(104px,26vw,190px);height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:12px;opacity:1;translate:none;filter:drop-shadow(0 2px 2px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.5)) drop-shadow(0 12px 12px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.45))}
.cf-one-click-downsell-7 .ds7-fan-img + .ds7-fan-img{margin-left:-6%}
.cf-one-click-downsell-7 .ds7-fan-0{rotate:-7deg;transform:translateY(6px)}
.cf-one-click-downsell-7 .ds7-fan-1{position:relative;z-index:2;transform:translateY(-6px)}
.cf-one-click-downsell-7 .ds7-fan-2{rotate:7deg;transform:translateY(6px)}
.cf-one-click-downsell-7 .ds7-items{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin-top:22px;padding:0;list-style:none}
.cf-one-click-downsell-7 .ds7-items li{display:inline-flex;align-items:center;gap:8px;color:var(--ds7-ink);font-size:16px;font-weight:600;line-height:1.35}
.cf-one-click-downsell-7 .ds7-items svg{flex:none;color:var(--ds7-gold)}
.cf-one-click-downsell-7 .ds7-deal{display:flex;flex-direction:column;align-items:center;margin-top:clamp(36px,4.5vw,52px)}
.cf-one-click-downsell-7 .ds7-coupon{position:relative;display:inline-flex;align-items:center;gap:18px;max-width:100%;padding:16px 26px;border:2px dashed var(--ds7-gold);border-radius:calc(var(--radius, 12px) * 0.75);background:var(--ds7-glass)}
.cf-one-click-downsell-7 .ds7-coupon-off{font-family:var(--font-display, inherit);font-weight:var(--display-weight, 800);font-size:clamp(1.6rem,3vw,2.1rem);line-height:1;letter-spacing:-0.02em;color:var(--ds7-gold);white-space:nowrap}
.cf-one-click-downsell-7 .ds7-coupon-rule{align-self:stretch;width:0;border-left:2px dashed var(--ds7-line)}
.cf-one-click-downsell-7 .ds7-coupon-note{color:var(--ds7-soft);font-size:16px;font-weight:600;line-height:1.3;text-align:left;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-price-label{margin-top:26px;color:var(--ds7-soft);font-size:16px;font-weight:700;letter-spacing:.02em}
.cf-one-click-downsell-7 .ds7-price{margin-top:4px;font-family:var(--font-display, inherit);font-weight:var(--display-weight, 800);font-size:clamp(4.25rem,9vw,6.75rem);line-height:.95;letter-spacing:-0.04em;font-variant-numeric:tabular-nums;color:var(--ds7-ink)}
.cf-one-click-downsell-7 .ds7-price-note{margin-top:14px;color:var(--ds7-soft);font-size:17px;font-weight:600;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-action{width:min(100%,640px);margin:clamp(28px,3.5vw,36px) auto 0}
.cf-one-click-downsell-7 .ds7-cta{
--ds7-b:var(--button-bg, var(--cta, oklch(0.576 0.209 29.5)));
position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:86px;margin:0;padding:16px clamp(16px,3vw,28px) 19px;
border:1px solid oklch(from var(--ds7-b) calc(l - 0.14) c h);border-radius:var(--button-radius, var(--radius, 14px));
background:linear-gradient(oklch(from var(--ds7-b) calc(l + 0.04) c h), var(--button-bg-2, var(--cta-2, oklch(from var(--ds7-b) calc(l - 0.06) c h))));
color:var(--button-ink, var(--cta-ink, oklch(1 0 0)));font-family:var(--button-font, var(--font-display, inherit));font-weight:var(--button-weight, 800);text-transform:var(--button-case, none);text-align:center;text-decoration:none;text-shadow:var(--button-text-shadow, none);
cursor:pointer;-webkit-tap-highlight-color:transparent;
box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--ds7-b) calc(l + 0.14) c h / 0.7), inset 0 -4px 0 oklch(from var(--ds7-b) calc(l - 0.16) c h), 0 2px 3px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.55), 0 12px 20px -8px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.65));
transition:transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.cf-one-click-downsell-7 .ds7-cta-main{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:clamp(1.2rem,2.6vw,1.85rem);line-height:1.15;text-wrap:balance}
.cf-one-click-downsell-7 .ds7-cta-sub{font-family:var(--font-body, inherit);font-size:15px;font-weight:600;line-height:1.3;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-cta.is-hover,
.cf-one-click-downsell-7 .ds7-cta:not(:disabled):not([aria-disabled=true]):hover{transform:translateY(-2px);background:linear-gradient(oklch(from var(--ds7-b) calc(l + 0.08) c h), oklch(from var(--ds7-b) calc(l - 0.01) c h))}
.cf-one-click-downsell-7 .ds7-cta.is-active,
.cf-one-click-downsell-7 .ds7-cta:not(:disabled):not([aria-disabled=true]):active{transform:translateY(2px);background:linear-gradient(oklch(from var(--ds7-b) calc(l - 0.06) c h), oklch(from var(--ds7-b) calc(l - 0.1) c h));box-shadow:inset 0 2px 3px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.35), inset 0 -1px 0 oklch(from var(--ds7-b) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--ds7-shade) calc(l - 0.1) c h / 0.5)}
.cf-one-click-downsell-7 .ds7-cta:focus-visible{outline:3px solid var(--ds7-ink);outline-offset:4px}
.cf-one-click-downsell-7 .ds7-cta:disabled{cursor:not-allowed;transform:none;background:oklch(from var(--ds7-b) l calc(c * 0.3) h);border-color:oklch(from var(--ds7-b) calc(l - 0.1) calc(c * 0.3) h);box-shadow:inset 0 -2px 0 oklch(from var(--ds7-b) calc(l - 0.1) calc(c * 0.3) h);text-shadow:none}
.cf-one-click-downsell-7 .ds7-cta[aria-busy=true]{cursor:progress}
.cf-one-click-downsell-7 .ds7-spin{flex:none;animation:ds7-spin .8s linear infinite}
.cf-one-click-downsell-7 .ds7-error{display:flex;align-items:flex-start;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin:14px auto 0;padding:10px 14px;border-radius:calc(var(--radius, 12px) * 0.6);background:var(--danger-soft, oklch(0.93 0.024 27));color:var(--danger, oklch(0.5 0.17 27));font-size:16px;font-weight:600;line-height:1.4;text-align:left;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-error svg{flex:none;margin-top:1px}
.cf-one-click-downsell-7 .ds7-ps{max-width:54ch;margin:22px auto 0;color:var(--ds7-soft);font-size:17px;line-height:1.5;text-wrap:pretty}
.cf-one-click-downsell-7 .ds7-ps b{color:var(--ds7-ink);font-weight:800}
.cf-one-click-downsell-7 .ds7-decline{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;padding:6px 8px;border-radius:6px;color:var(--ds7-quiet);font-size:16px;font-weight:600;line-height:1.35;text-decoration:underline;text-decoration-color:oklch(from var(--band-ink, oklch(1 0 0)) l c h / 0.45);text-underline-offset:.2em;text-wrap:pretty;transition:color .15s ease}
.cf-one-click-downsell-7 .ds7-decline:hover{color:var(--ds7-ink);text-decoration-color:currentColor}
.cf-one-click-downsell-7 .ds7-decline:focus-visible{outline:3px solid var(--ds7-ink);outline-offset:2px}
@keyframes ds7-warm{from{color:var(--ds7-ink)}to{color:var(--ds7-gold)}}
@keyframes ds7-rise{from{opacity:.82;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes ds7-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:no-preference){
.cf-one-click-downsell-7 .ds7-hl{animation:ds7-warm .9s .25s ease-out both}
.cf-one-click-downsell-7 .ds7-product{animation:ds7-rise .55s ease-out both}
.cf-one-click-downsell-7 .ds7-fan-img{animation:ds7-rise .55s ease-out both}
.cf-one-click-downsell-7 .ds7-fan-1{animation-delay:.07s}
.cf-one-click-downsell-7 .ds7-fan-2{animation-delay:.14s}
}
@media (max-width:560px){
.cf-one-click-downsell-7 .ds7-notice{font-size:15px;padding:11px 16px}
.cf-one-click-downsell-7 .ds7-inner{width:calc(100% - 36px)}
.cf-one-click-downsell-7 .ds7-product{max-height:240px}
.cf-one-click-downsell-7 .ds7-items{gap:8px 18px}
.cf-one-click-downsell-7 .ds7-coupon{gap:14px;padding:14px 18px}
.cf-one-click-downsell-7 .ds7-cta{min-height:80px}
}
@media (prefers-reduced-motion:reduce){
.cf-one-click-downsell-7 *{animation:none !important;transition:none !important}
.cf-one-click-downsell-7 .ds7-product,
.cf-one-click-downsell-7 .ds7-fan-img{opacity:1;translate:none}
.cf-one-click-downsell-7 .ds7-hl{color:var(--ds7-gold)}
.cf-one-click-downsell-7 .ds7-cta.is-hover,
.cf-one-click-downsell-7 .ds7-cta:not(:disabled):hover{transform:none}
}
`
pieces/checkout/one-click-downsell-7/specimen.tsx 33 lines
import __studioImage89dc0a66 from "../assets/c9d504ccafd8d959.webp";
import { OneClickDownsell7 } from "../one-click-downsell-7"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
export const states = ["default", "hover", "active", "disabled", "error"]
type SpecimenState = "default" | "hover" | "active" | "disabled" | "error"
const amount = (value: string) => Number(value.replace(/[^0-9.]/g, ""))
export default function OneClickDownsell7Specimen({ state = "default" }: { state?: SpecimenState }) {
const sample = defaults.sample
const saving = amount(sample.regularPrice) - amount(sample.price)
return (
<OneClickDownsell7
state={state}
lead={`How about ${sample.name} instead? ${sample.lead}`}
productImage={slot(
"product",
__studioImage89dc0a66
)}
productImageAlt={`${sample.name}: ${sample.items.map((item) => item.name).join(", ")}`}
items={sample.items.map((item) => ({ name: item.name, image: item.image, imageAlt: item.imageAlt }))}
couponTitle={`$${saving} off`}
couponNote={`Regular value ${sample.regularPrice}`}
price={sample.price}
priceNote={sample.note}
ctaLabel={`Yes! Send Me the Kit for ${sample.price}`}
psText={`Your kit is covered by our ${sample.guarantee}. If it isn’t right for you, just ask for a full refund.`}
/>
)
}
| Name | Type | Details |
|---|---|---|
notice OptionalOneClickDownsell7 |
string |
Default "Your order is saved. Nothing changes unless you say yes."
|
headline OptionalOneClickDownsell7 |
string |
Default "No problem. Start with the essentials."
|
highlight OptionalOneClickDownsell7 |
string |
Default "the essentials."
|
lead OptionalOneClickDownsell7 |
string |
Default "How about The Funnel Starter Kit instead? Plan your funnel, write your page copy, and check every step before you launch."
|
productImage OptionalOneClickDownsell7 |
string |
|
productImageAlt OptionalOneClickDownsell7 |
string |
Default "The Funnel Starter Kit: planning guide, copy workbook and launch checklist"
|
items OptionalOneClickDownsell7 |
OneClickDownsell7Item[] |
Default DEFAULT_ITEMS
|
couponTitle OptionalOneClickDownsell7 |
string |
Default "$50 off"
|
couponNote OptionalOneClickDownsell7 |
string |
Default "Regular value $97"
|
priceLabel OptionalOneClickDownsell7 |
string |
Default "Your price today"
|
price OptionalOneClickDownsell7 |
string |
Default "$47"
|
priceNote OptionalOneClickDownsell7 |
string |
Default "One payment · Lifetime access"
|
ctaLabel OptionalOneClickDownsell7 |
string |
Default "Yes! Send Me the Kit for $47"
|
ctaSublabel OptionalOneClickDownsell7 |
string |
Default "One click · Added to today’s order"
|
loadingLabel OptionalOneClickDownsell7 |
string |
Default "Adding the kit to your order…"
|
psLabel OptionalOneClickDownsell7 |
string |
Default "P.S."
|
psText OptionalOneClickDownsell7 |
string |
Default "Your kit is covered by our 30-day money-back guarantee. If it isn’t right for you, just ask for a full refund."
|
declineLabel OptionalOneClickDownsell7 |
string |
Default "No thanks, continue without the kit"
|
declineHref OptionalOneClickDownsell7 |
string |
Default "#decline"
|
errorMessage OptionalOneClickDownsell7 |
string |
Default "We couldn’t add the kit to your order. Please try again."
|
href OptionalOneClickDownsell7 |
string |
|
onAction OptionalOneClickDownsell7 |
() => void | Promise<void> |
|
onDecline OptionalOneClickDownsell7 |
() => void |
|
headingAs OptionalOneClickDownsell7 |
"h1" | "h2" |
Default "h2"
|
disabled OptionalOneClickDownsell7 |
boolean |
Default false
|
state OptionalOneClickDownsell7 |
"default" | "hover" | "active" | "disabled" | "error" |
Default "default"
|
className OptionalOneClickDownsell7 |
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.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
product- The main product shot or cover (ebook, kit, bottle).
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
c9d504ccafd8d959.webp
image/webp · 135 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB