Invisible Offer 2
Invisible offer as the owner's letter: a framed letter gives the reason-why for starting free and paying later, a plain terms ledger shows today, the charge date and how to cancel (expanding to every cancellation step), and one start button closes it.
Use it in a prompt
Use offer/invisible-offer-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/offer/invisible-offer-2.tsx. - Import it and pass your copy and images (Props tab):
import { InvisibleOffer2 } from "@/components/funneldna/offer/invisible-offer-2"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/invisible-offer-2/component.tsx 400 lines
// layout: certificate-document
// Invisible offer as the owner's letter: a framed letter gives the reason-why for starting free and paying later, a plain terms ledger shows today, the charge date and how to cancel (expanding to every cancellation step), and one start button closes it.
import * as React from "react";
import { ChevronDown, ShieldCheck } from "lucide-react";
import { Texture, FX_HOST } from "../fx/fx";
import linen from "../fx/textures/linen";
export type InvisibleOffer2Section = {
/** Red mid-letter subhead, like a printed sales letter. */
heading?: string;
paragraphs: React.ReactNode[];
};
export type InvisibleOffer2Props = {
/** Letter opener shown before the owner's name. */
fromLabel?: string;
ownerName?: string;
ownerRole?: string;
/** Date line on the letter, e.g. "Friday, November 21". */
dateLine?: string;
/** presenter slot: small portrait beside the opener. */
presenterImage?: string;
presenterAlt?: string;
/** Wrap the one key phrase in <mark> for the marker stroke. */
headline?: React.ReactNode;
salutation?: string;
letter?: InvisibleOffer2Section[];
signOff?: string;
/** Name written in the signature face; defaults to ownerName. */
signatureName?: string;
/** signature slot: a handwritten signature image replaces the signature face. */
signatureImage?: string;
/** seal-guarantee slot: transparent seal art beside the sign-off. Omit it for the no-seal variant. */
sealImage?: string;
sealAlt?: string;
ledgerTitle?: string;
todayLabel?: string;
todayAmount?: string;
/** The charge date; replaces {date} in every template prop. */
chargeDate?: string;
/** Template, e.g. "On {date}". */
chargeLabel?: string;
/** The later charge; replaces {amount} in every template prop. */
chargeAmount?: string;
chargeNote?: string;
cancelLabel?: string;
cancelBy?: string;
/** Full cancellation steps revealed by the ledger toggle. */
cancelSteps?: string[];
cancelNote?: string;
copy?: { showSteps?: string; hideSteps?: string; stepsLabel?: string };
/** Outcome-verb button label. */
label?: string;
reassurance?: string;
href?: string;
onAction?: () => void;
disabled?: boolean;
/** Start with the cancellation steps open. */
defaultExpanded?: boolean;
state?: "default" | "hover" | "active" | "focus" | "expanded" | "disabled";
className?: string;
};
const COPY = {
showSteps: "Show me exactly how to cancel",
hideSteps: "Hide the cancellation steps",
stepsLabel: "How to cancel",
};
const DEFAULT_LETTER: InvisibleOffer2Section[] = [
{
paragraphs: [
"I'd rather you see this work before you pay for it.",
"So you can start today, use everything inside, and decide later.",
],
},
{
heading: "Why I let you start for free",
paragraphs: [
"Once you're inside, the work speaks for itself. If it helps you, paying is an easy call. If it doesn't, you shouldn't pay at all.",
],
},
{
heading: "What happens next",
paragraphs: [
"Keep going and you're charged once on the date in the terms. Cancel before then and you owe nothing.",
],
},
];
export function InvisibleOffer2({
fromLabel = "From the desk of",
ownerName = "",
ownerRole = "",
dateLine = "",
presenterImage,
presenterAlt,
headline = (
<>
Start today for $0. <mark>Pay only if you keep it.</mark>
</>
),
salutation = "Dear friend,",
letter = DEFAULT_LETTER,
signOff = "Talk soon,",
signatureName,
signatureImage,
sealImage,
sealAlt = "",
ledgerTitle = "Every term, in plain English",
todayLabel = "Due today",
todayAmount = "$0",
chargeDate = "day 14",
chargeLabel = "On {date}",
chargeAmount = "$47",
chargeNote = "Only if you keep it.",
cancelLabel = "To cancel",
cancelBy = "Any time before {date}",
cancelSteps = [
"Log in and open your account settings.",
"Choose Billing, then Cancel trial.",
"Watch for the email confirming nothing will be charged.",
],
cancelNote = "",
copy,
label = "Start now, pay later",
reassurance = "Nothing is charged today. Cancel any time before {date}.",
href,
onAction,
disabled = false,
defaultExpanded = false,
state = "default",
className,
}: InvisibleOffer2Props) {
const uid = React.useId();
const titleId = `${uid}-title`;
const ledgerId = `${uid}-ledger`;
const stepsId = `${uid}-steps`;
const forcedOpen = state === "expanded";
const [open, setOpen] = React.useState(defaultExpanded || forcedOpen);
React.useEffect(() => {
if (forcedOpen) setOpen(true);
}, [forcedOpen]);
const c = { ...COPY, ...copy };
const isDisabled = disabled || state === "disabled";
const force = state === "hover" || state === "active" || state === "focus" ? state : undefined;
const fill = (text: string) => text.split("{date}").join(chargeDate).split("{amount}").join(chargeAmount);
const signed = signatureName ?? ownerName;
const toggleText = open ? c.hideSteps : c.showSteps;
const cut = toggleText.lastIndexOf(" ");
const toggleHead = cut > 0 ? toggleText.slice(0, cut + 1) : "";
const toggleTail = cut > 0 ? toggleText.slice(cut + 1) : toggleText;
return (
<section
className={["cf-invisible-offer-2", className].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={titleId}
>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" />
<style>{CSS}</style>
<Texture src={linen} tone="band-ink" />
<div className="io-wrap">
<article className="io-doc">
{(ownerName || dateLine) && (
<header className="io-head">
<div className="io-from">
{presenterImage && (
<img
className="io-portrait"
src={presenterImage}
alt={presenterAlt ?? ownerName}
width={56}
height={56}
/>
)}
{ownerName && (
<div>
<p className="io-from-label">{fromLabel}</p>
<p className="io-from-name">
{ownerName}
{ownerRole && <span className="io-from-role">{ownerRole}</span>}
</p>
</div>
)}
</div>
{dateLine && <p className="io-date">{dateLine}</p>}
</header>
)}
<h2 id={titleId} className="io-title">
{headline}
</h2>
<div className="io-body">
<div className="io-letter">
{salutation && <p className="io-salute">{salutation}</p>}
{letter.map((section, i) => (
<React.Fragment key={i}>
{section.heading && <h3 className="io-sub">{section.heading}</h3>}
{section.paragraphs.map((p, j) => (
<p key={j} className="io-p">
{p}
</p>
))}
</React.Fragment>
))}
<div className="io-signoff">
<div className="io-sign">
{signOff && <p className="io-p io-signoff-line">{signOff}</p>}
{signatureImage ? (
<img className="io-sig-img" src={signatureImage} alt={signed ? `${signed} signature` : ""} />
) : signed ? (
<p className="io-sig" aria-hidden="true">
{signed}
</p>
) : null}
{signed && (
<p className="io-sig-name">
{signed}
{ownerRole && <span>, {ownerRole}</span>}
</p>
)}
</div>
{sealImage && (
<img className="io-seal" src={sealImage} alt={sealAlt} width={132} height={132} />
)}
</div>
</div>
<aside className="io-terms" aria-labelledby={ledgerId}>
<div className="io-ledger">
<h3 id={ledgerId} className="io-ledger-title">
{ledgerTitle}
</h3>
<dl className="io-rows">
<div className="io-row">
<dt>{fill(todayLabel)}</dt>
<dd className="io-big">{todayAmount}</dd>
</div>
<div className="io-row">
<dt>{fill(chargeLabel)}</dt>
<dd className="io-val">{chargeAmount}</dd>
{chargeNote && <dd className="io-note">{fill(chargeNote)}</dd>}
</div>
<div className="io-row">
<dt>{fill(cancelLabel)}</dt>
<dd className="io-val io-val-text">{fill(cancelBy)}</dd>
</div>
</dl>
{cancelSteps.length > 0 && (
<>
<button
type="button"
className="io-toggle"
aria-expanded={open}
aria-controls={stepsId}
onClick={() => setOpen((o) => !o)}
>
{toggleHead && <span className="io-toggle-txt">{toggleHead}</span>}
<span className="io-nowrap">
<span className="io-toggle-txt">{toggleTail}</span>
<ChevronDown className="io-chev" size={18} strokeWidth={2.5} aria-hidden="true" />
</span>
</button>
<div
className="io-steps"
id={stepsId}
role="region"
aria-label={c.stepsLabel}
data-open={open ? "true" : "false"}
>
<div className="io-steps-in">
<div className="io-steps-pad">
<ol>
{cancelSteps.map((step, i) => (
<li key={i}>
<span className="io-num" aria-hidden="true">
{i + 1}
</span>
<span>{fill(step)}</span>
</li>
))}
</ol>
{cancelNote && <p className="io-cancel-note">{fill(cancelNote)}</p>}
</div>
</div>
</div>
</>
)}
</div>
{href && !isDisabled ? (
<a className="io-cta" href={href} data-force={force} onClick={onAction ? () => onAction() : undefined}>
{label}
</a>
) : (
<button
type="button"
className="io-cta"
data-force={force}
disabled={isDisabled}
onClick={() => {
if (!isDisabled) onAction?.();
}}
>
{label}
</button>
)}
{reassurance && (
<p className="io-assure">
<ShieldCheck className="io-ico" size={18} strokeWidth={2.5} aria-hidden="true" />
{fill(reassurance)}
</p>
)}
</aside>
</div>
</article>
</div>
</section>
);
}
export default InvisibleOffer2;
const CSS = `
.cf-invisible-offer-2{--io-shadow:var(--shadow, oklch(0.22 0.03 260));--io-link:color-mix(in oklab, var(--link, var(--accent)) 85%, var(--ink));--io-link-hover:color-mix(in oklab, var(--link, var(--accent)) 70%, var(--ink));--io-marker:var(--marker, #fae37c);--io-subhead:var(--letter-subhead-ink, color-mix(in oklab, var(--cta) 55%, var(--ink)));--signature-font:var(--signature-face, 'Mrs Saint Delafield', var(--font-display));--io-rule:oklch(from var(--ink) l c h / 0.12);--io-well:color-mix(in oklch, var(--ink) 4%, var(--card));position:relative;overflow:hidden;background:var(--band);color:var(--band-ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) 0 clamp(64px,8.5vw,120px)}
.cf-invisible-offer-2 *,.cf-invisible-offer-2 *::before,.cf-invisible-offer-2 *::after{box-sizing:border-box}
.cf-invisible-offer-2 .io-wrap{position:relative;z-index:1;width:min(1120px, calc(100% - 2 * clamp(16px,5vw,48px)));margin-inline:auto}
.cf-invisible-offer-2 .io-doc{position:relative;background:var(--card);color:var(--ink);border:1px solid var(--card-border, oklch(from var(--ink) l c h / 0.12));border-radius:var(--card-radius, var(--radius, 14px));box-shadow:var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(0.22 0.03 260 / 0.22), 0 12px 24px -8px oklch(0.22 0.03 260 / 0.32)));padding:clamp(24px,4.4vw,64px);animation:io-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-invisible-offer-2 .io-doc::before{content:'';position:absolute;inset:10px;border:1px solid oklch(from var(--ink) l c h / 0.14);border-radius:calc(var(--card-radius, var(--radius, 14px)) - 4px);pointer-events:none}
.cf-invisible-offer-2 .io-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:clamp(24px,3vw,32px)}
.cf-invisible-offer-2 .io-from{display:flex;align-items:center;gap:16px;min-width:0}
.cf-invisible-offer-2 .io-portrait{display:block;flex:none;width:56px;height:56px;border-radius:12px;object-fit:cover;object-position:50% 25%}
.cf-invisible-offer-2 .io-from-label{margin:0 0 4px;font-size:0.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-invisible-offer-2 .io-from-name{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.3;font-weight:700;color:var(--ink)}
.cf-invisible-offer-2 .io-from-role{display:block;margin-top:2px;font-size:0.9375rem;line-height:1.4;font-weight:500;color:var(--muted)}
.cf-invisible-offer-2 .io-date{margin:0;font-size:0.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-invisible-offer-2 .io-title{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;text-wrap:balance;color:var(--ink)}
.cf-invisible-offer-2 .io-title mark{color:inherit;background:linear-gradient(180deg, transparent 52%, var(--io-marker) 52%, var(--io-marker) 94%, transparent 94%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .1em;margin:0 -.04em;border-radius:.2em .12em .24em .1em}
.cf-invisible-offer-2 .io-body{display:grid;gap:clamp(32px,5vw,64px);margin-top:clamp(24px,3vw,32px)}
.cf-invisible-offer-2 .io-letter{min-width:0;max-width:64ch}
.cf-invisible-offer-2 .io-salute{margin:0 0 16px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;font-weight:700;color:var(--ink)}
.cf-invisible-offer-2 .io-p{margin:0 0 16px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.6;color:var(--ink);text-wrap:pretty}
.cf-invisible-offer-2 .io-p strong{font-weight:700}
.cf-invisible-offer-2 .io-sub{margin:32px 0 8px;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:-0.01em;color:var(--io-subhead);text-wrap:balance}
.cf-invisible-offer-2 .io-signoff{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:16px clamp(20px,4vw,48px);margin-top:40px}
.cf-invisible-offer-2 .io-sign{min-width:0}
.cf-invisible-offer-2 .io-signoff-line{margin-bottom:4px;text-wrap:balance}
.cf-invisible-offer-2 .io-sig{margin:0;font-family:var(--signature-font);font-weight:400;font-size:clamp(2.75rem,4.2vw,3.5rem);line-height:1.15;white-space:nowrap;color:var(--signature-ink, var(--ink))}
.cf-invisible-offer-2 .io-sig-img{display:block;height:64px;width:auto;max-width:240px;object-fit:contain;object-position:left center;margin:4px 0}
.cf-invisible-offer-2 .io-sig-name{margin:4px 0 0;font-size:0.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-invisible-offer-2 .io-seal{display:block;flex:none;width:clamp(76px,10vw,124px);height:auto;aspect-ratio:1;object-fit:contain;border-radius:0;transform:rotate(-6deg);filter:drop-shadow(0 2px 3px oklch(from var(--io-shadow) l c h / 0.35)) drop-shadow(0 10px 14px oklch(from var(--io-shadow) l c h / 0.22));animation:io-pop .3s cubic-bezier(.2,.7,.2,1) .2s both}
.cf-invisible-offer-2 .io-terms{min-width:0}
.cf-invisible-offer-2 .io-ledger{background:var(--io-well);border-radius:10px;padding:clamp(20px,2.4vw,28px)}
.cf-invisible-offer-2 .io-ledger-title{margin:0 0 8px;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:-0.01em;color:var(--ink);text-wrap:balance}
.cf-invisible-offer-2 .io-rows{margin:0}
.cf-invisible-offer-2 .io-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 20px;padding:16px 0;border-top:1px solid var(--io-rule)}
.cf-invisible-offer-2 .io-row:first-child{border-top:0;padding-top:12px}
.cf-invisible-offer-2 .io-row dt{font-size:0.9375rem;line-height:1.4;font-weight:600;white-space:nowrap;color:var(--muted)}
.cf-invisible-offer-2 .io-row dd{margin:0}
.cf-invisible-offer-2 .io-big{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);text-align:right}
.cf-invisible-offer-2 .io-val{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:-0.01em;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right}
.cf-invisible-offer-2 .io-val-text{max-width:none;font-family:var(--font-body);font-weight:700;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.35;letter-spacing:0;text-wrap:balance}
.cf-invisible-offer-2 .io-note{grid-column:1 / -1;font-size:0.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-invisible-offer-2 .io-toggle{display:inline-block;max-width:100%;min-height:44px;margin-top:4px;padding:11px 2px;border:0;border-radius:6px;background:none;cursor:pointer;font-family:var(--font-body);font-size:1rem;line-height:1.35;font-weight:700;text-align:left;text-wrap:balance;color:var(--io-link);transition:color .16s ease}
.cf-invisible-offer-2 .io-toggle-txt{text-decoration:underline;text-decoration-color:oklch(from var(--io-link) l c h / 0.45);text-underline-offset:.18em}
.cf-invisible-offer-2 .io-nowrap{white-space:nowrap}
.cf-invisible-offer-2 .io-toggle:hover{color:var(--io-link-hover)}
.cf-invisible-offer-2 .io-toggle:hover .io-toggle-txt{text-decoration-color:currentColor}
.cf-invisible-offer-2 .io-toggle:active{color:color-mix(in oklab, var(--link, var(--accent)) 60%, var(--ink))}
.cf-invisible-offer-2 .io-toggle:focus-visible{outline:3px solid oklch(from var(--field-focus, var(--accent)) l c h / 0.4);outline-offset:3px}
.cf-invisible-offer-2 .io-chev{display:inline-block;vertical-align:-0.22em;margin-inline-start:.3em;transition:transform .2s ease}
.cf-invisible-offer-2 .io-toggle[aria-expanded='true'] .io-chev{transform:rotate(180deg)}
.cf-invisible-offer-2 .io-steps{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.2,.7,.2,1)}
.cf-invisible-offer-2 .io-steps[data-open='true']{grid-template-rows:1fr}
.cf-invisible-offer-2 .io-steps-in{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .32s}
.cf-invisible-offer-2 .io-steps[data-open='true'] .io-steps-in{visibility:visible;transition-delay:0s}
.cf-invisible-offer-2 .io-steps-pad{padding:8px 0 4px}
.cf-invisible-offer-2 .io-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.cf-invisible-offer-2 .io-steps li{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:12px;align-items:baseline;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-invisible-offer-2 .io-num{font-family:var(--font-display);font-weight:var(--display-weight, 800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1;font-variant-numeric:tabular-nums;color:var(--accent)}
.cf-invisible-offer-2 .io-cancel-note{margin:16px 0 0;font-size:0.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-invisible-offer-2 .io-cta{--io-b:var(--button-bg, var(--cta));display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:64px;margin-top:24px;padding:12px 24px;border:0;cursor:pointer;text-decoration:none;text-align:center;text-wrap:balance;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;color:var(--button-ink, var(--cta-ink));text-shadow:var(--button-text-shadow, none);background:linear-gradient(180deg, oklch(from var(--io-b) calc(l + 0.04) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.02) c h));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--io-b) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--io-b) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--io-shadow) l c h / 0.3), 0 8px 16px -6px oklch(from var(--io-shadow) l c h / 0.45));transition:transform .16s ease, box-shadow .16s ease, background .16s ease}
.cf-invisible-offer-2 .io-cta:hover:not(:disabled),.cf-invisible-offer-2 .io-cta[data-force='hover']{background:linear-gradient(180deg, oklch(from var(--io-b) calc(l - 0.01) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.07) c h));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--io-b) calc(l + 0.12) c h / 0.7), inset 0 -3px 0 oklch(from var(--io-b) calc(l - 0.2) c h), 0 1px 2px oklch(from var(--io-shadow) l c h / 0.34), 0 10px 20px -6px oklch(from var(--io-shadow) l c h / 0.55))}
.cf-invisible-offer-2 .io-cta:active:not(:disabled),.cf-invisible-offer-2 .io-cta[data-force='active']{transform:translateY(1px);background:linear-gradient(180deg, oklch(from var(--io-b) calc(l - 0.05) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.08) c h));box-shadow:inset 0 2px 4px oklch(from var(--io-b) calc(l - 0.22) c h / 0.55), inset 0 -2px 0 oklch(from var(--io-b) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--io-shadow) l c h / 0.3)}
.cf-invisible-offer-2 .io-cta:focus-visible,.cf-invisible-offer-2 .io-cta[data-force='focus']{outline:3px solid oklch(from var(--button-bg, var(--cta)) l c h / 0.5);outline-offset:3px}
.cf-invisible-offer-2 .io-cta:disabled{cursor:not-allowed;transform:none;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))}
.cf-invisible-offer-2 .io-assure{margin:12px 0 0;text-align:center;font-size:0.9375rem;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty}
.cf-invisible-offer-2 .io-ico{display:inline-block;vertical-align:-0.2em;margin-inline-end:.4em;color:var(--success)}
@media (min-width:960px){.cf-invisible-offer-2 .io-body{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start}.cf-invisible-offer-2 .io-terms{position:sticky;top:24px}}
@media (max-width:600px){.cf-invisible-offer-2 .io-doc::before{inset:7px}.cf-invisible-offer-2 .io-portrait{width:48px;height:48px}.cf-invisible-offer-2 .io-cta{padding:12px 20px}.cf-invisible-offer-2 .io-seal{width:72px}}
@media (max-width:360px){.cf-invisible-offer-2 .io-signoff{flex-wrap:wrap}}
@keyframes io-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes io-pop{from{transform:rotate(-6deg) scale(.9)}to{transform:rotate(-6deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.cf-invisible-offer-2 .io-doc,.cf-invisible-offer-2 .io-seal{animation:none}.cf-invisible-offer-2 .io-cta,.cf-invisible-offer-2 .io-chev,.cf-invisible-offer-2 .io-steps,.cf-invisible-offer-2 .io-steps-in{transition:none}.cf-invisible-offer-2 .io-cta:active:not(:disabled),.cf-invisible-offer-2 .io-cta[data-force='active']{transform:none}}
`;
pieces/offer/invisible-offer-2/specimen.tsx 87 lines
import __studioImagec6425c63 from "../assets/999b40adc2ce1bdb.webp";
import __studioImage5aa6bcf3 from "../assets/4396944a5dab8776.webp";
import * as React from "react";
import { InvisibleOffer2, type InvisibleOffer2Props } from "../invisible-offer-2";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "focus", "expanded", "no-seal", "disabled"];
type PieceState = NonNullable<InvisibleOffer2Props["state"]>;
export default function InvisibleOffer2Specimen({ state = "default" }: { state?: string }) {
const price = defaults.sample.price;
const seal = slot(
"seal-guarantee",
__studioImagec6425c63
);
const portrait = slot(
"presenter",
__studioImage5aa6bcf3
);
const pieceState: PieceState = state === "no-seal" ? "default" : (state as PieceState);
return (
<InvisibleOffer2
key={state}
state={pieceState}
fromLabel="From the desk of"
ownerName="Marisol Vega"
ownerRole="Founder, Sourcery"
dateLine="Friday, November 21"
presenterImage={portrait}
presenterAlt="Marisol Vega, founder of Sourcery"
headline={
<>
Take the whole Masterclass home today. <mark>Pay nothing unless you keep it.</mark>
</>
}
salutation="Dear friend,"
letter={[
{
paragraphs: [
"Most courses make you pay first and hope it works out. I'd rather you see it work first.",
<>
So here's my offer: you get the entire <strong>Product Sourcing Masterclass</strong> today, every lesson and
every supplier template, and you pay nothing for 14 days.
</>,
],
},
{
heading: "Why I let you start for free",
paragraphs: [
"Because the Masterclass proves itself once you're inside. The day you find a product with real margin, paying feels like an easy call.",
"And if it doesn't help you, you shouldn't pay for it. That's the whole reason.",
],
},
{
heading: "What happens on December 5",
paragraphs: [
`Keep going and your card is charged ${price} once. One payment, lifetime access. Not for you? Cancel before then and you owe nothing.`,
],
},
]}
signOff="To your first winning product,"
signatureName="Marisol Vega"
sealImage={state === "no-seal" ? undefined : seal}
ledgerTitle="Every term, in plain English"
todayLabel="Due today"
todayAmount="$0"
chargeDate="December 5"
chargeLabel="On {date}"
chargeAmount={price}
chargeNote="One payment, only if you keep it. No subscription, no upsell to unlock it."
cancelLabel="To cancel"
cancelBy="Two clicks, before {date}"
cancelSteps={[
"Log in and open Account, then Billing.",
"Click Cancel my trial. No survey, no phone call.",
"Check your inbox for the email confirming nothing will be charged.",
]}
cancelNote="Rather not log in? Reply to your welcome email and we'll cancel it for you."
label="Start sourcing today"
reassurance="Nothing is charged today. Cancel in two clicks before {date}."
disabled={state === "disabled"}
/>
);
}
| Name | Type | Details |
|---|---|---|
fromLabel OptionalInvisibleOffer2 |
string |
Default "From the desk of"
|
ownerName OptionalInvisibleOffer2 |
string |
Default ""
|
ownerRole OptionalInvisibleOffer2 |
string |
Default ""
|
dateLine OptionalInvisibleOffer2 |
string |
Default ""
|
presenterImage OptionalInvisibleOffer2 |
string |
|
presenterAlt OptionalInvisibleOffer2 |
string |
|
headline OptionalInvisibleOffer2 |
React.ReactNode |
Default (
<>
Start today for $0. <mark>Pay only if you keep it.</mark>
</>
)
|
salutation OptionalInvisibleOffer2 |
string |
Default "Dear friend,"
|
letter OptionalInvisibleOffer2 |
InvisibleOffer2Section[] |
Default DEFAULT_LETTER
|
signOff OptionalInvisibleOffer2 |
string |
Default "Talk soon,"
|
signatureName OptionalInvisibleOffer2 |
string |
|
signatureImage OptionalInvisibleOffer2 |
string |
|
sealImage OptionalInvisibleOffer2 |
string |
|
sealAlt OptionalInvisibleOffer2 |
string |
Default ""
|
ledgerTitle OptionalInvisibleOffer2 |
string |
Default "Every term, in plain English"
|
todayLabel OptionalInvisibleOffer2 |
string |
Default "Due today"
|
todayAmount OptionalInvisibleOffer2 |
string |
Default "$0"
|
chargeDate OptionalInvisibleOffer2 |
string |
Default "day 14"
|
chargeLabel OptionalInvisibleOffer2 |
string |
Default "On {date}"
|
chargeAmount OptionalInvisibleOffer2 |
string |
Default "$47"
|
chargeNote OptionalInvisibleOffer2 |
string |
Default "Only if you keep it."
|
cancelLabel OptionalInvisibleOffer2 |
string |
Default "To cancel"
|
cancelBy OptionalInvisibleOffer2 |
string |
Default "Any time before {date}"
|
cancelSteps OptionalInvisibleOffer2 |
string[] |
Default [
"Log in and open your account settings.",
"Choose Billing, then Cancel trial.",
"Watch for the email confirming nothing will be charged.",
]
|
cancelNote OptionalInvisibleOffer2 |
string |
Default ""
|
copy OptionalInvisibleOffer2 |
{ showSteps?: string; hideSteps?: string; stepsLabel?: string } |
|
label OptionalInvisibleOffer2 |
string |
Default "Start now, pay later"
|
reassurance OptionalInvisibleOffer2 |
string |
Default "Nothing is charged today. Cancel any time before {date}."
|
href OptionalInvisibleOffer2 |
string |
|
onAction OptionalInvisibleOffer2 |
() => void |
|
disabled OptionalInvisibleOffer2 |
boolean |
Default false
|
defaultExpanded OptionalInvisibleOffer2 |
boolean |
Default false
|
state OptionalInvisibleOffer2 |
"default" | "hover" | "active" | "focus" | "expanded" | "disabled" |
Default "default"
|
className OptionalInvisibleOffer2 |
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.
presenter- A photo of the host, coach or founder.
seal-guarantee- The money-back guarantee seal, on a transparent background.
-
2c539f422023a290.webp
image/webp · 115 KB
-
4396944a5dab8776.webp
image/webp · 70.3 KB
-
999b40adc2ce1bdb.webp
image/webp · 317 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB