Modal Two Step 1
Popup two-step order form: the classic CF order dialog. Step 1 takes contact details; step 2 announces itself and
Use it in a prompt
Use checkout/modal-two-step 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/modal-two-step.tsx. - Import it and pass your copy and images (Props tab):
import { ModalTwoStep } from "@/components/funneldna/checkout/modal-two-step"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/checkout/modal-two-step/component.tsx 904 lines
// layout: path-to-action
// Popup two-step order form: the classic CF order dialog. Step 1 takes contact details; step 2 announces itself and
// closes with payment fields, an order bump and a till-receipt total that lead the eye down to one button.
import React, { useEffect, useId, useRef, useState } from 'react';
import { AlertCircle, CalendarDays, Check, CreditCard, KeyRound, Loader2, Lock, Mail, Pencil, User, X } from 'lucide-react';
import { Divider, FX_HOST, Glow } from '../fx/fx';
import torn from '../fx/dividers/torn';
export type ModalTwoStepLine = {
label: string;
amount: string;
/** 'discount' lines print in the success colour (a saving). */
kind?: 'item' | 'discount';
};
export type ModalTwoStepBump = {
title: string;
price: string;
/** One or two sentences selling the add-on. */
pitch: React.ReactNode;
/** Slot item-n: a transparent cut-out of the add-on. */
image?: string;
imageAlt?: string;
/** Total shown in the receipt while the bump is ticked. */
totalWithBump: string;
/** Receipt line label; defaults to the title. */
receiptLabel?: string;
};
export type ModalTwoStepValues = {
name: string;
email: string;
cardNumber: string;
expiry: string;
cvc: string;
bump: boolean;
};
export type ModalTwoStepCopy = {
close: string;
/** Template: 'Step {n} of 2:' */
stepOf: string;
progress: string;
steps: { title: string; sub: string }[];
step1Heading: string;
step2Heading: string;
nameLabel: string;
namePlaceholder: string;
emailLabel: string;
emailPlaceholder: string;
continueLabel: string;
continueNote: string;
/** Template: 'Your order goes to {email}' */
recap: string;
edit: string;
cardLabel: string;
cardPlaceholder: string;
expiryLabel: string;
expiryPlaceholder: string;
cvcLabel: string;
cvcPlaceholder: string;
/** Template: 'Yes, add {title} for {price}' */
bumpCheck: string;
receipt: string;
subtotal: string;
total: string;
question: string;
submit: string;
busy: string;
reassurance: string;
errors: { name: string; email: string; card: string; expiry: string; cvc: string };
};
export type ModalTwoStepProps = {
/** Dialog mode renders nothing while closed. */
open?: boolean;
/** 'dialog' = fixed overlay over the dimmed page (focus-trapped, Escape closes); 'inline' = the panel in flow. */
presentation?: 'dialog' | 'inline';
onClose?: () => void;
/** Slot product: transparent product shot. */
productImage?: string;
productImageAlt?: string;
productName?: string;
price?: string;
headline?: React.ReactNode;
salutation?: string;
letter?: React.ReactNode[];
signoff?: string;
signName?: string;
/** Receipt items above the subtotal. */
lines?: ModalTwoStepLine[];
subtotal?: string;
/** Lines after the subtotal (e.g. a bundle discount). */
adjustments?: ModalTwoStepLine[];
total?: string;
bump?: ModalTwoStepBump | null;
copy?: Partial<Omit<ModalTwoStepCopy, 'errors'>> & { errors?: Partial<ModalTwoStepCopy['errors']> };
initialStep?: 1 | 2;
initialValues?: Partial<ModalTwoStepValues>;
state?: 'default' | 'hover' | 'active' | 'disabled' | 'error';
disabled?: boolean;
/** Shows a spinner on the submit button while the builder processes the order. */
busy?: boolean;
/** Validated values; the piece never sends or charges anything itself. */
onSubmit?: (values: ModalTwoStepValues) => void;
onStepChange?: (step: 1 | 2) => void;
className?: string;
};
type FieldKey = 'name' | 'email' | 'cardNumber' | 'expiry' | 'cvc';
const DEFAULT_COPY: ModalTwoStepCopy = {
close: 'Close checkout',
stepOf: 'Step {n} of 2:',
progress: 'Checkout progress',
steps: [
{ title: 'Your details', sub: 'Where should we send it?' },
{ title: 'Payment', sub: 'Secure checkout' },
],
step1Heading: 'Tell us where to send your order',
step2Heading: 'Finish your order and it’s yours',
nameLabel: 'Full name',
namePlaceholder: 'Jane Smith',
emailLabel: 'Email address',
emailPlaceholder: 'you@example.com',
continueLabel: 'Continue to payment',
continueNote: 'Your details stay private. Payment is next.',
recap: 'Your order goes to {email}',
edit: 'Edit details',
cardLabel: 'Card number',
cardPlaceholder: '1234 5678 9012 3456',
expiryLabel: 'Expiry',
expiryPlaceholder: 'MM / YY',
cvcLabel: 'CVC',
cvcPlaceholder: '123',
bumpCheck: 'Yes, add {title} for {price}',
receipt: 'Order summary',
subtotal: 'Subtotal',
total: 'Total today',
question: 'Ready to build your first funnel?',
submit: 'I’m ready, complete my order',
busy: 'Processing your order…',
reassurance: 'Secure checkout · 30-day money-back guarantee',
errors: {
name: 'Please enter your full name.',
email: 'Please enter a valid email address.',
card: 'Please enter a valid card number.',
expiry: 'Use MM / YY, for example 08 / 28.',
cvc: 'Enter the 3 or 4 digits on the back of your card.',
},
};
const DEFAULT_LETTER: React.ReactNode[] = [
'Everything you need is waiting on the other side of this form.',
'Tell us where to send it, finish your order, and it’s yours today.',
];
const DEFAULT_LINES: ModalTwoStepLine[] = [
{ label: 'Funnel Planning Guide', amount: '$49' },
{ label: 'Page Copy Workbook', amount: '$29' },
{ label: 'Launch Checklist', amount: '$19' },
];
const DEFAULT_ADJUSTMENTS: ModalTwoStepLine[] = [{ label: 'Kit bundle discount', amount: '−$50', kind: 'discount' }];
const FOCUSABLE = 'a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';
export function ModalTwoStep(props: ModalTwoStepProps) {
const {
open = true,
presentation = 'dialog',
onClose,
productImage,
productImageAlt = '',
productName = 'The Funnel Starter Kit',
price = '$47',
headline = 'Great choice! Your kit is one step away.',
salutation = 'Dear friend,',
letter = DEFAULT_LETTER,
signoff = 'Talk soon,',
signName = '',
lines = DEFAULT_LINES,
subtotal = '$97',
adjustments = DEFAULT_ADJUSTMENTS,
total = '$47',
bump = null,
copy,
initialStep = 1,
initialValues,
state = 'default',
disabled = false,
busy = false,
onSubmit,
onStepChange,
className,
} = props;
const c: ModalTwoStepCopy = { ...DEFAULT_COPY, ...copy, errors: { ...DEFAULT_COPY.errors, ...(copy && copy.errors) } };
const dialog = presentation === 'dialog';
const uid = 'mts' + useId().replace(/[^a-zA-Z0-9]/g, '');
const [step, setStep] = useState<1 | 2>(initialStep);
const [values, setValues] = useState<ModalTwoStepValues>({
name: '',
email: '',
cardNumber: '',
expiry: '',
cvc: '',
bump: false,
...initialValues,
});
const [tried, setTried] = useState<{ 1: boolean; 2: boolean }>({ 1: false, 2: false });
const [touched, setTouched] = useState<Partial<Record<FieldKey, boolean>>>({});
const panelRef = useRef<HTMLDivElement>(null);
const headingRef = useRef<HTMLHeadingElement>(null);
const mounted = useRef(false);
useEffect(() => {
if (!mounted.current) {
mounted.current = true;
return;
}
if (headingRef.current) headingRef.current.focus();
if (onStepChange) onStepChange(step);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [step]);
useEffect(() => {
if (!dialog || !open) return;
const previous = document.activeElement as HTMLElement | null;
if (panelRef.current) panelRef.current.focus();
return () => {
if (previous && typeof previous.focus === 'function') previous.focus();
};
}, [dialog, open]);
if (!open) return null;
const errors = validate(values, c.errors);
const force = state === 'error';
const show = (k: FieldKey) => (force || tried[step] || touched[k] ? errors[k] : undefined);
const isDisabled = disabled || busy || state === 'disabled';
const stepText = fill(c.stepOf, { n: step });
const btnCls = 'mts-cta' + (state === 'hover' ? ' is-hover' : '') + (state === 'active' ? ' is-active' : '');
const bumpOn = Boolean(bump && values.bump);
const recapParts = c.recap.split('{email}');
const recapPre = recapParts[0];
const recapPost = recapParts[1] || '';
const currentStep = c.steps[step - 1];
const update = (k: FieldKey) => (e: React.ChangeEvent<HTMLInputElement>) => {
const raw = e.target.value;
const v = k === 'cardNumber' ? formatCard(raw) : k === 'expiry' ? formatExpiry(raw) : k === 'cvc' ? digitsOf(raw).slice(0, 4) : raw;
setValues((s) => ({ ...s, [k]: v }));
};
const blur = (k: FieldKey) => () => setTouched((t) => ({ ...t, [k]: true }));
const goStep2 = (e: React.FormEvent) => {
e.preventDefault();
setTried((t) => ({ ...t, 1: true }));
if (isDisabled) return;
if (!errors.name && !errors.email) setStep(2);
};
const submit = (e: React.FormEvent) => {
e.preventDefault();
if (isDisabled) return;
setTried({ 1: true, 2: true });
if (errors.name || errors.email) {
setStep(1);
return;
}
if (errors.cardNumber || errors.expiry || errors.cvc) return;
if (onSubmit) onSubmit(values);
};
const onKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {
if (!dialog) return;
if (e.key === 'Escape') {
e.stopPropagation();
if (onClose) onClose();
return;
}
if (e.key !== 'Tab' || !panelRef.current) return;
const nodes = Array.from(panelRef.current.querySelectorAll<HTMLElement>(FOCUSABLE)).filter((n) => n.offsetParent !== null);
if (!nodes.length) return;
const first = nodes[0];
const last = nodes[nodes.length - 1];
const active = document.activeElement;
if (e.shiftKey && (active === first || active === panelRef.current)) {
e.preventDefault();
last.focus();
} else if (!e.shiftKey && active === last) {
e.preventDefault();
first.focus();
}
};
const stepOne = (
<form className='mts-form' noValidate onSubmit={goStep2}>
<div className='mts-orderline'>
<span>{productName}</span>
<b>{price}</b>
</div>
<Field
id={uid + '-name'}
label={c.nameLabel}
icon={<User size={20} strokeWidth={2.5} />}
error={show('name')}
input={{ name: 'name', type: 'text', autoComplete: 'name', placeholder: c.namePlaceholder, value: values.name, onChange: update('name'), onBlur: blur('name') }}
/>
<Field
id={uid + '-email'}
label={c.emailLabel}
icon={<Mail size={20} strokeWidth={2.5} />}
error={show('email')}
input={{ name: 'email', type: 'email', autoComplete: 'email', inputMode: 'email', placeholder: c.emailPlaceholder, value: values.email, onChange: update('email'), onBlur: blur('email') }}
/>
<button type='submit' className={btnCls} disabled={isDisabled}>
{c.continueLabel}
</button>
<p className='mts-note'>
<Segments text={c.continueNote} icon={<Lock size={16} strokeWidth={2.5} aria-hidden='true' />} />
</p>
</form>
);
const stepTwo = (
<form className='mts-form' noValidate onSubmit={submit}>
<div className='mts-recap'>
<p>
{recapPre}
<b>{values.email}</b>
{recapPost}
</p>
<button type='button' className='mts-edit' onClick={() => setStep(1)}>
<Pencil size={16} strokeWidth={2.5} aria-hidden='true' />
{c.edit}
</button>
</div>
<Field
id={uid + '-card'}
label={c.cardLabel}
icon={<CreditCard size={20} strokeWidth={2.5} />}
error={show('cardNumber')}
input={{ name: 'cc-number', type: 'text', autoComplete: 'cc-number', inputMode: 'numeric', placeholder: c.cardPlaceholder, value: values.cardNumber, onChange: update('cardNumber'), onBlur: blur('cardNumber') }}
/>
<div className='mts-row'>
<Field
id={uid + '-exp'}
label={c.expiryLabel}
icon={<CalendarDays size={20} strokeWidth={2.5} />}
error={show('expiry')}
input={{ name: 'cc-exp', type: 'text', autoComplete: 'cc-exp', inputMode: 'numeric', placeholder: c.expiryPlaceholder, value: values.expiry, onChange: update('expiry'), onBlur: blur('expiry') }}
/>
<Field
id={uid + '-cvc'}
label={c.cvcLabel}
icon={<KeyRound size={20} strokeWidth={2.5} />}
error={show('cvc')}
input={{ name: 'cc-csc', type: 'text', autoComplete: 'cc-csc', inputMode: 'numeric', placeholder: c.cvcPlaceholder, value: values.cvc, onChange: update('cvc'), onBlur: blur('cvc') }}
/>
</div>
{bump ? (
<div className={'mts-bump' + (values.bump ? ' is-on' : '')}>
<label className='mts-bump-strip' htmlFor={uid + '-bump'}>
<input
id={uid + '-bump'}
type='checkbox'
className='mts-bump-input'
checked={values.bump}
onChange={(e) => {
const checked = e.target.checked;
setValues((s) => ({ ...s, bump: checked }));
}}
/>
<span className='mts-box' aria-hidden='true'>
<Check size={18} strokeWidth={3} />
</span>
<span className='mts-bump-title'>{fill(c.bumpCheck, { title: bump.title, price: bump.price })}</span>
</label>
<div className={'mts-bump-body' + (bump.image ? '' : ' no-img')}>
{bump.image ? <img src={bump.image} alt={bump.imageAlt || ''} width={144} height={144} loading='lazy' decoding='async' /> : null}
<p>{bump.pitch}</p>
</div>
</div>
) : null}
<div className='mts-receipt' role='group' aria-label={c.receipt}>
{lines.map((l, i) => (
<div key={'l' + i} className={'mts-line' + (l.kind === 'discount' ? ' is-discount' : '')}>
<span>{l.label}</span>
<span className='mts-amt'>{l.amount}</span>
</div>
))}
{subtotal ? (
<div className='mts-line is-sub'>
<span>{c.subtotal}</span>
<span className='mts-amt'>{subtotal}</span>
</div>
) : null}
{adjustments.map((l, i) => (
<div key={'a' + i} className={'mts-line' + (l.kind === 'discount' ? ' is-discount' : '')}>
<span>{l.label}</span>
<span className='mts-amt'>{l.amount}</span>
</div>
))}
{bump && bumpOn ? (
<div className='mts-line is-added'>
<span>{bump.receiptLabel || bump.title}</span>
<span className='mts-amt'>{bump.price}</span>
</div>
) : null}
<div className='mts-total'>
<span>{c.total}</span>
<span className='mts-big' aria-live='polite'>
{bump && bumpOn ? bump.totalWithBump : total}
</span>
</div>
</div>
<p className='mts-ask'>{c.question}</p>
<button type='submit' className={btnCls} disabled={isDisabled} aria-busy={busy || undefined}>
{busy ? (
<>
<Loader2 className='mts-spin' size={20} strokeWidth={2.5} aria-hidden='true' />
{c.busy}
</>
) : (
c.submit
)}
</button>
<p className='mts-note'>
<Segments text={c.reassurance} icon={<Lock size={16} strokeWidth={2.5} aria-hidden='true' />} />
</p>
</form>
);
return (
<div
className={'cf-modal-two-step ' + (dialog ? 'is-dialog' : 'is-inline') + (className ? ' ' + className : '')}
onKeyDown={onKeyDown}
onMouseDown={
dialog
? (e) => {
if (e.target === e.currentTarget && onClose) onClose();
}
: undefined
}
>
<style>{CSS}</style>
<div
ref={panelRef}
className='mts-panel'
role={dialog ? 'dialog' : 'group'}
aria-modal={dialog || undefined}
aria-labelledby={uid + '-title'}
tabIndex={-1}
>
{dialog || onClose ? (
<button type='button' className='mts-close' aria-label={c.close} onClick={onClose}>
<X size={20} strokeWidth={2.5} aria-hidden='true' />
</button>
) : null}
<div className={'mts-head' + (productImage ? '' : ' no-shot')} style={FX_HOST}>
<div className='mts-head-grid'>
<h2 id={uid + '-title'} className='mts-title'>
{headline}
</h2>
{productImage ? (
<div className='mts-shot' style={FX_HOST}>
<Glow />
<img src={productImage} alt={productImageAlt} width={360} height={360} decoding='async' />
</div>
) : null}
<div className='mts-letter'>
{salutation ? <p className='mts-salute'>{salutation}</p> : null}
{letter.map((p, i) => (
<p key={i}>{p}</p>
))}
{signName ? (
<p className='mts-sign'>
{signoff} <b>{signName}</b>
</p>
) : null}
</div>
</div>
<Divider shape='torn' src={torn} tone='card' height={36} />
</div>
<div className='mts-body'>
<h3 ref={headingRef} tabIndex={-1} className='mts-step-h'>
<span className='mts-stepno'>{stepText}</span> {step === 1 ? c.step1Heading : c.step2Heading}
</h3>
<ol className='mts-track' aria-label={c.progress}>
{c.steps.slice(0, 2).map((s, i) => {
const n = i + 1;
const status = n < step ? 'is-done' : n === step ? 'is-current' : 'is-next';
return (
<li key={n} className={status} aria-current={n === step ? 'step' : undefined}>
<span className='mts-badge' aria-hidden='true'>
{n < step ? <Check size={16} strokeWidth={3} /> : n}
</span>
<span className='mts-stxt'>
<b>{s.title}</b>
<span className='mts-ssub'>{s.sub}</span>
</span>
</li>
);
})}
</ol>
<p className='mts-sr' aria-live='polite'>
{stepText + ' ' + (currentStep ? currentStep.title : '')}
</p>
<div key={step} className='mts-stage'>
{step === 1 ? stepOne : stepTwo}
</div>
</div>
</div>
</div>
);
}
export default ModalTwoStep;
type FieldProps = {
id: string;
label: string;
icon: React.ReactNode;
error?: string;
input: React.InputHTMLAttributes<HTMLInputElement>;
};
function Field({ id, label, icon, error, input }: FieldProps) {
const errId = id + '-err';
return (
<div className={'mts-field' + (error ? ' is-invalid' : '')}>
<label className='mts-label' htmlFor={id}>
{label}
</label>
<div className='mts-control'>
<input id={id} className='mts-input' aria-invalid={error ? true : undefined} aria-describedby={error ? errId : undefined} {...input} />
<span className='mts-ficon' aria-hidden='true'>
{icon}
</span>
</div>
{error ? (
<p id={errId} className='mts-err'>
<AlertCircle size={16} strokeWidth={2.5} aria-hidden='true' />
{error}
</p>
) : null}
</div>
);
}
/** Keeps each ' · ' phrase of a reassurance line whole on phones (no 'money- / back' breaks); the icon rides with the first phrase. */
function Segments({ text, icon }: { text: string; icon?: React.ReactNode }) {
const parts = text.split(' · ');
return (
<>
{parts.map((p, i) => (
<React.Fragment key={i}>
{i > 0 ? ' ' : null}
<span className={p.length <= 34 ? 'mts-seg' : undefined}>
{i === 0 ? icon : null}
{p}
{i < parts.length - 1 ? '\u00a0·' : null}
</span>
</React.Fragment>
))}
</>
);
}
const EMAIL = /^[^ @]+@[^ @]+[.][^ @]+$/;
function digitsOf(v: string) {
return v.replace(/[^0-9]/g, '');
}
function formatCard(v: string) {
return digitsOf(v).slice(0, 19).replace(/(.{4})(?=.)/g, '$1 ');
}
function formatExpiry(v: string) {
const d = digitsOf(v).slice(0, 4);
return d.length > 2 ? d.slice(0, 2) + ' / ' + d.slice(2) : d;
}
function fill(t: string, map: Record<string, string | number>) {
return Object.keys(map).reduce((s, k) => s.split('{' + k + '}').join(String(map[k])), t);
}
function validate(v: ModalTwoStepValues, e: ModalTwoStepCopy['errors']) {
const out: Partial<Record<FieldKey, string>> = {};
if (v.name.trim().length < 2) out.name = e.name;
if (!EMAIL.test(v.email.trim())) out.email = e.email;
const card = digitsOf(v.cardNumber);
if (card.length < 13 || card.length > 19) out.cardNumber = e.card;
const exp = digitsOf(v.expiry);
const month = Number(exp.slice(0, 2));
if (exp.length !== 4 || month < 1 || month > 12) out.expiry = e.expiry;
if (!/^[0-9]{3,4}$/.test(v.cvc)) out.cvc = e.cvc;
return out;
}
const CSS = `
.cf-modal-two-step {
--mts-cta: var(--button-bg, var(--cta));
--mts-cta-2: var(--button-bg-2, var(--cta-2));
--mts-shadow: var(--shadow, oklch(0.22 0.03 256));
--mts-focus: var(--field-focus, var(--accent));
--mts-hair: oklch(from var(--ink) l c h / 0.14);
--mts-well: color-mix(in oklch, var(--ink) 4%, var(--card));
--mts-ok: oklch(from var(--success) min(l, 0.52) c h);
--mts-ok-ink: var(--status-ink, #fff);
--mts-link-well: color-mix(in oklab, var(--link, var(--accent)) 80%, var(--ink));
box-sizing: border-box;
font-family: var(--font-body);
color: var(--ink);
}
.cf-modal-two-step *, .cf-modal-two-step *::before, .cf-modal-two-step *::after { box-sizing: border-box; }
.cf-modal-two-step p, .cf-modal-two-step h2, .cf-modal-two-step h3, .cf-modal-two-step ol { margin: 0; }
.cf-modal-two-step.is-inline { width: 100%; }
.cf-modal-two-step.is-dialog {
position: fixed; inset: 0; z-index: 1000;
display: flex; align-items: flex-start; justify-content: center;
overflow-y: auto; overscroll-behavior: contain;
padding: clamp(16px, 5vw, 48px);
background: oklch(from var(--band) l c h / 0.72);
animation: cf-mts-fade 0.2s ease both;
}
.cf-modal-two-step .mts-panel {
position: relative; width: 100%; max-width: 680px; margin: 0 auto;
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 256 / 0.22), 0 12px 24px -8px oklch(0.22 0.03 256 / 0.32)));
overflow: hidden;
animation: cf-mts-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cf-modal-two-step .mts-panel:focus { outline: none; }
.cf-modal-two-step .mts-close {
position: absolute; top: 12px; right: 12px; z-index: 3;
display: inline-flex; align-items: center; justify-content: center;
width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
color: var(--band-ink);
background: oklch(from var(--band-ink) l c h / 0.12);
border: 1px solid oklch(from var(--band-ink) l c h / 0.28);
transition: background 0.16s ease, transform 0.16s ease;
}
.cf-modal-two-step .mts-close:hover { background: oklch(from var(--band-ink) l c h / 0.22); }
.cf-modal-two-step .mts-close:active { transform: scale(0.94); }
.cf-modal-two-step .mts-close:focus-visible { outline: 3px solid var(--band-ink); outline-offset: 2px; }
.cf-modal-two-step .mts-head {
background: var(--band); color: var(--band-ink);
padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 40px) calc(clamp(24px, 3vw, 32px) + 36px);
}
.cf-modal-two-step .mts-head-grid {
position: relative; z-index: 1;
display: grid; grid-template-columns: 168px minmax(0, 1fr);
grid-template-areas: 'title title' 'shot letter';
column-gap: clamp(20px, 3vw, 32px); align-items: start;
}
.cf-modal-two-step .mts-head.no-shot .mts-head-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'letter'; }
.cf-modal-two-step .mts-title {
grid-area: title; margin: 0 0 20px; padding-right: 48px;
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(--band-ink);
}
.cf-modal-two-step .mts-shot { grid-area: shot; position: relative; aspect-ratio: 1; }
.cf-modal-two-step .mts-shot img {
position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain;
filter: drop-shadow(0 2px 3px oklch(from var(--mts-shadow) l c h / 0.4)) drop-shadow(0 12px 16px oklch(from var(--mts-shadow) l c h / 0.35));
}
.cf-modal-two-step .mts-letter { grid-area: letter; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.5; }
.cf-modal-two-step .mts-letter p { margin: 0 0 12px; color: var(--band-ink); text-wrap: pretty; }
.cf-modal-two-step .mts-letter p:last-child { margin-bottom: 0; }
.cf-modal-two-step .mts-salute { font-weight: 700; }
.cf-modal-two-step .mts-sign b { font-weight: 800; }
.cf-modal-two-step .mts-body { padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(28px, 4vw, 40px); }
.cf-modal-two-step .mts-step-h {
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; text-wrap: balance; color: var(--ink);
}
.cf-modal-two-step .mts-step-h:focus { outline: none; }
.cf-modal-two-step .mts-step-h:focus-visible { outline: 3px solid oklch(from var(--mts-focus) l c h / 0.45); outline-offset: 4px; border-radius: 4px; }
.cf-modal-two-step .mts-stepno { color: var(--accent); }
.cf-modal-two-step .mts-track {
list-style: none; margin: 0 0 24px; padding: 0;
display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; overflow: hidden;
}
.cf-modal-two-step .mts-track li {
display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px;
padding: 10px 30px 10px 16px;
background: color-mix(in oklch, var(--ink) 6%, var(--card)); color: var(--ink);
}
.cf-modal-two-step .mts-track li:first-child {
position: relative; z-index: 1;
clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}
.cf-modal-two-step .mts-track li:last-child {
margin-left: -16px; padding-left: 36px; padding-right: 16px;
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
}
.cf-modal-two-step .mts-track li.is-current { background: var(--accent-fill, var(--accent)); color: var(--accent-fill-ink, var(--card)); }
.cf-modal-two-step .mts-badge {
flex: none; display: inline-flex; align-items: center; justify-content: center;
width: 32px; height: 32px; border-radius: 999px;
font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; font-variant-numeric: tabular-nums;
background: color-mix(in oklch, var(--ink) 14%, var(--card)); color: var(--ink);
}
.cf-modal-two-step .is-current .mts-badge { background: transparent; border: 2px solid var(--accent-fill-ink, var(--card)); color: var(--accent-fill-ink, var(--card)); }
.cf-modal-two-step .is-done .mts-badge { background: var(--mts-ok); color: var(--mts-ok-ink); }
.cf-modal-two-step .mts-stxt { display: grid; gap: 2px; min-width: 0; }
.cf-modal-two-step .mts-stxt b { font-size: 1rem; font-weight: 800; line-height: 1.2; }
.cf-modal-two-step .mts-ssub { font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--muted); }
.cf-modal-two-step .is-current .mts-ssub { color: var(--accent-fill-ink, var(--card)); }
.cf-modal-two-step .mts-sr {
position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cf-modal-two-step .mts-stage { animation: cf-mts-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.cf-modal-two-step .mts-form > * + * { margin-top: 20px; }
.cf-modal-two-step .mts-form > .mts-field + .mts-cta { margin-top: 28px; }
.cf-modal-two-step .mts-form > .mts-ask { margin-top: 32px; }
.cf-modal-two-step .mts-form > .mts-ask + .mts-cta { margin-top: 16px; }
.cf-modal-two-step .mts-form > .mts-note { margin-top: 12px; }
.cf-modal-two-step .mts-orderline {
display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
padding-bottom: 16px; border-bottom: 1px solid var(--mts-hair); font-size: 1.0625rem;
}
.cf-modal-two-step .mts-orderline span { font-weight: 700; min-width: 0; text-wrap: pretty; }
.cf-modal-two-step .mts-orderline b { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cf-modal-two-step .mts-label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--label-ink, var(--ink)); }
.cf-modal-two-step .mts-control { position: relative; }
.cf-modal-two-step .mts-input {
width: 100%; height: 56px; padding: 0 48px 0 16px; margin: 0;
font: inherit; font-size: 1.0625rem; color: var(--field-ink); background: var(--field);
border: 1px solid var(--field-border, color-mix(in oklch, var(--ink) 22%, transparent));
border-radius: var(--field-radius, var(--radius, 12px)); appearance: none;
transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cf-modal-two-step .mts-input::placeholder { color: color-mix(in oklch, var(--field-ink) 65%, var(--field)); opacity: 1; }
.cf-modal-two-step .mts-input:hover { border-color: color-mix(in oklch, var(--field-ink) 40%, var(--field)); }
.cf-modal-two-step .mts-input:focus { outline: none; border-color: var(--mts-focus); box-shadow: 0 0 0 3px oklch(from var(--mts-focus) l c h / 0.35); }
.cf-modal-two-step .is-invalid .mts-input { border-color: var(--danger); }
.cf-modal-two-step .is-invalid .mts-input:focus { box-shadow: 0 0 0 3px oklch(from var(--danger) l c h / 0.3); }
.cf-modal-two-step .mts-ficon {
position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
display: inline-flex; pointer-events: none;
color: color-mix(in oklch, var(--field-ink) 55%, var(--field));
}
.cf-modal-two-step .is-invalid .mts-ficon { color: var(--danger); }
.cf-modal-two-step .mts-err { margin-top: 8px; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--danger); text-wrap: pretty; }
.cf-modal-two-step .mts-err svg, .cf-modal-two-step .mts-note svg { display: inline-block; vertical-align: -0.15em; margin-inline-end: 0.4em; }
.cf-modal-two-step .mts-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.cf-modal-two-step .mts-recap {
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px;
padding: 8px 8px 8px 16px; border-radius: 10px; background: var(--mts-well);
}
.cf-modal-two-step .mts-recap p { font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; color: var(--ink); }
.cf-modal-two-step .mts-edit {
display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px;
border: 0; border-radius: 8px; background: none; cursor: pointer;
font: inherit; font-size: 0.9375rem; font-weight: 700;
color: var(--mts-link-well);
text-decoration: underline; text-decoration-color: oklch(from var(--mts-link-well) l c h / 0.45); text-underline-offset: 0.18em;
}
.cf-modal-two-step .mts-edit:hover { color: color-mix(in oklab, var(--link, var(--accent)) 64%, var(--ink)); text-decoration-color: currentColor; }
.cf-modal-two-step .mts-edit:focus-visible { outline: 3px solid oklch(from var(--mts-focus) l c h / 0.45); outline-offset: 2px; }
.cf-modal-two-step .mts-bump {
border-radius: 12px; overflow: hidden;
background: var(--bump, oklch(0.975 0.04 95)); color: var(--bump-ink, var(--ink));
border: 2px solid oklch(from var(--bump-strip, oklch(0.93 0.11 95)) calc(l - 0.22) c h);
transition: border-color 0.16s ease;
}
.cf-modal-two-step .mts-bump.is-on { border-color: var(--success); }
.cf-modal-two-step .mts-bump-strip {
position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
background: var(--bump-strip, oklch(0.93 0.11 95)); cursor: pointer; transition: background 0.16s ease;
}
.cf-modal-two-step .mts-bump-strip:hover { background: oklch(from var(--bump-strip, oklch(0.93 0.11 95)) calc(l - 0.03) c h); }
.cf-modal-two-step .mts-bump-input { position: absolute; left: 16px; width: 28px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
.cf-modal-two-step .mts-box {
flex: none; display: inline-flex; align-items: center; justify-content: center;
width: 28px; height: 28px; border-radius: 6px;
background: var(--card); border: 2px solid var(--bump-ink, var(--ink)); color: transparent;
transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.cf-modal-two-step .mts-bump-input:checked + .mts-box { background: var(--mts-ok); border-color: var(--mts-ok); color: var(--mts-ok-ink); }
.cf-modal-two-step .mts-bump-input:focus-visible + .mts-box { outline: 3px solid oklch(from var(--mts-focus) l c h / 0.6); outline-offset: 2px; }
.cf-modal-two-step .mts-bump-strip:active .mts-box { transform: scale(0.92); }
.cf-modal-two-step .mts-bump-title { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; text-wrap: pretty; color: var(--bump-ink, var(--ink)); }
.cf-modal-two-step .mts-bump-body { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; }
.cf-modal-two-step .mts-bump-body.no-img { grid-template-columns: minmax(0, 1fr); }
.cf-modal-two-step .mts-bump-body img {
display: block; width: 88px; height: 88px; object-fit: contain;
filter: drop-shadow(0 2px 3px oklch(from var(--mts-shadow) l c h / 0.3)) drop-shadow(0 8px 12px oklch(from var(--mts-shadow) l c h / 0.2));
}
.cf-modal-two-step .mts-bump-body p { font-size: 1rem; line-height: 1.5; text-wrap: pretty; color: var(--bump-ink, var(--ink)); }
.cf-modal-two-step .mts-receipt { padding: 16px 20px 20px; border-radius: 10px; background: var(--mts-well); font-size: 1rem; }
.cf-modal-two-step .mts-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 4px 0; line-height: 1.4; }
.cf-modal-two-step .mts-line > span:first-child { min-width: 0; text-wrap: pretty; }
.cf-modal-two-step .mts-amt { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.cf-modal-two-step .mts-line.is-sub { margin-top: 8px; color: var(--muted); }
.cf-modal-two-step .mts-line.is-discount { color: var(--success); font-weight: 700; }
.cf-modal-two-step .mts-line.is-discount .mts-amt { font-weight: 800; }
.cf-modal-two-step .mts-line.is-added { font-weight: 700; animation: cf-mts-rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.cf-modal-two-step .mts-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.cf-modal-two-step .mts-total > span:first-child {
font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em;
font-size: clamp(1.3125rem, 1.8vw, 1.625rem); line-height: 1.15;
}
.cf-modal-two-step .mts-big {
font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
font-size: clamp(2.5rem, 4.2vw, 3.75rem); line-height: 1; font-variant-numeric: tabular-nums;
white-space: nowrap; color: var(--ink);
}
.cf-modal-two-step .mts-ask {
text-align: center; 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;
text-wrap: balance; color: var(--ink);
}
.cf-modal-two-step .mts-cta {
display: flex; align-items: center; justify-content: center; gap: 10px;
width: 100%; min-height: 64px; padding: 12px 28px; border: 0; cursor: pointer;
border-radius: var(--button-radius, var(--radius, 12px));
font-family: var(--button-font, var(--font-display)); font-weight: var(--button-weight, 800);
font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.15;
text-transform: var(--button-case, none); text-align: center; text-wrap: balance;
color: var(--button-ink, var(--cta-ink)); text-shadow: var(--button-text-shadow, none);
background: linear-gradient(180deg, oklch(from var(--mts-cta) calc(l + 0.04) c h), oklch(from var(--mts-cta-2) calc(l - 0.02) c h));
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--mts-cta) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--mts-cta) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--mts-shadow) l c h / 0.3), 0 8px 16px -6px oklch(from var(--mts-shadow) l c h / 0.45));
transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.cf-modal-two-step .mts-cta:hover:not(:disabled), .cf-modal-two-step .mts-cta.is-hover:not(:disabled) {
transform: translateY(-1px);
background: linear-gradient(180deg, oklch(from var(--mts-cta) calc(l - 0.01) c h), oklch(from var(--mts-cta-2) calc(l - 0.07) c h));
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--mts-cta) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--mts-cta) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--mts-shadow) l c h / 0.32), 0 12px 20px -6px oklch(from var(--mts-shadow) l c h / 0.5));
}
.cf-modal-two-step .mts-cta:active:not(:disabled), .cf-modal-two-step .mts-cta.is-active:not(:disabled) {
transform: translateY(1px);
background: linear-gradient(180deg, oklch(from var(--mts-cta) calc(l - 0.04) c h), oklch(from var(--mts-cta-2) calc(l - 0.09) c h));
box-shadow: inset 0 2px 4px oklch(from var(--mts-cta) calc(l - 0.2) c h / 0.5), inset 0 -2px 0 oklch(from var(--mts-cta) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--mts-shadow) l c h / 0.3);
}
.cf-modal-two-step .mts-cta:focus-visible { outline: 3px solid var(--mts-focus); outline-offset: 3px; }
.cf-modal-two-step .mts-cta:disabled {
cursor: not-allowed; transform: none; text-shadow: none;
background: var(--button-2-bg, var(--secondary)); color: var(--button-2-ink, var(--secondary-ink));
box-shadow: var(--button-2-shadow, var(--shadow-sm));
}
.cf-modal-two-step .mts-cta[aria-busy='true']:disabled {
cursor: progress; text-shadow: var(--button-text-shadow, none);
color: var(--button-ink, var(--cta-ink));
background: linear-gradient(180deg, oklch(from var(--mts-cta) calc(l + 0.04) c h), oklch(from var(--mts-cta-2) calc(l - 0.02) c h));
}
.cf-modal-two-step .mts-spin { animation: cf-mts-spin 0.8s linear infinite; }
.cf-modal-two-step .mts-note { text-align: center; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; color: var(--muted); text-wrap: balance; }
.cf-modal-two-step .mts-seg { white-space: nowrap; }
@media (max-width: 560px) {
.cf-modal-two-step .mts-head-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'shot' 'title' 'letter'; }
.cf-modal-two-step .mts-shot { width: 128px; margin-bottom: 16px; }
.cf-modal-two-step .mts-title { padding-right: 0; margin-bottom: 16px; }
.cf-modal-two-step .mts-head.no-shot .mts-title { padding-right: 48px; }
.cf-modal-two-step .mts-track li { min-height: 52px; justify-content: center; text-align: center; padding: 8px 26px 8px 12px; }
.cf-modal-two-step .mts-track li:last-child { padding-left: 30px; padding-right: 12px; }
.cf-modal-two-step .mts-badge, .cf-modal-two-step .mts-ssub { display: none; }
.cf-modal-two-step .mts-receipt { padding: 16px; }
.cf-modal-two-step .mts-bump-body { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.cf-modal-two-step .mts-bump-body img { width: 64px; height: 64px; }
}
@keyframes cf-mts-rise { from { opacity: 0.82; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cf-mts-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cf-mts-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
.cf-modal-two-step.is-dialog,
.cf-modal-two-step .mts-panel,
.cf-modal-two-step .mts-stage,
.cf-modal-two-step .mts-line.is-added,
.cf-modal-two-step .mts-spin { animation: none; }
.cf-modal-two-step .mts-cta,
.cf-modal-two-step .mts-close,
.cf-modal-two-step .mts-box,
.cf-modal-two-step .mts-bump,
.cf-modal-two-step .mts-bump-strip,
.cf-modal-two-step .mts-input { transition: none; }
.cf-modal-two-step .mts-cta:hover:not(:disabled), .cf-modal-two-step .mts-cta.is-hover:not(:disabled),
.cf-modal-two-step .mts-cta:active:not(:disabled), .cf-modal-two-step .mts-cta.is-active:not(:disabled) { transform: none; }
}
`;
pieces/checkout/modal-two-step/specimen.tsx 68 lines
import __studioImage31de22e3 from "../assets/52ce2f4e2910b183.webp";
import __studioImageb1c41222 from "../assets/ad983bcb16e6d3d7.webp";
// Specimen: the popup two-step order form for The Funnel Starter Kit, shown on step 2 (payment, bump, receipt).
import React from "react";
import { ModalTwoStep } from "../modal-two-step";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
type State = "default" | "hover" | "active" | "disabled" | "error";
export const states = ["default", "hover", "active", "disabled", "error"];
export default function ModalTwoStepSpecimen({ state = "default" }: { state?: State }) {
const s = defaults.sample;
const error = state === "error";
const productShot = slot("product", __studioImage31de22e3);
const bumpShot = slot("item-1", __studioImageb1c41222);
return (
<ModalTwoStep
key={state}
presentation="inline"
open
onClose={() => {}}
state={state}
productImage={productShot}
productImageAlt={s.name + ": planning guide, workbook and launch checklist"}
productName={s.name}
price={s.price}
headline="Great choice! Your kit is one step away."
salutation="Dear friend,"
letter={[
"Everything you need to plan, write and launch your first funnel is waiting in one download.",
"Finish this last step and it’s yours today. If it isn’t right for you, the 30-day money-back guarantee has your back.",
]}
signoff="Talk soon,"
signName="Sam, kit creator"
lines={s.items.map((item) => ({ label: item.name, amount: item.value }))}
subtotal={s.regularPrice}
adjustments={[{ label: "Kit bundle discount", amount: "−$50", kind: "discount" }]}
total={s.price}
bump={{
title: "Launch Email Templates",
price: "$17",
totalWithBump: "$64",
pitch: (
<>
<b>Bring buyers back to your funnel.</b> Seven ready-to-send emails that announce your launch and follow up for you. Copy, paste, send.
</>
),
image: bumpShot,
imageAlt: "Launch Email Templates on a tablet",
}}
initialStep={2}
initialValues={
error
? { name: "Jane Smith", email: "jane@example.com", cardNumber: "4242 4242 42", expiry: "13", cvc: "" }
: { name: "Jane Smith", email: "jane@example.com" }
}
copy={{
step1Heading: "Tell us where to send your kit",
recap: "Your kit goes to {email}",
question: "Ready to map your first funnel tonight?",
submit: "I’m ready, send my kit",
reassurance: "Secure checkout · " + s.guarantee,
}}
/>
);
}
| Name | Type | Details |
|---|---|---|
open OptionalModalTwoStep |
boolean |
|
presentation OptionalModalTwoStep |
'dialog' | 'inline' |
|
onClose OptionalModalTwoStep |
() => void |
|
productImage OptionalModalTwoStep |
string |
|
productImageAlt OptionalModalTwoStep |
string |
|
productName OptionalModalTwoStep |
string |
|
price OptionalModalTwoStep |
string |
|
headline OptionalModalTwoStep |
React.ReactNode |
|
salutation OptionalModalTwoStep |
string |
|
letter OptionalModalTwoStep |
React.ReactNode[] |
|
signoff OptionalModalTwoStep |
string |
|
signName OptionalModalTwoStep |
string |
|
lines OptionalModalTwoStep |
ModalTwoStepLine[] |
|
subtotal OptionalModalTwoStep |
string |
|
adjustments OptionalModalTwoStep |
ModalTwoStepLine[] |
|
total OptionalModalTwoStep |
string |
|
bump OptionalModalTwoStep |
ModalTwoStepBump | null |
|
copy OptionalModalTwoStep |
Partial<Omit<ModalTwoStepCopy, 'errors'>> & { errors?: Partial<ModalTwoStepCopy['errors']> } |
|
initialStep OptionalModalTwoStep |
1 | 2 |
|
initialValues OptionalModalTwoStep |
Partial<ModalTwoStepValues> |
|
state OptionalModalTwoStep |
'default' | 'hover' | 'active' | 'disabled' | 'error' |
|
disabled OptionalModalTwoStep |
boolean |
|
busy OptionalModalTwoStep |
boolean |
|
onSubmit OptionalModalTwoStep |
(values: ModalTwoStepValues) => void |
|
onStepChange OptionalModalTwoStep |
(step: 1 | 2) => void |
|
className OptionalModalTwoStep |
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--field-border--field-focus--field-ink--field-radius- 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.
product- The main product shot or cover (ebook, kit, bottle).
-
52ce2f4e2910b183.webp
image/webp · 188 KB
-
9a2ebdab5ff4fcc4.webp
image/webp · 3.64 KB
-
ad983bcb16e6d3d7.webp
image/webp · 41.7 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB