Preorder Confirmed Hero 1
Pre-order confirmed hero: names what they reserved, shows the ship window and the live build stage, says plainly when the card is charged and how to change or cancel, then gives one next action. Honest future pacing keeps pre-order buyers waiting with confidence instead of asking for refunds.
Use it in a prompt
Use hero/preorder-confirmed-hero 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/hero/preorder-confirmed-hero.tsx. - Import it and pass your copy and images (Props tab):
import { PreorderConfirmedHero } from "@/components/funneldna/hero/preorder-confirmed-hero"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/preorder-confirmed-hero/component.tsx 375 lines
// layout: split-contrast
// Pre-order confirmed hero: names what they reserved, shows the ship window and the live build stage, says plainly when the card is charged and how to change or cancel, then gives one next action. Honest future pacing keeps pre-order buyers waiting with confidence instead of asking for refunds.
import * as React from "react";
import { Check, CreditCard, RotateCcw } from "lucide-react";
import { Spot } from "../fx/fx";
import truck from "../fx/spots/truck";
export type PreorderStage = {
label: string;
/** Supplied date for this stage, e.g. "Started Nov 18" */
date?: string;
/** One-line build update shown in the stage tooltip (inline on phones) */
update?: React.ReactNode;
};
export type PreorderConfirmedHeroCopy = typeof DEFAULT_COPY;
export type PreorderConfirmedHeroProps = {
/** What they reserved, by name; fills {product} */
productName?: string;
/** Buyer's first name; fills {name}. When omitted the no-name headline is used */
firstName?: string;
/** "product" slot: studio shot on a transparent background */
productImage?: string;
productImageAlt?: string;
lead?: React.ReactNode;
/** Order facts line, e.g. batch, order number, colour */
orderDetail?: React.ReactNode;
/** Supplied ship window, shown in large type */
shipWindow?: string;
stages?: PreorderStage[];
/** Index of the stage the build is in now */
currentStage?: number;
/** When the card is charged: already today, or when the order ships */
chargeTiming?: "now" | "ship";
chargeAmount?: string;
/** How to change or cancel, in the seller's own words */
changePolicy?: React.ReactNode;
manageHref?: string;
/** When supplied, the action becomes "Move up the ship list by sharing" */
referralUrl?: string;
/** Build updates page for the "Follow the build" action */
updatesHref?: string;
onAction?: (action: "share" | "follow", url?: string) => void;
/** One plain line under the button; defaults per action */
actionNote?: React.ReactNode;
/** P.S. line under the action */
ps?: React.ReactNode;
/** Every visible word; templates use {product}, {name} and {amount} */
copy?: Partial<PreorderConfirmedHeroCopy>;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
export function PreorderConfirmedHero(props: PreorderConfirmedHeroProps) {
const {
productName = "order",
firstName,
productImage,
orderDetail,
shipWindow,
chargeTiming,
chargeAmount,
changePolicy,
manageHref,
referralUrl,
updatesHref,
onAction,
actionNote,
ps,
state = "default",
className,
} = props;
const copy = { ...DEFAULT_COPY, ...props.copy };
const stages = props.stages ?? DEFAULT_STAGES;
const current = stages.length ? Math.min(Math.max(props.currentStage ?? 1, 0), stages.length - 1) : -1;
const lead = props.lead ?? copy.lead;
const imageAlt = props.productImageAlt ?? fill(copy.imageAlt, { product: productName });
const uid = React.useId();
const [open, setOpen] = React.useState<number | null>(null);
const shown = open ?? (state === "hover" ? current : null);
const disabled = state === "disabled";
const tpl = firstName ? copy.headline : copy.headlineNoName;
const parts = fill(tpl, { name: firstName ?? "" }).split("{product}");
let charge: string | null = null;
if (chargeTiming === "now") charge = chargeAmount ? fill(copy.chargedNow, { amount: chargeAmount }) : copy.chargedNowNoAmount;
if (chargeTiming === "ship") charge = chargeAmount ? fill(copy.chargedAtShip, { amount: chargeAmount }) : copy.chargedAtShipNoAmount;
const hasChange = changePolicy != null || !!manageHref;
const mode: "share" | "follow" = referralUrl ? "share" : "follow";
const href = mode === "share" ? referralUrl : updatesHref;
const label = mode === "share" ? copy.shareLabel : copy.followLabel;
const note = actionNote ?? (mode === "share" ? copy.shareNote : copy.followNote);
const handle = (e: React.MouseEvent) => {
if (disabled) return;
if (onAction) {
e.preventDefault();
onAction(mode, href);
}
};
const statusText = { done: copy.statusDone, current: copy.statusCurrent, upcoming: copy.statusUpcoming };
return (
<section className={`cf-pch${className ? ` ${className}` : ""}`} data-state={state}>
<style>{CSS}</style>
<div className="cf-pch__block" aria-hidden="true" />
<div className="cf-pch__sliver" aria-hidden="true" />
<div className="cf-pch__wrap">
<div className="cf-pch__media">
{productImage ? (
<img className="cf-pch__img" src={productImage} alt={imageAlt} width={720} height={720} fetchPriority="high" />
) : (
<div className="cf-pch__spot">
<Spot src={truck} size={168} tone="accent-fill" shade="band" light="band-ink" />
</div>
)}
</div>
<div className="cf-pch__copy">
<h1 className="cf-pch__h1">
{parts.length > 1 ? (
<>
{parts[0]}
<span className="cf-pch__product">{productName}</span>
{parts.slice(1).join(productName)}
</>
) : (
parts[0]
)}
</h1>
<div className="cf-pch__intro">
{lead ? <p className="cf-pch__lead">{lead}</p> : null}
{orderDetail ? <p className="cf-pch__detail">{orderDetail}</p> : null}
</div>
{shipWindow ? (
<p className="cf-pch__ship">
<span className="cf-pch__shiplabel">{copy.shipLabel}</span>
<span className="cf-pch__shipdate">{shipWindow}</span>
</p>
) : null}
{stages.length ? (
<ol className="cf-pch__stages" aria-label={copy.progressLabel} style={{ ["--n" as string]: stages.length } as React.CSSProperties}>
{stages.map((s, i) => {
const status = i < current ? "done" : i === current ? "current" : "upcoming";
const hasTip = s.update != null && s.update !== "";
const tipId = `${uid}-tip-${i}`;
const alignEnd = stages.length > 1 && i >= stages.length / 2;
const body = (
<>
<span className="cf-pch__sname">
{status === "done" ? (
<span className="cf-pch__tick" aria-hidden="true">
<Check size={12} strokeWidth={3} />
</span>
) : null}
<span className="cf-pch__sr">{statusText[status]}: </span>
{s.label}
</span>
{s.date ? <span className="cf-pch__sdate">{s.date}</span> : null}
</>
);
return (
<li
key={`${s.label}-${i}`}
className={`cf-pch__stage is-${status}${hasTip ? " has-tip" : ""}${shown === i && hasTip ? " is-open" : ""}`}
aria-current={status === "current" ? "step" : undefined}
onMouseEnter={hasTip ? () => setOpen(i) : undefined}
onMouseLeave={hasTip ? () => setOpen((o) => (o === i ? null : o)) : undefined}
>
<span className="cf-pch__seg" aria-hidden="true">
<span className="cf-pch__fill" />
</span>
{hasTip ? (
<button
type="button"
className="cf-pch__trigger"
aria-describedby={tipId}
onFocus={() => setOpen(i)}
onBlur={() => setOpen((o) => (o === i ? null : o))}
onClick={() => setOpen((o) => (o === i ? null : i))}
onKeyDown={(e) => {
if (e.key === "Escape") setOpen(null);
}}
>
{body}
</button>
) : (
<span className="cf-pch__trigger">{body}</span>
)}
{hasTip ? (
<span role="tooltip" id={tipId} className={`cf-pch__tip${alignEnd ? " is-end" : ""}`} data-open={shown === i ? "true" : "false"}>
{s.update}
</span>
) : null}
</li>
);
})}
</ol>
) : null}
{charge || hasChange ? (
<div className="cf-pch__money">
{charge ? (
<p className="cf-pch__mline cf-pch__charge">
<CreditCard className="cf-pch__micon" size={18} strokeWidth={2.5} aria-hidden="true" />
{charge}
</p>
) : null}
{hasChange ? (
<p className="cf-pch__mline">
<RotateCcw className="cf-pch__micon" size={18} strokeWidth={2.5} aria-hidden="true" />
{changePolicy}
{changePolicy != null && manageHref ? " " : null}
{manageHref ? (
<a className="cf-pch__link" href={manageHref}>
{copy.manageLabel}
</a>
) : null}
</p>
) : null}
</div>
) : null}
<div className="cf-pch__action">
{disabled || !href ? (
<button type="button" className="cf-pch__btn" disabled={disabled} onClick={handle}>
{label}
</button>
) : (
<a className="cf-pch__btn" href={href} onClick={handle}>
{label}
</a>
)}
{note ? <p className="cf-pch__note">{note}</p> : null}
{ps ? (
<p className="cf-pch__ps">
<b>{copy.psLabel}</b>
{ps}
</p>
) : null}
</div>
</div>
</div>
</section>
);
}
export default PreorderConfirmedHero;
const DEFAULT_COPY = {
headline: "Your {product} is reserved, {name}.",
headlineNoName: "Your {product} is reserved.",
lead: "Here's where it is in the build, and exactly what happens next.",
imageAlt: "Your {product}",
shipLabel: "Estimated ship window",
progressLabel: "Production progress",
statusDone: "Completed",
statusCurrent: "Current stage",
statusUpcoming: "Upcoming",
chargedNow: "Charged {amount} today.",
chargedNowNoAmount: "Your card was charged today.",
chargedAtShip: "Nothing is charged today. Your card is charged {amount} when it ships.",
chargedAtShipNoAmount: "Nothing is charged today. Your card is charged when it ships.",
manageLabel: "Manage your pre-order",
shareLabel: "Move up the ship list by sharing",
followLabel: "Follow the build",
shareNote: "Your reservation is held either way.",
followNote: "See each stage as it happens.",
psLabel: "P.S.",
};
const DEFAULT_STAGES: PreorderStage[] = [
{ label: "Design locked" },
{ label: "In production" },
{ label: "Quality check" },
{ label: "Ships" },
];
function fill(template: string, values: Record<string, string>) {
return template.replace(/\{(name|amount)\}/g, (m, key: string) => (key in values ? values[key] : m)).replace("{product}", values.product ?? "{product}");
}
const BTN = "var(--button-bg, var(--cta))";
const CSS = `
.cf-pch{--gap:clamp(32px,5vw,72px);position:relative;isolation:isolate;overflow-x:clip;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cf-pch *,.cf-pch *::before,.cf-pch *::after{box-sizing:border-box}
.cf-pch__block,.cf-pch__sliver{position:absolute;inset:0;z-index:0;pointer-events:none}
.cf-pch__block{background:var(--band);clip-path:polygon(0 0,47% 0,39% 100%,0 100%)}
.cf-pch__sliver{background:var(--accent-fill,var(--accent));clip-path:polygon(47% 0,49.25% 0,41.25% 100%,39% 100%)}
.cf-pch__wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);align-items:start}
.cf-pch__media{position:relative;display:flex;justify-content:center;padding-top:8px;animation:cf-pch-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-pch__img{display:block;width:calc(100% + var(--gap) * .7);max-width:none;margin-right:calc(var(--gap) * -.7);aspect-ratio:1/1;height:auto;object-fit:contain;object-position:center;border-radius:0;filter:drop-shadow(0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .35)) drop-shadow(0 18px 22px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .32))}
.cf-pch__spot{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1}
.cf-pch__copy{min-width:0}
.cf-pch__copy>*{animation:cf-pch-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-pch__copy>:nth-child(2){animation-delay:.07s}
.cf-pch__copy>:nth-child(3){animation-delay:.14s}
.cf-pch__copy>:nth-child(4){animation-delay:.21s}
.cf-pch__copy>:nth-child(n+5){animation-delay:.28s}
.cf-pch__h1{margin:0 0 16px;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-pch__product{color:var(--accent)}
.cf-pch__lead{margin:0;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--ink);max-width:60ch;text-wrap:pretty}
.cf-pch__detail{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty}
.cf-pch__ship{margin:32px 0 0}
.cf-pch__shiplabel{display:block;margin-bottom:12px;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-pch__shipdate{display:block;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-wrap:balance}
.cf-pch__stages{list-style:none;margin:32px -6px 0;padding:0;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:4px}
.cf-pch__stage{position:relative;display:flex;flex-direction:column;gap:12px;padding:10px 6px;border-radius:12px;transition:background .16s ease}
.cf-pch__stage.has-tip:hover,.cf-pch__stage.has-tip:focus-within,.cf-pch__stage.is-open{background:color-mix(in oklch,var(--ink) 5%,var(--surface))}
.cf-pch__seg{display:block;height:12px;border-radius:999px;overflow:hidden;background:color-mix(in oklch,var(--ink) 12%,var(--surface))}
.cf-pch__fill{display:block;width:100%;height:100%;background:var(--accent-fill,var(--accent));transform:scaleX(0);transform-origin:left center}
.cf-pch__stage.is-done .cf-pch__fill,.cf-pch__stage.is-current .cf-pch__fill{transform:scaleX(1)}
.cf-pch__stage.is-current .cf-pch__fill{animation:cf-pch-grow .9s .25s cubic-bezier(.2,.7,.2,1) both}
.cf-pch__trigger{display:flex;flex-direction:column;gap:4px;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;border-radius:6px}
button.cf-pch__trigger{cursor:help}
button.cf-pch__trigger:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:4px}
.cf-pch__sname{position:relative;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.3;font-weight:700;color:var(--ink);text-wrap:balance}
.cf-pch__stage.is-current .cf-pch__sname{font-weight:800}
.cf-pch__stage.is-upcoming .cf-pch__sname{color:var(--muted);font-weight:600}
.cf-pch__sdate{font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-pch__stage.is-current .cf-pch__sdate{color:var(--accent);font-weight:800}
.cf-pch__tick{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-inline-end:8px;vertical-align:-.2em;border-radius:999px;background:var(--success);color:var(--tick-ink,#fff)}
.cf-pch__tip{position:absolute;left:6px;bottom:calc(100% + 8px);z-index:3;width:max-content;max-width:min(280px,70vw);padding:10px 14px;border-radius:10px;background:var(--band);color:var(--band-ink);font-size:.9375rem;line-height:1.4;font-weight:500;text-wrap:pretty;box-shadow:var(--shadow-md,0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .22),0 4px 10px -2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .2));opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .16s ease,transform .16s ease,visibility .16s}
.cf-pch__tip::after{content:"";position:absolute;top:100%;left:18px;border:6px solid transparent;border-top-color:var(--band)}
.cf-pch__tip.is-end{left:auto;right:6px}
.cf-pch__tip.is-end::after{left:auto;right:18px}
.cf-pch__tip[data-open="true"]{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.cf-pch__money{margin:32px 0 0;padding:16px 20px;border-radius:12px;background:color-mix(in oklch,var(--ink) 4%,var(--surface));display:grid;gap:8px}
.cf-pch__mline{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-pch__charge{font-weight:700}
.cf-pch__micon{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em;color:var(--accent)}
.cf-pch__link{--pch-link:color-mix(in oklch,var(--link,var(--accent)) 80%,var(--ink));color:var(--pch-link);font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:oklch(from var(--pch-link) l c h / .45);text-underline-offset:.18em;border-radius:4px}
.cf-pch__link:hover{color:color-mix(in oklch,var(--link,var(--accent)) 62%,var(--ink));text-decoration-color:currentColor}
.cf-pch__link:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:2px}
.cf-pch__action{margin:32px 0 0}
.cf-pch__btn{display:inline-flex;align-items:center;justify-content:center;min-height:72px;margin:0;padding:12px 32px;border:0;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:start;text-wrap:balance;text-decoration:none;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);cursor:pointer;background:linear-gradient(oklch(from ${BTN} calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from ${BTN} calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from ${BTN} calc(l - .16) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .3),0 8px 16px -6px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .4));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-pch__btn:hover:not(:disabled),.cf-pch[data-state="hover"] .cf-pch__btn{transform:translateY(-1px);background:linear-gradient(oklch(from ${BTN} calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from ${BTN} calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from ${BTN} calc(l - .18) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .32),0 12px 20px -8px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .46))}
.cf-pch__btn:active:not(:disabled),.cf-pch[data-state="active"] .cf-pch__btn{transform:translateY(1px);background:linear-gradient(oklch(from ${BTN} calc(l - .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from ${BTN} calc(l - .22) c h / .55),inset 0 -2px 0 oklch(from ${BTN} calc(l - .16) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .25)}
.cf-pch__btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-pch__btn: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-pch__note{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-pch__ps{margin:24px 0 0;max-width:60ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-pch__ps b{font-weight:800;margin-inline-end:.35em}
.cf-pch__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@keyframes cf-pch-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cf-pch-grow{from{transform:scaleX(.3)}to{transform:scaleX(1)}}
@keyframes cf-pch-growy{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
@media (max-width:820px){
.cf-pch{padding-top:24px}
.cf-pch__block{bottom:auto;height:360px;clip-path:polygon(0 0,100% 0,100% 288px,0 360px)}
.cf-pch__sliver{bottom:auto;height:374px;clip-path:polygon(0 360px,100% 288px,100% 302px,0 374px)}
.cf-pch__wrap{grid-template-columns:minmax(0,1fr);gap:28px}
.cf-pch__media{padding-top:0}
.cf-pch__img{width:min(100%,360px);margin:0 auto}
.cf-pch__spot{width:min(100%,320px);margin:0 auto}
.cf-pch__stages{grid-template-columns:minmax(0,1fr);margin-inline:-8px}
.cf-pch__stage{display:grid;grid-template-columns:8px minmax(0,1fr);column-gap:16px;row-gap:4px;padding:10px 8px}
.cf-pch__seg{grid-row:1 / span 2;width:8px;height:auto;min-height:44px;align-self:stretch}
.cf-pch__fill{transform-origin:center top}
.cf-pch__stage.is-current .cf-pch__fill{animation-name:cf-pch-growy}
.cf-pch__trigger{grid-column:2}
.cf-pch__tip{position:static;grid-column:2;width:auto;max-width:none;padding:0;background:none;color:var(--muted);box-shadow:none;opacity:1;visibility:visible;transform:none;pointer-events:auto}
.cf-pch__tip::after{display:none}
.cf-pch__btn{display:flex;width:100%;min-height:64px;padding:12px 20px;text-align:center}
}
@media (prefers-reduced-motion:reduce){
.cf-pch *,.cf-pch *::before,.cf-pch *::after{animation:none!important;transition:none!important}
}
`;
pieces/hero/preorder-confirmed-hero/specimen.tsx 37 lines
import __studioImage08dc3cbc from "../assets/7d5c419f6c2eeab9.webp";
import PreorderConfirmedHero from "../preorder-confirmed-hero";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
export default function PreorderConfirmedHeroSpecimen({ state = "default" }: { state?: "default" | "hover" | "active" | "disabled" }) {
return (
<PreorderConfirmedHero
state={state}
productName="Ridgeline UL2 tent"
firstName="Maya"
productImage={slot(
"product",
__studioImage08dc3cbc
)}
productImageAlt="Trailhead Gear Ridgeline UL2 two-person tent, pitched, in sage green"
lead="Batch two is being built now. Here's where your tent is, and what happens before it reaches you."
orderDetail="Trailhead Gear · Batch two · Order TG-20419 · Sage green"
shipWindow="Mar 3–21, 2027"
currentStage={1}
stages={[
{ label: "Design locked", date: "Oct 14", update: "Final shape signed off: two doors, two vestibules, 1.1 kg packed." },
{ label: "In production", date: "Started Nov 18", update: "Fly and floor panels are being cut and seam-taped this week." },
{ label: "Quality check", date: "Late Feb", update: "Every tent is pitched and seam-checked before it's packed." },
{ label: "Ships", date: "From Mar 3", update: "You'll get a tracking email the day yours leaves us." },
]}
chargeTiming="ship"
chargeAmount="$389"
changePolicy="Change your colour or cancel for a full refund any time before it ships."
manageHref="#manage-preorder"
referralUrl="https://trailheadgear.example/r/maya-tg20419"
ps={`Your ${defaults.sample.guarantee} starts the day the tent arrives, so you can pitch it in the backyard before you trust it on a trail.`}
/>
);
}
| Name | Type | Details |
|---|---|---|
productName OptionalPreorderConfirmedHero |
string |
|
firstName OptionalPreorderConfirmedHero |
string |
|
productImage OptionalPreorderConfirmedHero |
string |
|
productImageAlt OptionalPreorderConfirmedHero |
string |
|
lead OptionalPreorderConfirmedHero |
React.ReactNode |
|
orderDetail OptionalPreorderConfirmedHero |
React.ReactNode |
|
shipWindow OptionalPreorderConfirmedHero |
string |
|
stages OptionalPreorderConfirmedHero |
PreorderStage[] |
|
currentStage OptionalPreorderConfirmedHero |
number |
|
chargeTiming OptionalPreorderConfirmedHero |
"now" | "ship" |
|
chargeAmount OptionalPreorderConfirmedHero |
string |
|
changePolicy OptionalPreorderConfirmedHero |
React.ReactNode |
|
manageHref OptionalPreorderConfirmedHero |
string |
|
referralUrl OptionalPreorderConfirmedHero |
string |
|
updatesHref OptionalPreorderConfirmedHero |
string |
|
onAction OptionalPreorderConfirmedHero |
(action: "share" | "follow", url?: string) => void |
|
actionNote OptionalPreorderConfirmedHero |
React.ReactNode |
|
ps OptionalPreorderConfirmedHero |
React.ReactNode |
|
copy OptionalPreorderConfirmedHero |
Partial<PreorderConfirmedHeroCopy> |
|
state OptionalPreorderConfirmedHero |
"default" | "hover" | "active" | "disabled" |
|
className OptionalPreorderConfirmedHero |
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.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
product- The main product shot or cover (ebook, kit, bottle).
-
75ba15955a7397f6.webp
image/webp · 18.6 KB
-
7d5c419f6c2eeab9.webp
image/webp · 91.1 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB