Upgrade Offer 1
Upgrade offer for existing buyers: the creator speaks a short letter beside their cut-out, shows what the customer owns against what one click adds, and puts the credited upgrade price on the button.
Use it in a prompt
Use offer/upgrade-offer 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/offer/upgrade-offer.tsx. - Import it and pass your copy and images (Props tab):
import { UpgradeOffer } from "@/components/funneldna/offer/upgrade-offer"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/upgrade-offer/component.tsx 627 lines
// layout: presenter-cutout
// Upgrade offer for existing buyers: the creator speaks a short letter beside their cut-out, shows what the customer owns against what one click adds, and puts the credited upgrade price on the button.
import * as React from 'react';
import { AlertCircle, Check, Loader2, Lock, Plus, ShieldCheck } from 'lucide-react';
export type UpgradeOfferProps = {
/** Headline; wrap the key phrase in <em> for the accent emphasis. */
headline?: React.ReactNode;
/** Letter salutation, e.g. 'Dear friend,'. */
salutation?: string;
/** Short letter paragraphs; a <strong> lead-in is fine. */
paragraphs?: React.ReactNode[];
/** Heading over what the customer already owns. */
ownedTitle?: string;
/** What the customer already bought. */
ownedItems?: string[];
/** Heading over what the upgrade adds. */
upgradeTitle?: string;
/** What the upgrade adds. */
upgradeItems?: string[];
/** Line above the signature, e.g. 'To your first launch,'. */
signoff?: string;
presenterName?: string;
presenterRole?: string;
/** presenter-cutout slot: the creator on a transparent background. */
presenterImage?: string;
presenterImageAlt?: string;
/** The question the button answers. */
question?: string;
/** Button first line. */
label?: string;
/** Button second line; {today} and {credit} are replaced with the supplied prices. */
priceLine?: string;
/** Button second line when no prices are supplied. */
fallbackLine?: string;
/** What the customer pays today after the credit. */
todayPrice?: string;
/** The existing-customer credit applied. */
credit?: string;
/** Short reassurance lines under the button. */
notes?: string[];
/** Quiet decline link. */
declineLabel?: string;
declineHref?: string;
onDecline?: () => void;
/** Navigation destination for the one-click upgrade. */
href?: string;
/** Handles the one-click upgrade; the builder wires the charge. */
onAction?: (event: React.MouseEvent<HTMLElement>) => void;
/** Shows the loading state while the upgrade is processed. */
pending?: boolean;
pendingLabel?: string;
disabled?: boolean;
/** Inline error from the one-click charge, shown under the button. */
error?: string;
/** Error copy used by the error state when no error text is passed. */
errorMessage?: string;
state?: 'default' | 'hover' | 'active' | 'disabled' | 'error';
className?: string;
};
export function UpgradeOffer({
headline = DEFAULT_HEADLINE,
salutation = 'Dear friend,',
paragraphs = DEFAULT_PARAGRAPHS,
ownedTitle = 'In your account today',
ownedItems = [],
upgradeTitle = 'What one click adds',
upgradeItems = [],
signoff = 'To your first launch,',
presenterName = '',
presenterRole = '',
presenterImage,
presenterImageAlt = '',
question = 'Ready to see your funnel built, step by step?',
label = 'Yes, I’m ready. Upgrade me',
priceLine = '{today} today · your {credit} credit applied',
fallbackLine = 'One click · added to your account',
todayPrice = '',
credit = '',
notes = ['One click, no new checkout'],
declineLabel = 'No thanks, I’ll keep my order as it is',
declineHref,
onDecline,
href,
onAction,
pending = false,
pendingLabel = 'Adding your upgrade…',
disabled = false,
error,
errorMessage = 'We couldn’t complete the upgrade with your card on file. Please try again.',
state = 'default',
className,
}: UpgradeOfferProps) {
const uid = React.useId();
const headId = `${uid}-head`;
const errId = `${uid}-err`;
const isDisabled = disabled || state === 'disabled';
const busy = pending && !isDisabled;
const errorText = error || (state === 'error' ? errorMessage : '');
const subLine = todayPrice && credit ? priceLine.replace('{today}', todayPrice).replace('{credit}', credit) : fallbackLine;
const forced = state === 'hover' || state === 'active' ? state : undefined;
const hasPresenter = Boolean(presenterImage);
const hasLedger = ownedItems.length > 0 || upgradeItems.length > 0;
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
if (isDisabled || busy) {
event.preventDefault();
return;
}
onAction?.(event);
};
const inner = (
<>
<span className='cf-upgrade-offer__btn-label'>
{busy ? <Loader2 className='cf-upgrade-offer__spin' size={20} strokeWidth={2.5} aria-hidden='true' /> : null}
{busy ? pendingLabel : label}
</span>
{subLine ? <span className='cf-upgrade-offer__btn-sub'>{subLine}</span> : null}
</>
);
const rootClass = ['cf-upgrade-offer', hasPresenter ? 'cf-upgrade-offer--presenter' : '', className].filter(Boolean).join(' ');
return (
<article className={rootClass} aria-labelledby={headId}>
<style>{CSS}</style>
{hasPresenter ? (
<figure className='cf-upgrade-offer__presenter'>
<img
className='cf-upgrade-offer__cutout'
src={presenterImage}
alt={presenterImageAlt || presenterName}
width={600}
height={600}
decoding='async'
/>
{presenterName || presenterRole ? (
<figcaption className='cf-upgrade-offer__who'>
{presenterName ? <span className='cf-upgrade-offer__who-name'>{presenterName}</span> : null}
{presenterRole ? <span className='cf-upgrade-offer__who-role'>{presenterRole}</span> : null}
</figcaption>
) : null}
</figure>
) : null}
<div className='cf-upgrade-offer__card'>
{hasPresenter ? <span className='cf-upgrade-offer__tail' aria-hidden='true' /> : null}
<div className='cf-upgrade-offer__body'>
<h2 id={headId} className='cf-upgrade-offer__headline'>{headline}</h2>
{salutation ? <p className='cf-upgrade-offer__salute'>{salutation}</p> : null}
{paragraphs.map((paragraph, index) => (
<p key={index} className='cf-upgrade-offer__para'>{paragraph}</p>
))}
{hasLedger ? (
<div className='cf-upgrade-offer__ledger'>
{ownedItems.length > 0 ? (
<div className='cf-upgrade-offer__cell cf-upgrade-offer__cell--have'>
<p className='cf-upgrade-offer__cell-title'>{ownedTitle}</p>
<ul className='cf-upgrade-offer__list'>
{ownedItems.map((item, index) => (
<li key={`${index}-${item}`}>
<span className='cf-upgrade-offer__badge cf-upgrade-offer__badge--have' aria-hidden='true'>
<Check size={16} strokeWidth={3} />
</span>
<span>{item}</span>
</li>
))}
</ul>
</div>
) : null}
{upgradeItems.length > 0 ? (
<div className='cf-upgrade-offer__cell cf-upgrade-offer__cell--add'>
<p className='cf-upgrade-offer__cell-title'>{upgradeTitle}</p>
<ul className='cf-upgrade-offer__list'>
{upgradeItems.map((item, index) => (
<li key={`${index}-${item}`}>
<span className='cf-upgrade-offer__badge cf-upgrade-offer__badge--add' aria-hidden='true'>
<Plus size={16} strokeWidth={3} />
</span>
<span>{item}</span>
</li>
))}
</ul>
</div>
) : null}
</div>
) : null}
{signoff || presenterName ? (
<div className='cf-upgrade-offer__signoff'>
{signoff ? <p className='cf-upgrade-offer__signoff-line'>{signoff}</p> : null}
{presenterName ? <p className='cf-upgrade-offer__sig'>{presenterName}</p> : null}
</div>
) : null}
<div className='cf-upgrade-offer__close'>
{question ? <p className='cf-upgrade-offer__question'>{question}</p> : null}
{href && !isDisabled ? (
<a
className='cf-upgrade-offer__btn'
href={href}
onClick={handleClick}
data-state={forced}
aria-busy={busy || undefined}
aria-describedby={errorText ? errId : undefined}
>
{inner}
</a>
) : (
<button
type='button'
className='cf-upgrade-offer__btn'
onClick={handleClick}
disabled={isDisabled}
data-state={forced}
aria-busy={busy || undefined}
aria-describedby={errorText ? errId : undefined}
>
{inner}
</button>
)}
{errorText ? (
<p id={errId} role='alert' className='cf-upgrade-offer__error'>
<AlertCircle className='cf-upgrade-offer__ico cf-upgrade-offer__ico--danger' size={18} strokeWidth={2.5} aria-hidden='true' />
{errorText}
</p>
) : null}
{notes.length > 0 ? (
<ul className='cf-upgrade-offer__notes'>
{notes.map((note, index) => {
const Icon = NOTE_ICONS[index % NOTE_ICONS.length];
return (
<li key={`${index}-${note}`}>
<Icon className='cf-upgrade-offer__ico' size={16} strokeWidth={2.5} aria-hidden='true' />
{note}
</li>
);
})}
</ul>
) : null}
{declineLabel ? (
declineHref ? (
<a className='cf-upgrade-offer__decline' href={declineHref} onClick={() => onDecline?.()}>
{declineLabel}
</a>
) : (
<button type='button' className='cf-upgrade-offer__decline' onClick={() => onDecline?.()}>
{declineLabel}
</button>
)
) : null}
</div>
</div>
</div>
</article>
);
}
export default UpgradeOffer;
const NOTE_ICONS = [Lock, ShieldCheck];
const DEFAULT_HEADLINE: React.ReactNode = (
<>
You have the plan. Now let me <em>build it with you.</em>
</>
);
const DEFAULT_PARAGRAPHS: React.ReactNode[] = [
'Thank you for your order. Everything you bought is in your account right now.',
'Most people stall between the plan and the build. This upgrade walks you through the build, step by step, so you finish what you started.',
'Because you’re already a customer, what you paid is credited toward the upgrade. You pay only the difference, added with one click.',
];
const CSS = `
.cf-upgrade-offer {
--_shadow: var(--shadow, oklch(0.22 0.03 260));
--_line: var(--card-border, oklch(from var(--ink, oklch(0.21 0.03 263)) l c h / 0.12));
--signature-font: var(--signature-face, var(--font-display));
--signature-ink: var(--signature-color, var(--accent));
position: relative;
display: grid;
gap: 20px;
width: 100%;
max-width: 1040px;
margin-inline: auto;
font-family: var(--font-body);
color: var(--ink);
box-sizing: border-box;
}
.cf-upgrade-offer *, .cf-upgrade-offer *::before, .cf-upgrade-offer *::after { box-sizing: border-box; }
.cf-upgrade-offer__presenter {
margin: 0;
display: flex;
align-items: flex-end;
gap: 16px;
padding-inline: 4px;
min-width: 0;
animation: cf-upgrade-rise .45s cubic-bezier(.2,.7,.2,1) both;
}
.cf-upgrade-offer__cutout {
display: block;
flex: none;
width: 112px;
height: 112px;
object-fit: contain;
object-position: center bottom;
border-radius: 0;
filter: drop-shadow(0 2px 3px oklch(from var(--_shadow) l c h / .25)) drop-shadow(0 10px 14px oklch(from var(--_shadow) l c h / .18));
}
.cf-upgrade-offer__who { display: grid; gap: 2px; padding-bottom: 8px; min-width: 0; }
.cf-upgrade-offer__who-name {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.0625rem;
line-height: 1.2;
color: var(--ink);
}
.cf-upgrade-offer__who-role { font-size: .9375rem; font-weight: 500; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.cf-upgrade-offer__card {
position: relative;
min-width: 0;
background: var(--card);
border: 1px solid var(--_line);
border-radius: var(--card-radius, var(--radius, 14px));
box-shadow: var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(from var(--_shadow) l c h / .22), 0 12px 24px -8px oklch(from var(--_shadow) l c h / .32)));
padding: clamp(20px, 3.4vw, 40px);
animation: cf-upgrade-rise .45s cubic-bezier(.2,.7,.2,1) .07s both;
}
.cf-upgrade-offer__tail {
position: absolute;
top: -12px;
left: 45px;
width: 22px;
height: 22px;
background: var(--card);
border-top: 1px solid var(--_line);
border-left: 1px solid var(--_line);
border-top-left-radius: 3px;
transform: rotate(45deg);
}
.cf-upgrade-offer__body { position: relative; z-index: 1; min-width: 0; }
.cf-upgrade-offer__headline {
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-upgrade-offer__headline em { font-style: normal; color: var(--accent); }
.cf-upgrade-offer__salute {
margin: 24px 0 12px;
font-weight: 700;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.5;
}
.cf-upgrade-offer__para {
margin: 0 0 16px;
max-width: 64ch;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.6;
color: var(--ink);
text-wrap: pretty;
}
.cf-upgrade-offer__para:last-of-type { margin-bottom: 0; }
.cf-upgrade-offer__para strong { font-weight: 700; }
.cf-upgrade-offer__ledger {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
gap: 12px;
margin-top: 24px;
}
.cf-upgrade-offer__cell { border-radius: 10px; padding: 16px 18px 18px; min-width: 0; }
.cf-upgrade-offer__cell--have { background: color-mix(in oklch, var(--ink) 4%, var(--card)); }
.cf-upgrade-offer__cell--add {
background: color-mix(in oklch, var(--accent) 10%, var(--card));
box-shadow: inset 0 0 0 1px oklch(from var(--accent) l c h / .3);
}
.cf-upgrade-offer__cell-title {
margin: 0 0 12px;
font-family: var(--font-display);
font-weight: 800;
font-size: 1.0625rem;
line-height: 1.2;
color: var(--ink);
}
.cf-upgrade-offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cf-upgrade-offer__list li {
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 1.0625rem;
font-weight: 500;
line-height: 1.4;
color: var(--ink);
text-wrap: pretty;
}
.cf-upgrade-offer__badge {
flex: none;
display: inline-grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 999px;
}
.cf-upgrade-offer__badge--have { background: var(--success); color: var(--badge-glyph, #fff); }
.cf-upgrade-offer__badge--add { background: var(--accent-fill, var(--accent)); color: var(--accent-fill-ink, var(--card)); }
.cf-upgrade-offer__signoff { margin-top: 32px; }
.cf-upgrade-offer__signoff-line { margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.5; color: var(--ink); }
.cf-upgrade-offer__sig {
margin: 12px 0 0;
font-family: var(--signature-font);
font-weight: var(--display-weight, 800);
letter-spacing: var(--display-tracking, -0.025em);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
color: var(--signature-ink);
}
.cf-upgrade-offer__close {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.cf-upgrade-offer__question {
margin: 0 0 16px;
font-family: var(--font-display);
font-weight: var(--display-weight, 800);
letter-spacing: -0.01em;
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
color: var(--ink);
text-wrap: balance;
}
.cf-upgrade-offer__btn {
--_bg: var(--button-bg, var(--cta));
--_bg2: var(--button-bg-2, var(--cta-2, var(--cta)));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: 100%;
max-width: 32rem;
min-height: 72px;
margin: 0;
padding: 14px 20px;
border: 0;
border-radius: var(--button-radius, var(--radius, 12px));
background: linear-gradient(oklch(from var(--_bg) calc(l + 0.04) c h), oklch(from var(--_bg2) calc(l - 0.02) c h));
color: var(--button-ink, var(--cta-ink));
font-family: var(--button-font, var(--font-display));
text-transform: var(--button-case, none);
text-shadow: var(--button-text-shadow, none);
text-decoration: none;
text-align: center;
cursor: pointer;
box-shadow: var(--button-shadow,
inset 0 1px 0 oklch(from var(--_bg) calc(l + 0.14) c h / .7),
inset 0 -3px 0 oklch(from var(--_bg) calc(l - 0.16) c h),
0 1px 2px oklch(from var(--_shadow) l c h / .3),
0 8px 16px -6px oklch(from var(--_shadow) l c h / .45));
transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cf-upgrade-offer__btn:hover:not(:disabled), .cf-upgrade-offer__btn[data-state='hover'] {
background: linear-gradient(oklch(from var(--_bg) calc(l - 0.01) c h), oklch(from var(--_bg2) calc(l - 0.07) c h));
transform: translateY(-1px);
box-shadow: var(--button-shadow,
inset 0 1px 0 oklch(from var(--_bg) calc(l + 0.1) c h / .7),
inset 0 -3px 0 oklch(from var(--_bg) calc(l - 0.2) c h),
0 1px 2px oklch(from var(--_shadow) l c h / .32),
0 12px 20px -8px oklch(from var(--_shadow) l c h / .55));
}
.cf-upgrade-offer__btn:active:not(:disabled), .cf-upgrade-offer__btn[data-state='active'] {
background: linear-gradient(oklch(from var(--_bg) calc(l - 0.05) c h), oklch(from var(--_bg2) calc(l - 0.09) c h));
transform: translateY(1px);
box-shadow:
inset 0 2px 4px oklch(from var(--_bg) calc(l - 0.22) c h / .55),
inset 0 -2px 0 oklch(from var(--_bg) calc(l - 0.16) c h),
0 1px 2px oklch(from var(--_shadow) l c h / .3);
}
.cf-upgrade-offer__btn:focus-visible {
outline: 3px solid oklch(from var(--field-focus, var(--accent)) l c h / .55);
outline-offset: 3px;
}
.cf-upgrade-offer__btn:disabled {
background: var(--button-2-bg, var(--secondary));
color: var(--button-2-ink, var(--secondary-ink));
text-shadow: none;
box-shadow: var(--button-2-shadow, var(--shadow-sm));
cursor: not-allowed;
transform: none;
}
.cf-upgrade-offer__btn[aria-busy='true'] { cursor: progress; }
.cf-upgrade-offer__btn-label {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: clamp(1.125rem, 1.55vw, 1.375rem);
font-weight: var(--button-weight, 800);
line-height: 1.15;
}
.cf-upgrade-offer__btn-sub {
font-family: var(--font-body);
font-size: .9375rem;
font-weight: 600;
line-height: 1.3;
font-variant-numeric: tabular-nums;
text-transform: none;
text-wrap: balance;
}
.cf-upgrade-offer__error {
width: 100%;
max-width: 32rem;
margin: 12px 0 0;
padding: 12px 16px;
border-radius: 10px;
background: var(--danger-soft);
color: var(--danger);
font-size: .9375rem;
font-weight: 600;
line-height: 1.4;
text-wrap: pretty;
}
.cf-upgrade-offer__notes {
list-style: none;
margin: 16px 0 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px 20px;
font-size: .9375rem;
font-weight: 600;
line-height: 1.4;
color: var(--muted);
}
.cf-upgrade-offer__notes li { text-wrap: pretty; }
.cf-upgrade-offer__ico {
display: inline-block;
vertical-align: -0.15em;
margin-inline-end: .4em;
color: var(--accent);
}
.cf-upgrade-offer__ico--danger { color: var(--danger); }
.cf-upgrade-offer__decline {
min-height: 44px;
margin-top: 8px;
padding: 8px 4px;
background: none;
border: 0;
border-radius: 6px;
font: inherit;
font-size: .9375rem;
font-weight: 500;
line-height: 1.4;
color: var(--muted);
text-decoration: underline;
text-decoration-color: oklch(from var(--muted) l c h / .5);
text-underline-offset: .18em;
cursor: pointer;
text-wrap: pretty;
}
.cf-upgrade-offer__decline:hover { color: var(--ink); text-decoration-color: currentColor; }
.cf-upgrade-offer__decline:focus-visible {
outline: 3px solid oklch(from var(--field-focus, var(--accent)) l c h / .45);
outline-offset: 2px;
}
@media (min-width: 860px) {
.cf-upgrade-offer--presenter {
grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
gap: clamp(24px, 3vw, 40px);
align-items: start;
}
.cf-upgrade-offer--presenter .cf-upgrade-offer__presenter {
position: sticky;
top: 24px;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 0;
}
.cf-upgrade-offer--presenter .cf-upgrade-offer__cutout { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.cf-upgrade-offer--presenter .cf-upgrade-offer__who { text-align: center; padding: 0; }
.cf-upgrade-offer--presenter .cf-upgrade-offer__tail {
top: 88px;
left: -12px;
border-top: 0;
border-left: 1px solid var(--_line);
border-bottom: 1px solid var(--_line);
border-top-left-radius: 0;
border-bottom-left-radius: 3px;
}
.cf-upgrade-offer__btn { padding: 14px 28px; }
}
@keyframes cf-upgrade-rise { from { opacity: .82; transform: translateY(8px); } }
@keyframes cf-upgrade-spin { to { transform: rotate(360deg); } }
.cf-upgrade-offer__spin { flex: none; animation: cf-upgrade-spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) {
.cf-upgrade-offer__presenter, .cf-upgrade-offer__card, .cf-upgrade-offer__spin { animation: none; }
.cf-upgrade-offer__btn { transition: none; }
.cf-upgrade-offer__btn:hover:not(:disabled), .cf-upgrade-offer__btn:active:not(:disabled), .cf-upgrade-offer__btn[data-state] { transform: none; }
}
`;
pieces/offer/upgrade-offer/specimen.tsx 59 lines
import __studioImage12de5385 from "../assets/3f0e3302be0ea6b6.webp";
import * as React from 'react';
import { UpgradeOffer, type UpgradeOfferProps } from '../upgrade-offer';
import defaults from '../../studio-defaults.json';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled', 'error'];
const money = (value: string) => Number(value.replace(/[^0-9.]/g, ''));
export default function UpgradeOfferSpecimen({ state = 'default' }: { state?: UpgradeOfferProps['state'] }) {
const sample = defaults.sample;
const today = `$${money(sample.regularPrice) - money(sample.price)}`;
return (
<UpgradeOffer
state={state}
headline={
<>
You have the plan. Now let me <em>build it with you.</em>
</>
}
salutation='Dear friend,'
paragraphs={[
<>
Thank you for picking up <strong>{sample.name}</strong>. Your guide, workbook and checklist are in your account right now.
</>,
`Here’s what I see again and again: people plan the funnel, then stall at the build. So I recorded the ${sample.registration.name}, and I build every page on screen while you follow along.`,
<>
Because you already own the kit, <strong>the full {sample.price} you paid is credited</strong> toward the {sample.regularPrice} Complete Edition. You pay only the difference, added with one click.
</>,
]}
ownedTitle='In your account today'
ownedItems={sample.items.map((item) => item.name)}
upgradeTitle='What one click adds'
upgradeItems={[
`The full ${sample.registration.name}, start to finish`,
'A screen-by-screen build of a working funnel',
'Fill-along prompts for your offer and page copy',
]}
signoff='To your first launch,'
presenterName='Jordan Hale'
presenterRole={`Creator of ${sample.name}`}
presenterImage={slot(
'presenter-cutout',
__studioImage12de5385
)}
presenterImageAlt='Jordan Hale, creator of The Funnel Starter Kit'
question='Ready to see your funnel built, step by step?'
label='Yes, I’m ready. Upgrade me'
todayPrice={today}
credit={sample.price}
notes={['Charged to the card you used for your kit', sample.guarantee]}
declineLabel='No thanks, I’ll keep my kit as it is'
onAction={() => {}}
onDecline={() => {}}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalUpgradeOffer |
React.ReactNode |
Default DEFAULT_HEADLINE
|
salutation OptionalUpgradeOffer |
string |
Default 'Dear friend,'
|
paragraphs OptionalUpgradeOffer |
React.ReactNode[] |
Default DEFAULT_PARAGRAPHS
|
ownedTitle OptionalUpgradeOffer |
string |
Default 'In your account today'
|
ownedItems OptionalUpgradeOffer |
string[] |
Default []
|
upgradeTitle OptionalUpgradeOffer |
string |
Default 'What one click adds'
|
upgradeItems OptionalUpgradeOffer |
string[] |
Default []
|
signoff OptionalUpgradeOffer |
string |
Default 'To your first launch,'
|
presenterName OptionalUpgradeOffer |
string |
Default ''
|
presenterRole OptionalUpgradeOffer |
string |
Default ''
|
presenterImage OptionalUpgradeOffer |
string |
|
presenterImageAlt OptionalUpgradeOffer |
string |
Default ''
|
question OptionalUpgradeOffer |
string |
Default 'Ready to see your funnel built, step by step?'
|
label OptionalUpgradeOffer |
string |
Default 'Yes, I’m ready. Upgrade me'
|
priceLine OptionalUpgradeOffer |
string |
Default '{today} today · your {credit} credit applied'
|
fallbackLine OptionalUpgradeOffer |
string |
Default 'One click · added to your account'
|
todayPrice OptionalUpgradeOffer |
string |
Default ''
|
credit OptionalUpgradeOffer |
string |
Default ''
|
notes OptionalUpgradeOffer |
string[] |
Default ['One click, no new checkout']
|
declineLabel OptionalUpgradeOffer |
string |
Default 'No thanks, I’ll keep my order as it is'
|
declineHref OptionalUpgradeOffer |
string |
|
onDecline OptionalUpgradeOffer |
() => void |
|
href OptionalUpgradeOffer |
string |
|
onAction OptionalUpgradeOffer |
(event: React.MouseEvent<HTMLElement>) => void |
|
pending OptionalUpgradeOffer |
boolean |
Default false
|
pendingLabel OptionalUpgradeOffer |
string |
Default 'Adding your upgrade…'
|
disabled OptionalUpgradeOffer |
boolean |
Default false
|
error OptionalUpgradeOffer |
string |
|
errorMessage OptionalUpgradeOffer |
string |
Default 'We couldn’t complete the upgrade with your card on file. Please try again.'
|
state OptionalUpgradeOffer |
'default' | 'hover' | 'active' | 'disabled' | 'error' |
Default 'default'
|
className OptionalUpgradeOffer |
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.
presenter-cutout- The presenter on a transparent background.
-
3f0e3302be0ea6b6.webp
image/webp · 107 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB