Call Booking 1
Three-step call request that qualifies the prospect before the call (pick a slot, answer two questions, leave details) so the call feels prepared. Done steps collapse into editable summary lines.
Use it in a prompt
Use forms/call-booking 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/forms/call-booking.tsx. - Import it and pass your copy and images (Props tab):
import { CallBooking } from "@/components/funneldna/forms/call-booking"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/forms/call-booking/component.tsx 786 lines
// layout: clipboard-checklist
// Three-step call request that qualifies the prospect before the call (pick a slot, answer two questions, leave details) so the call feels prepared. Done steps collapse into editable summary lines.
import * as React from "react";
import { AlertCircle, Check, Globe, Loader2, Lock, Pencil, ShieldCheck } from "lucide-react";
import { FX_HOST, Texture } from "../fx/fx";
import topo from "../fx/textures/topo";
export type CallSlot = {
/** Unique id, returned in onSubmit. */
id: string;
/** Day the slot is grouped under, e.g. "Tuesday". */
day: string;
/** Time label, e.g. "10:00 AM". */
time: string;
};
export type CallOption = { value: string; label: string };
export type CallQuestion = {
/** Key for this answer in onSubmit. */
name: string;
label: string;
/** Summary line template; {answer} becomes the chosen label. */
summary?: string;
options: CallOption[];
};
export type CallBookingValues = {
slot: CallSlot;
answers: Record<string, CallOption>;
name: string;
company: string;
email: string;
};
/** Interface copy. Templates: {current} {total} in stepOf, {day} {time} in slotSummary and slotAria, {step} in changeLabel. */
export type CallBookingCopy = typeof DEFAULT_COPY;
export type CallBookingProps = {
/** Section headline (h2). */
headline?: React.ReactNode;
/** Short paragraphs, each opening with a bold lead-in. */
points?: { lead: string; text: string }[];
/** product slot: the deliverable the prospect leaves the call with (transparent background). */
productImage?: string;
productAlt?: string;
productCaption?: string;
/** presenter slot: the person taking the call. */
presenterImage?: string;
presenterAlt?: string;
presenterIntro?: string;
presenterName?: string;
presenterRole?: string;
cardTitle?: string;
cardNote?: string;
/** Bookable times, grouped by their day label. */
slots?: CallSlot[];
/** Line under the slot heading, e.g. the time zone and call length. */
timezoneNote?: string;
/** Qualifying questions for step 2, each answered from supplied options. */
questions?: CallQuestion[];
privacy?: string;
copy?: Partial<CallBookingCopy>;
/** Prefilled answers: slot id, option values by question name, contact fields. */
initialValues?: { slotId?: string; answers?: Record<string, string>; name?: string; company?: string; email?: string };
/** Step to open on; earlier steps start as done. */
initialStep?: 0 | 1 | 2;
disabled?: boolean;
/** Shows the sending state on the submit button while the host handles the request. */
pending?: boolean;
state?: "default" | "error" | "disabled";
/** Receives every answer once the final step is valid. */
onSubmit?: (values: CallBookingValues) => void;
className?: string;
};
export function CallBooking(props: CallBookingProps) {
const {
headline = "Book your free strategy call",
points = DEFAULT_POINTS,
productImage,
productAlt = "",
productCaption,
presenterImage,
presenterAlt = "",
presenterIntro,
presenterName,
presenterRole,
cardTitle = "Request your free call",
cardNote = "Three short steps. About a minute.",
slots = DEFAULT_SLOTS,
timezoneNote,
questions = DEFAULT_QUESTIONS,
privacy,
initialValues,
initialStep = 0,
disabled: disabledProp = false,
pending = false,
state = "default",
onSubmit,
className,
} = props;
const copy: CallBookingCopy = { ...DEFAULT_COPY, ...props.copy };
const uid = React.useId();
const disabled = disabledProp || state === "disabled";
const forceErrors = state === "error";
const total = 3;
const [active, setActive] = React.useState<number>(initialStep);
const [done, setDone] = React.useState<boolean[]>(() => [0, 1, 2].map((i) => i < initialStep));
const [fresh, setFresh] = React.useState<number | null>(null);
const [slotId, setSlotId] = React.useState(initialValues?.slotId ?? "");
const [answers, setAnswers] = React.useState<Record<string, string>>(() => ({ ...initialValues?.answers }));
const [contact, setContact] = React.useState(() => ({
name: initialValues?.name ?? "",
company: initialValues?.company ?? "",
email: initialValues?.email ?? "",
}));
const [stepErrors, setStepErrors] = React.useState<boolean[]>(() => [forceErrors && initialStep === 0, forceErrors && initialStep === 1]);
const [touched, setTouched] = React.useState(() => ({ name: forceErrors, company: forceErrors, email: forceErrors }));
const headingRef = React.useRef<HTMLHeadingElement>(null);
const moved = React.useRef(false);
React.useEffect(() => {
if (moved.current) headingRef.current?.focus();
}, [active]);
const slot = slots.find((s) => s.id === slotId);
const chosen = (q: CallQuestion) => q.options.find((o) => o.value === answers[q.name]);
const answersOk = questions.every((q) => Boolean(chosen(q)));
const fieldOk = {
name: contact.name.trim().length > 1,
company: contact.company.trim().length > 0,
email: EMAIL.test(contact.email.trim()),
};
const contactOk = fieldOk.name && fieldOk.company && fieldOk.email;
const days = groupByDay(slots);
const labels = copy.stepLabels;
const busy = disabled || pending;
function goTo(i: number) {
moved.current = true;
setFresh(null);
setActive(i);
}
function advance(from: number) {
const nextDone = done.map((d, i) => (i === from ? true : d));
let next = from + 1;
while (next < total - 1 && nextDone[next]) next += 1;
moved.current = true;
setDone(nextDone);
setFresh(from);
setActive(next);
}
function handleSubmit(event: React.FormEvent<HTMLFormElement>) {
event.preventDefault();
if (busy) return;
if (active === 0) {
if (!slot) return setStepErrors((s) => [true, s[1]]);
return advance(0);
}
if (active === 1) {
if (!answersOk) return setStepErrors((s) => [s[0], true]);
return advance(1);
}
if (!slot || !answersOk || !contactOk) {
setTouched({ name: true, company: true, email: true });
return;
}
const picked: Record<string, CallOption> = {};
questions.forEach((q) => {
const o = chosen(q);
if (o) picked[q.name] = o;
});
onSubmit?.({ slot, answers: picked, name: contact.name.trim(), company: contact.company.trim(), email: contact.email.trim() });
}
const editField = (key: keyof typeof contact) => (event: React.ChangeEvent<HTMLInputElement>) => {
const value = event.target.value;
setContact((c) => ({ ...c, [key]: value }));
};
const leaveField = (key: keyof typeof contact) => () => setTouched((t) => ({ ...t, [key]: true }));
const summaryText = (i: number) =>
i === 0
? slot
? fill(copy.slotSummary, { day: slot.day, time: slot.time })
: ""
: questions
.map((q) => {
const o = chosen(q);
return o ? fill(q.summary ?? "{answer}", { answer: o.label }) : "";
})
.filter(Boolean)
.join(" · ");
const statusText = (status: string) =>
status === "done" ? copy.statusDone : status === "active" ? copy.statusCurrent : copy.statusLocked;
const title = (i: number) => (
<h4 className="cfcb-panel__title" id={`${uid}-step-${i}`} ref={headingRef} tabIndex={-1}>
{copy.stepTitles[i]}
</h4>
);
const actions = (i: number, primary: React.ReactNode, primaryDisabled = false, describedBy?: string) => (
<div className="cfcb-actions">
{i > 0 ? (
<button type="button" className="cfcb-btn2" onClick={() => goTo(i - 1)} disabled={busy}>
{copy.back}
</button>
) : null}
<button type="submit" className="cfcb-btn" disabled={busy || primaryDisabled} aria-busy={pending || undefined} aria-describedby={describedBy}>
{primary}
</button>
</div>
);
function renderPanel(i: number) {
if (i === 0) {
const errId = `${uid}-slot-error`;
const invalid = stepErrors[0] && !slot;
return (
<section className="cfcb-panel" key="panel-0" aria-labelledby={`${uid}-step-0`}>
{title(0)}
{timezoneNote ? (
<p className="cfcb-note">
<Globe className="cfcb-ic" size={16} strokeWidth={2.5} aria-hidden="true" />
{timezoneNote}
</p>
) : null}
<fieldset className={`cfcb-group${invalid ? " is-invalid" : ""}`} aria-describedby={invalid ? errId : undefined}>
<legend className="cfcb-sr">{copy.slotsLegend}</legend>
{days.map((d, di) => (
<div className="cfcb-day" key={d.day}>
<p className="cfcb-day__name" id={`${uid}-day-${di}`}>
{d.day}
</p>
<div className="cfcb-tiles cfcb-tiles--slots" role="group" aria-labelledby={`${uid}-day-${di}`}>
{d.slots.map((s) => (
<Choice
key={s.id}
name={`${uid}-slot`}
value={s.id}
label={s.time}
ariaLabel={fill(copy.slotAria, { day: s.day, time: s.time })}
checked={slotId === s.id}
onChange={() => setSlotId(s.id)}
/>
))}
</div>
</div>
))}
</fieldset>
{invalid ? <ErrorLine id={errId} text={copy.errorSlot} /> : null}
{actions(0, copy.continue)}
</section>
);
}
if (i === 1) {
return (
<section className="cfcb-panel" key="panel-1" aria-labelledby={`${uid}-step-1`}>
{title(1)}
<div className="cfcb-questions">
{questions.map((q, qi) => {
const errId = `${uid}-q${qi}-error`;
const invalid = stepErrors[1] && !chosen(q);
return (
<fieldset className={`cfcb-q${invalid ? " is-invalid" : ""}`} key={q.name} aria-describedby={invalid ? errId : undefined}>
<legend className="cfcb-q__label">{q.label}</legend>
<div className="cfcb-tiles cfcb-tiles--wide">
{q.options.map((o) => (
<Choice
key={o.value}
name={`${uid}-${q.name}`}
value={o.value}
label={o.label}
checked={answers[q.name] === o.value}
onChange={() => setAnswers((a) => ({ ...a, [q.name]: o.value }))}
/>
))}
</div>
{invalid ? <ErrorLine id={errId} text={copy.errorAnswer} /> : null}
</fieldset>
);
})}
</div>
{actions(1, copy.continue)}
</section>
);
}
const hintId = `${uid}-hint`;
const err = (key: keyof typeof contact, text: string) => (touched[key] && !fieldOk[key] ? text : undefined);
return (
<section className="cfcb-panel" key="panel-2" aria-labelledby={`${uid}-step-2`}>
{title(2)}
<div className="cfcb-fields">
<Field
id={`${uid}-name`}
label={copy.nameLabel}
autoComplete="name"
placeholder={copy.namePlaceholder}
value={contact.name}
onChange={editField("name")}
onBlur={leaveField("name")}
error={err("name", copy.errorName)}
/>
<Field
id={`${uid}-company`}
label={copy.companyLabel}
autoComplete="organization"
placeholder={copy.companyPlaceholder}
value={contact.company}
onChange={editField("company")}
onBlur={leaveField("company")}
error={err("company", copy.errorCompany)}
/>
<Field
id={`${uid}-email`}
label={copy.emailLabel}
type="email"
autoComplete="email"
placeholder={copy.emailPlaceholder}
value={contact.email}
onChange={editField("email")}
onBlur={leaveField("email")}
error={err("email", copy.errorEmail)}
wide
/>
</div>
{copy.riskLine ? (
<p className="cfcb-risk">
<ShieldCheck className="cfcb-ic" size={20} strokeWidth={2.5} aria-hidden="true" />
{copy.riskLine}
</p>
) : null}
{actions(
2,
pending ? (
<>
<Loader2 className="cfcb-spin" size={20} strokeWidth={2.5} aria-hidden="true" />
{copy.sending}
</>
) : (
copy.submit
),
!contactOk,
!contactOk ? hintId : undefined,
)}
{!contactOk ? (
<p className="cfcb-hint" id={hintId}>
{copy.submitHint}
</p>
) : null}
{privacy ? (
<p className="cfcb-privacy">
<Lock className="cfcb-ic" size={16} strokeWidth={2.5} aria-hidden="true" />
{privacy}
</p>
) : null}
</section>
);
}
function renderSummary(i: number) {
return (
<div className={`cfcb-sum${fresh === i ? " is-fresh" : ""}`} key={`summary-${i}`}>
<span className="cfcb-sum__badge" aria-hidden="true">
<Check size={16} strokeWidth={3} />
</span>
<div className="cfcb-sum__text">
<p className="cfcb-sum__value">{summaryText(i)}</p>
<p className="cfcb-sum__note">{i === 0 ? copy.slotNote : copy.answersNote}</p>
</div>
<button
type="button"
className="cfcb-sum__edit"
onClick={() => goTo(i)}
disabled={busy}
aria-label={fill(copy.changeLabel, { step: labels[i] })}
>
<Pencil size={16} strokeWidth={2.5} aria-hidden="true" />
{copy.change}
</button>
</div>
);
}
return (
<section className={`cf-call-booking${className ? ` ${className}` : ""}`} aria-labelledby={`${uid}-headline`}>
<style>{CSS}</style>
<div className="cfcb-copy">
<h2 className="cfcb-title" id={`${uid}-headline`}>
{headline}
</h2>
{points.length > 0 ? (
<div className="cfcb-points">
{points.map((p) => (
<p key={p.lead}>
<strong>{p.lead}</strong> {p.text}
</p>
))}
</div>
) : null}
</div>
{productImage ? (
<figure className="cfcb-figure">
<img src={productImage} alt={productAlt} width={640} height={640} loading="lazy" decoding="async" />
{productCaption ? <figcaption>{productCaption}</figcaption> : null}
</figure>
) : null}
<div className="cfcb-stage" style={FX_HOST}>
<Texture src={topo} tone="band-ink" />
<div className="cfcb-stage__inner">
{presenterImage || presenterName ? (
<div className="cfcb-host">
{presenterImage ? <img src={presenterImage} alt={presenterAlt} width={128} height={128} /> : null}
<div>
{presenterIntro ? <p className="cfcb-host__intro">{presenterIntro}</p> : null}
{presenterName ? <p className="cfcb-host__name">{presenterName}</p> : null}
{presenterRole ? <p className="cfcb-host__role">{presenterRole}</p> : null}
</div>
</div>
) : null}
<form className="cfcb-card" noValidate onSubmit={handleSubmit} aria-labelledby={`${uid}-card`}>
<h3 className="cfcb-card__title" id={`${uid}-card`}>
{cardTitle}
</h3>
{cardNote ? <p className="cfcb-card__note">{cardNote}</p> : null}
<nav className="cfcb-steps" aria-label={copy.stepNav}>
<ol className="cfcb-seg">
{labels.slice(0, total).map((label, i) => {
const status = i === active ? "active" : done[i] ? "done" : "locked";
return (
<li key={`${label}-${i}`}>
<button
type="button"
className={`cfcb-seg__btn is-${status}`}
aria-current={status === "active" ? "step" : undefined}
aria-disabled={status === "active" || undefined}
disabled={status === "locked" || (status === "done" && busy)}
onClick={status === "done" ? () => goTo(i) : undefined}
>
<span className="cfcb-seg__badge" aria-hidden="true">
{status === "done" ? (
<Check size={16} strokeWidth={3} />
) : status === "locked" ? (
<Lock size={16} strokeWidth={2.5} />
) : (
i + 1
)}
</span>
<span className="cfcb-seg__label">
{label}
<span className="cfcb-sr">{`, ${statusText(status)}`}</span>
</span>
</button>
</li>
);
})}
</ol>
<div className="cfcb-compact">
<p className="cfcb-compact__row">
<span className="cfcb-compact__count">{fill(copy.stepOf, { current: active + 1, total })}</span>
<span className="cfcb-compact__label">{labels[active]}</span>
</p>
<div className="cfcb-compact__bar" aria-hidden="true">
<span style={{ width: `${((active + 1) / total) * 100}%` }} />
</div>
</div>
</nav>
<fieldset className="cfcb-fs" disabled={disabled}>
<div className="cfcb-body">
{[0, 1, 2].map((i) => {
if (i === active) return renderPanel(i);
if (i < total - 1 && done[i]) return renderSummary(i);
return null;
})}
</div>
</fieldset>
</form>
</div>
</div>
</section>
);
}
export default CallBooking;
function Choice(props: { name: string; value: string; label: string; ariaLabel?: string; checked: boolean; onChange: () => void }) {
return (
<label className="cfcb-choice">
<input type="radio" name={props.name} value={props.value} checked={props.checked} onChange={props.onChange} aria-label={props.ariaLabel} />
<span className="cfcb-choice__tile">
<span className="cfcb-choice__mark" aria-hidden="true">
<Check size={14} strokeWidth={3} />
</span>
<span>{props.label}</span>
</span>
</label>
);
}
function Field(props: {
id: string;
label: string;
type?: string;
autoComplete: string;
placeholder: string;
value: string;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
onBlur: () => void;
error?: string;
wide?: boolean;
}) {
const errId = `${props.id}-error`;
return (
<div className={`cfcb-field${props.wide ? " cfcb-field--wide" : ""}`}>
<label htmlFor={props.id}>{props.label}</label>
<input
id={props.id}
type={props.type ?? "text"}
autoComplete={props.autoComplete}
placeholder={props.placeholder}
value={props.value}
onChange={props.onChange}
onBlur={props.onBlur}
aria-invalid={props.error ? true : undefined}
aria-describedby={props.error ? errId : undefined}
required
/>
{props.error ? <ErrorLine id={errId} text={props.error} /> : null}
</div>
);
}
function ErrorLine({ id, text }: { id: string; text: string }) {
return (
<p className="cfcb-error" id={id} role="alert">
<AlertCircle className="cfcb-ic" size={16} strokeWidth={2.5} aria-hidden="true" />
{text}
</p>
);
}
function groupByDay(slots: CallSlot[]) {
const groups: { day: string; slots: CallSlot[] }[] = [];
slots.forEach((s) => {
const group = groups.find((g) => g.day === s.day);
if (group) group.slots.push(s);
else groups.push({ day: s.day, slots: [s] });
});
return groups;
}
function fill(template: string, vars: Record<string, string | number>) {
return Object.keys(vars).reduce((out, key) => out.split(`{${key}}`).join(String(vars[key])), template);
}
const EMAIL = /^[^@ ]+@[^@ ]+[.][^@ .]{2,}$/;
const DEFAULT_POINTS = [
{ lead: "Pick a time that suits you.", text: "Choose a 30-minute slot from the open times." },
{ lead: "Answer two quick questions.", text: "We read them before the call, so the time goes on your plan, not on intake." },
{ lead: "Leave with clear next steps.", text: "You hang up knowing exactly what to do next, whether you work with us or not." },
];
const DEFAULT_SLOTS: CallSlot[] = [
{ id: "mon-1000", day: "Monday", time: "10:00 AM" },
{ id: "mon-1300", day: "Monday", time: "1:00 PM" },
{ id: "mon-1530", day: "Monday", time: "3:30 PM" },
{ id: "tue-0930", day: "Tuesday", time: "9:30 AM" },
{ id: "tue-1100", day: "Tuesday", time: "11:00 AM" },
{ id: "tue-1400", day: "Tuesday", time: "2:00 PM" },
];
const DEFAULT_QUESTIONS: CallQuestion[] = [
{
name: "teamSize",
label: "How many people are on your team?",
summary: "Team of {answer}",
options: [
{ value: "1", label: "Just me" },
{ value: "2-10", label: "2–10" },
{ value: "11-50", label: "11–50" },
{ value: "51-plus", label: "51+" },
],
},
{
name: "budget",
label: "What do you invest in this each month?",
summary: "{answer} a month",
options: [
{ value: "under-1k", label: "Under $1k" },
{ value: "1k-5k", label: "$1k–$5k" },
{ value: "5k-20k", label: "$5k–$20k" },
{ value: "20k-plus", label: "$20k+" },
],
},
];
const DEFAULT_COPY = {
stepLabels: ["Pick a time", "Quick questions", "Your details"],
stepTitles: ["Pick a 30-minute slot that suits you", "Two questions so we come prepared", "Where should we send your invite?"],
stepNav: "Call request steps",
stepOf: "{current} of {total}",
statusDone: "done, select to change",
statusCurrent: "current step",
statusLocked: "opens after the earlier steps",
slotsLegend: "Open times",
slotAria: "{day}, {time}",
slotSummary: "{day} · {time}",
slotNote: "Your call time",
answersNote: "Your answers",
change: "Change",
changeLabel: "Change: {step}",
continue: "Continue",
back: "Back",
submit: "Request my free call",
sending: "Sending your request…",
riskLine: "Free call. No obligation.",
submitHint: "Fill in your name, company and work email to send your request.",
nameLabel: "Full name",
namePlaceholder: "Jane Smith",
companyLabel: "Company",
companyPlaceholder: "Brightline Supply Co.",
emailLabel: "Work email",
emailPlaceholder: "jane@company.com",
errorSlot: "Pick a time to continue.",
errorAnswer: "Choose an answer to continue.",
errorName: "Enter your full name.",
errorCompany: "Enter your company name.",
errorEmail: "Enter a work email like jane@company.com.",
};
const CSS = `
.cf-call-booking{--cfcb-g:clamp(16px,5vw,48px);--cfcb-gap:clamp(32px,5vw,72px);--cfcb-pt:clamp(56px,8vw,112px);--cfcb-pb:clamp(64px,8.5vw,120px);--cfcb-shadow:var(--shadow,oklch(0.22 0.03 256));--cfcb-focus:oklch(from var(--field-focus,var(--accent)) l c h / 0.45);position:relative;display:grid;grid-template-columns:var(--cfcb-g) minmax(0,1fr) var(--cfcb-g);background:var(--surface);color:var(--ink);font-family:var(--font-body);font-size:1.0625rem;line-height:1.5;overflow-x:clip}
.cf-call-booking *,.cf-call-booking *::before,.cf-call-booking *::after{box-sizing:border-box}
.cf-call-booking :where(h2,h3,h4,p,ol,figure,figcaption,fieldset,legend){margin:0;padding:0}
.cf-call-booking :where(ol){list-style:none}
.cfcb-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cfcb-copy,.cfcb-figure,.cfcb-stage__inner{grid-column:2;width:100%;max-width:40rem;justify-self:center}
.cfcb-copy{grid-row:1;padding-top:var(--cfcb-pt);padding-bottom:24px}
.cfcb-title{font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;text-wrap:balance;color:var(--ink)}
.cfcb-points{display:grid;gap:16px;margin-top:16px}
.cfcb-points p{font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;max-width:60ch;text-wrap:pretty}
.cfcb-points strong{font-weight:700}
.cfcb-figure{grid-row:2;padding-bottom:40px;display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:center}
.cfcb-figure img{display:block;width:104px;height:104px;object-fit:contain;filter:drop-shadow(0 2px 3px oklch(from var(--cfcb-shadow) l c h / 0.28)) drop-shadow(0 12px 16px oklch(from var(--cfcb-shadow) l c h / 0.22))}
.cfcb-figure figcaption{font-size:0.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cfcb-stage{grid-column:1/-1;grid-row:3;position:relative;display:grid;grid-template-columns:subgrid;background:var(--band);color:var(--band-ink);padding-block:40px 64px}
.cfcb-stage__inner{position:relative;z-index:1;align-self:start;min-width:0}
.cfcb-host{display:flex;align-items:center;gap:16px;margin-bottom:24px;color:var(--band-ink)}
.cfcb-host img{flex:none;display:block;width:64px;height:64px;border-radius:12px;object-fit:cover;object-position:50% 25%}
.cfcb-host__intro,.cfcb-host__role{font-size:0.9375rem;font-weight:500;line-height:1.4}
.cfcb-host__name{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.2}
.cfcb-card{container-type:inline-size;display:block;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)));padding:clamp(20px,3vw,32px)}
.cfcb-card__title{font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:-0.01em;font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cfcb-card__note{margin-top:8px;font-size:0.9375rem;font-weight:500;line-height:1.4;color:var(--muted)}
.cfcb-steps{margin-top:20px}
.cfcb-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:calc(var(--button-radius,var(--radius,12px)) + 4px);background:color-mix(in oklch,var(--ink) 5%,var(--card))}
.cfcb-seg__btn{appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 12px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:transparent;font:inherit;font-size:0.9375rem;font-weight:700;line-height:1.2;text-align:left;color:var(--muted);cursor:default;transition:background .16s ease,box-shadow .16s ease,color .16s ease}
.cfcb-seg__btn.is-active{background:var(--card);color:var(--ink);box-shadow:var(--shadow-sm,0 1px 2px oklch(0.22 0.03 256 / 0.2))}
.cfcb-seg__btn.is-done{color:var(--ink);cursor:pointer}
.cfcb-seg__btn.is-done:hover:not(:disabled){background:color-mix(in oklch,var(--ink) 9%,var(--card))}
.cfcb-seg__btn.is-done:active:not(:disabled){background:color-mix(in oklch,var(--ink) 12%,var(--card))}
.cfcb-seg__btn.is-locked{cursor:not-allowed}
.cfcb-seg__btn:focus-visible{outline:3px solid var(--cfcb-focus);outline-offset:2px}
.cfcb-seg__badge{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:999px;font-family:var(--font-display);font-weight:800;font-size:0.875rem;font-variant-numeric:tabular-nums}
.is-active .cfcb-seg__badge{background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card))}
.is-done .cfcb-seg__badge{background:var(--success);color:var(--success-ink,#fff)}
.is-locked .cfcb-seg__badge{background:color-mix(in oklch,var(--ink) 10%,var(--card));color:var(--muted)}
.cfcb-seg__label{min-width:0;text-wrap:balance}
.cfcb-compact{display:none}
.cfcb-compact__row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.cfcb-compact__count{font-family:var(--font-display);font-weight:800;font-size:0.875rem;font-variant-numeric:tabular-nums;color:var(--accent);white-space:nowrap}
.cfcb-compact__label{font-size:1.0625rem;font-weight:700;color:var(--ink)}
.cfcb-compact__bar{margin-top:12px;height:4px;border-radius:999px;overflow:hidden;background:color-mix(in oklch,var(--ink) 10%,var(--card))}
.cfcb-compact__bar span{display:block;height:100%;border-radius:inherit;background:var(--accent-fill,var(--accent));transition:width .45s cubic-bezier(.2,.7,.2,1)}
.cfcb-fs{border:0;margin:0;padding:0;min-width:0}
.cfcb-body{display:grid;gap:12px;margin-top:20px}
.cfcb-sum{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 8px 12px 16px;border-radius:10px;background:color-mix(in oklch,var(--ink) 4%,var(--card))}
.cfcb-sum__badge{display:grid;place-items:center;width:28px;height:28px;margin-top:2px;border-radius:999px;background:var(--success);color:var(--success-ink,#fff)}
.cfcb-sum__value{font-size:1.0625rem;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums;text-wrap:pretty}
.cfcb-sum__note{margin-top:2px;font-size:0.9375rem;font-weight:500;line-height:1.4;color:var(--muted)}
.cfcb-sum__edit{appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:0;border-radius:calc(var(--button-radius,var(--radius,12px)) - 4px);background:transparent;font:inherit;font-size:0.9375rem;font-weight:700;color:var(--link,var(--accent));text-decoration:underline;text-decoration-color:oklch(from var(--link,var(--accent)) l c h / 0.45);text-underline-offset:0.18em;cursor:pointer;transition:background .16s ease,color .16s ease}
.cfcb-sum__edit:hover:not(:disabled){color:oklch(from var(--link,var(--accent)) calc(l - 0.08) c h);text-decoration-color:currentColor;background:color-mix(in oklch,var(--ink) 6%,var(--card))}
.cfcb-sum__edit:active:not(:disabled){background:color-mix(in oklch,var(--ink) 10%,var(--card))}
.cfcb-sum__edit:focus-visible{outline:3px solid var(--cfcb-focus);outline-offset:2px}
.cfcb-sum__edit:disabled{cursor:not-allowed;color:var(--muted);text-decoration-color:currentColor}
.cfcb-panel{padding-top:4px}
.cfcb-sum + .cfcb-panel{padding-top:12px}
.cfcb-panel__title{font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.25;text-wrap:balance;outline:none}
.cfcb-note{margin-top:8px;font-size:0.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cfcb-ic{display:inline-block;vertical-align:-0.15em;margin-inline-end:0.4em}
.cfcb-group{border:0;min-width:0;margin-top:20px}
.cfcb-day + .cfcb-day{margin-top:16px}
.cfcb-day__name{margin-bottom:8px;font-size:1rem;font-weight:700;line-height:1.3;color:var(--label-ink,var(--ink))}
.cfcb-tiles{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(8.25rem,1fr))}
.cfcb-tiles--wide{grid-template-columns:repeat(2,minmax(0,1fr))}
.cfcb-choice{position:relative;display:block;min-width:0}
.cfcb-choice input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cfcb-choice__tile{display:flex;align-items:center;gap:10px;height:100%;min-height:48px;padding:10px 14px;border:1px solid oklch(from var(--ink) l c h / 0.16);border-radius:var(--field-radius,var(--radius,12px));background:color-mix(in oklch,var(--ink) 4%,var(--card));font-size:1.0625rem;font-weight:600;line-height:1.25;color:var(--ink);font-variant-numeric:tabular-nums;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.cfcb-choice:hover .cfcb-choice__tile{border-color:oklch(from var(--ink) l c h / 0.36);background:color-mix(in oklch,var(--ink) 7%,var(--card))}
.cfcb-choice input:active + .cfcb-choice__tile{transform:scale(.98)}
.cfcb-choice input:checked + .cfcb-choice__tile{border-color:var(--accent);background:color-mix(in oklch,var(--accent) 12%,var(--card));box-shadow:inset 0 0 0 1px var(--accent),var(--shadow-sm,0 1px 2px oklch(0.22 0.03 256 / 0.2))}
.cfcb-choice input:focus-visible + .cfcb-choice__tile{outline:3px solid var(--cfcb-focus);outline-offset:2px}
.cfcb-choice__mark{flex:none;display:grid;place-items:center;width:20px;height:20px;border:2px solid oklch(from var(--ink) l c h / 0.35);border-radius:999px;background:var(--card);color:transparent;transition:background .16s ease,border-color .16s ease}
.cfcb-choice input:checked + .cfcb-choice__tile .cfcb-choice__mark{border-color:var(--accent-fill,var(--accent));background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card))}
.is-invalid .cfcb-choice__tile{border-color:var(--danger)}
.cfcb-choice input:disabled{cursor:not-allowed}
.cfcb-choice:has(input:disabled):hover .cfcb-choice__tile{border-color:oklch(from var(--ink) l c h / 0.16);background:color-mix(in oklch,var(--ink) 4%,var(--card))}
.cfcb-choice input:disabled + .cfcb-choice__tile{color:var(--muted)}
.cfcb-questions{display:grid;gap:20px;margin-top:20px}
.cfcb-q{border:0;min-width:0}
.cfcb-q__label{float:left;width:100%;margin-bottom:12px;font-size:1.0625rem;font-weight:700;line-height:1.35;color:var(--label-ink,var(--ink));text-wrap:pretty}
.cfcb-q .cfcb-tiles{clear:both}
.cfcb-error{margin-top:8px;font-size:0.9375rem;font-weight:600;line-height:1.4;color:var(--danger);text-wrap:pretty}
.cfcb-fields{display:grid;gap:16px;margin-top:20px}
.cfcb-field{min-width:0}
.cfcb-field label{display:block;margin-bottom:8px;font-size:1.0625rem;font-weight:700;line-height:1.3;color:var(--label-ink,var(--ink))}
.cfcb-field input{display:block;width:100%;height:56px;padding:0 16px;border:1px solid var(--field-border,color-mix(in oklch,var(--ink) 22%,transparent));border-radius:var(--field-radius,var(--radius,12px));background:var(--field);color:var(--field-ink);font:inherit;font-size:1.0625rem;transition:border-color .16s ease,box-shadow .16s ease}
.cfcb-field input::placeholder{color:color-mix(in oklch,var(--field-ink) 65%,var(--field));opacity:1}
.cfcb-field input:hover:not(:disabled):not(:focus){border-color:color-mix(in oklch,var(--field-ink) 42%,var(--field))}
.cfcb-field input:focus{outline:none;border-color:var(--field-focus,var(--accent));box-shadow:0 0 0 3px oklch(from var(--field-focus,var(--accent)) l c h / 0.35)}
.cfcb-field input[aria-invalid=true]{border-color:var(--danger)}
.cfcb-field input[aria-invalid=true]:focus{box-shadow:0 0 0 3px oklch(from var(--danger) l c h / 0.3)}
.cfcb-field input:disabled{cursor:not-allowed;background:color-mix(in oklch,var(--field-ink) 6%,var(--field))}
.cfcb-risk{margin-top:24px;font-size:1.0625rem;font-weight:700;line-height:1.4;text-wrap:pretty}
.cfcb-risk .cfcb-ic{color:var(--success)}
.cfcb-actions{display:flex;gap:12px;margin-top:24px}
.cfcb-risk + .cfcb-actions{margin-top:12px}
.cfcb-btn,.cfcb-btn2{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 28px;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;text-align:center;text-wrap:balance;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cfcb-btn{flex:1 1 auto;border:0;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) 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(--button-bg,var(--cta)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--cfcb-shadow) l c h / 0.3),0 8px 16px -6px oklch(from var(--cfcb-shadow) l c h / 0.38))}
.cfcb-btn:hover:not(:disabled){background:linear-gradient(oklch(from var(--button-bg,var(--cta)) 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(--button-bg,var(--cta)) calc(l + 0.1) c h / 0.6),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.2) c h),0 1px 2px oklch(from var(--cfcb-shadow) l c h / 0.34),0 10px 18px -6px oklch(from var(--cfcb-shadow) l c h / 0.46))}
.cfcb-btn:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - 0.22) c h / 0.55),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 1px oklch(from var(--cfcb-shadow) l c h / 0.3)}
.cfcb-btn:focus-visible,.cfcb-btn2:focus-visible{outline:3px solid var(--cfcb-focus);outline-offset:3px}
.cfcb-btn:disabled{cursor:not-allowed;background:var(--secondary);color:var(--secondary-ink);text-shadow:none;box-shadow:none}
.cfcb-btn[aria-busy=true]:disabled{cursor:progress;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + 0.04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.02) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - 0.22) c h / 0.45)}
.cfcb-btn2{flex:0 0 auto;color:var(--button-2-ink,var(--secondary-ink));background:var(--button-2-bg,var(--secondary));border:1px solid var(--button-2-border,transparent);box-shadow:var(--button-2-shadow,var(--shadow-sm))}
.cfcb-btn2:hover:not(:disabled){background:oklch(from var(--button-2-bg,var(--secondary)) calc(l - 0.035) c h)}
.cfcb-btn2:active:not(:disabled){transform:translateY(1px);box-shadow:none}
.cfcb-btn2:disabled{cursor:not-allowed;color:color-mix(in oklch,var(--secondary-ink) 55%,var(--secondary))}
.cfcb-hint,.cfcb-privacy{font-size:0.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cfcb-hint{margin-top:12px}
.cfcb-privacy{margin-top:12px}
.cfcb-hint + .cfcb-privacy{margin-top:4px}
@container (max-width:30rem){
.cfcb-seg{display:none}
.cfcb-compact{display:block}
.cfcb-actions{flex-direction:column-reverse}
.cfcb-actions > button{width:100%}
.cfcb-tiles--slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.cfcb-tiles--slots .cfcb-choice__tile{justify-content:center;padding:10px 4px;font-size:1rem;white-space:nowrap}
.cfcb-tiles--slots .cfcb-choice__mark{display:none}
}
@container (min-width:30rem){
.cfcb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.cfcb-field--wide{grid-column:1/-1}
}
@media (min-width:1080px){
.cf-call-booking{grid-template-columns:max(var(--cfcb-g),calc((100% - 1120px) / 2)) minmax(0,5fr) var(--cfcb-gap) minmax(0,7fr) max(var(--cfcb-g),calc((100% - 1120px) / 2));grid-template-rows:auto 1fr}
.cfcb-copy,.cfcb-figure,.cfcb-stage__inner{max-width:none;justify-self:stretch}
.cfcb-copy,.cfcb-figure{padding-right:clamp(24px,2.5vw,40px)}
.cfcb-copy{grid-column:2;grid-row:1;padding-bottom:32px}
.cfcb-figure{grid-column:2;grid-row:2;display:block;padding-bottom:var(--cfcb-pb);align-self:start}
.cfcb-figure img{width:100%;max-width:400px;height:auto;aspect-ratio:1}
.cfcb-figure figcaption{margin-top:12px;max-width:44ch}
.cfcb-stage{grid-column:3/-1;grid-row:1/3;padding-top:var(--cfcb-pt);padding-bottom:var(--cfcb-pb)}
.cfcb-stage__inner{grid-column:2}
}
@keyframes cfcb-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cfcb-pop{from{transform:scale(.9)}to{transform:scale(1)}}
@keyframes cfcb-spin{to{transform:rotate(360deg)}}
.cfcb-panel{animation:cfcb-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cfcb-sum.is-fresh{animation:cfcb-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cfcb-sum.is-fresh .cfcb-sum__badge{animation:cfcb-pop .3s cubic-bezier(.2,.7,.2,1) .07s both}
.cfcb-spin{animation:cfcb-spin .8s linear infinite}
@media (prefers-reduced-motion:reduce){
.cf-call-booking *,.cf-call-booking .cfcb-field input,.cf-call-booking .cfcb-compact__bar span{transition:none}
.cf-call-booking .cfcb-panel,.cf-call-booking .cfcb-sum.is-fresh,.cf-call-booking .cfcb-sum.is-fresh .cfcb-sum__badge,.cf-call-booking .cfcb-spin{animation:none}
.cf-call-booking .cfcb-choice input:active + .cfcb-choice__tile,.cf-call-booking .cfcb-btn:active:not(:disabled),.cf-call-booking .cfcb-btn2:active:not(:disabled){transform:none}
}
`;
pieces/forms/call-booking/specimen.tsx 107 lines
import __studioImage3da3d249 from "../assets/8221e934590eefcb.webp";
import __studioImagebb145fdb from "../assets/1335a19c8b99ab54.webp";
// Specimen: the fictional Northwind freight cost audit, booked as a three-step call request.
import * as React from "react";
import CallBooking from "../call-booking";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
type Props = React.ComponentProps<typeof CallBooking>;
export const states = ["default", "active", "error", "disabled"];
const SLOTS: Props["slots"] = [
{ id: "tue-0930", day: "Tuesday", time: "9:30 AM" },
{ id: "tue-1100", day: "Tuesday", time: "11:00 AM" },
{ id: "tue-1400", day: "Tuesday", time: "2:00 PM" },
{ id: "wed-1000", day: "Wednesday", time: "10:00 AM" },
{ id: "wed-1330", day: "Wednesday", time: "1:30 PM" },
{ id: "wed-1600", day: "Wednesday", time: "4:00 PM" },
{ id: "thu-0900", day: "Thursday", time: "9:00 AM" },
{ id: "thu-1230", day: "Thursday", time: "12:30 PM" },
{ id: "thu-1530", day: "Thursday", time: "3:30 PM" },
];
const QUESTIONS: Props["questions"] = [
{
name: "companySize",
label: "How many people work at your company?",
summary: "{answer} employees",
options: [
{ value: "under-50", label: "Under 50" },
{ value: "50-199", label: "50–199" },
{ value: "200-999", label: "200–999" },
{ value: "1000-plus", label: "1,000+" },
],
},
{
name: "freightSpend",
label: "What do you spend on freight each month?",
summary: "{answer} freight a month",
options: [
{ value: "under-10k", label: "Under $10k" },
{ value: "10k-50k", label: "$10k–$50k" },
{ value: "50k-250k", label: "$50k–$250k" },
{ value: "250k-plus", label: "$250k+" },
],
},
];
const PRESETS: Record<string, Pick<Props, "initialStep" | "initialValues">> = {
active: { initialStep: 1, initialValues: { slotId: "wed-1000", answers: { companySize: "50-199" } } },
error: {
initialStep: 2,
initialValues: {
slotId: "wed-1000",
answers: { companySize: "50-199", freightSpend: "50k-250k" },
name: "Jordan Ellis",
company: "Harbor & Pine Goods",
email: "jordan@harborpine",
},
},
};
export default function CallBookingSpecimen({ state = "default" }: { state?: string }) {
const preset = PRESETS[state] ?? {};
return (
<CallBooking
key={state}
headline="Find the money hiding in your freight bills"
points={[
{ lead: "Bring last month's invoices.", text: "We walk your lanes, carriers and surcharges with you, line by line." },
{ lead: "We prepare before we dial in.", text: "Your two answers tell us which rates to benchmark ahead of the call." },
{ lead: "You keep the audit sheet.", text: "Every overcharge we flag goes into a written summary, whether you work with us or not." },
]}
productImage={slot(
"product",
__studioImage3da3d249,
)}
productAlt="Clipboard holding a printed freight cost audit with charts and ticked rows"
productCaption="The audit sheet you leave the call with: every overcharge we flag, line by line."
presenterImage={slot(
"presenter",
__studioImagebb145fdb,
)}
presenterAlt="Maya Lindqvist, freight audit lead"
presenterIntro="Your audit call is with"
presenterName="Maya Lindqvist"
presenterRole="Freight audit lead, Northwind"
cardTitle="Request your free freight cost audit"
cardNote="Three short steps. About a minute."
slots={SLOTS}
timezoneNote="All times Eastern (ET). Each call runs 30 minutes."
questions={QUESTIONS}
privacy={defaults.sample.registration.privacy}
copy={{
stepLabels: ["Pick a time", "Your freight", "Your details"],
stepTitles: ["Pick a 30-minute slot that suits you", "Two questions so we benchmark the right rates", "Where should we send your invite?"],
submit: "Request my free audit",
riskLine: "Free 30-minute call. No obligation, no sales deck.",
companyPlaceholder: "Harbor & Pine Goods",
submitHint: "Add your name, company and work email to send your request.",
}}
state={state === "error" || state === "disabled" ? state : "default"}
{...preset}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalCallBooking |
React.ReactNode |
|
points OptionalCallBooking |
{ lead: string; text: string }[] |
|
productImage OptionalCallBooking |
string |
|
productAlt OptionalCallBooking |
string |
|
productCaption OptionalCallBooking |
string |
|
presenterImage OptionalCallBooking |
string |
|
presenterAlt OptionalCallBooking |
string |
|
presenterIntro OptionalCallBooking |
string |
|
presenterName OptionalCallBooking |
string |
|
presenterRole OptionalCallBooking |
string |
|
cardTitle OptionalCallBooking |
string |
|
cardNote OptionalCallBooking |
string |
|
slots OptionalCallBooking |
CallSlot[] |
|
timezoneNote OptionalCallBooking |
string |
|
questions OptionalCallBooking |
CallQuestion[] |
|
privacy OptionalCallBooking |
string |
|
copy OptionalCallBooking |
Partial<CallBookingCopy> |
|
initialValues OptionalCallBooking |
{ slotId?: string; answers?: Record<string, string>; name?: string; company?: string; email?: string } |
|
initialStep OptionalCallBooking |
0 | 1 | 2 |
|
disabled OptionalCallBooking |
boolean |
|
pending OptionalCallBooking |
boolean |
|
state OptionalCallBooking |
"default" | "error" | "disabled" |
|
onSubmit OptionalCallBooking |
(values: CallBookingValues) => void |
|
className OptionalCallBooking |
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-border--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.
presenter- A photo of the host, coach or founder.
product- The main product shot or cover (ebook, kit, bottle).
-
1335a19c8b99ab54.webp
image/webp · 47.4 KB
-
8221e934590eefcb.webp
image/webp · 49.2 KB
-
a57ca5c86a05001f.webp
image/webp · 108 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB