Download Ready Hero 1
Download-ready hero: the first screen of a lead-magnet thank-you page. It names the guide they just opted in for, gives them one big download, says what reaches their inbox and from whom, points them to the pages to read first, and bridges quietly to the next offer.
Use it in a prompt
Use hero/download-ready-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/download-ready-hero.tsx. - Import it and pass your copy and images (Props tab):
import { DownloadReadyHero } from "@/components/funneldna/hero/download-ready-hero"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/download-ready-hero/component.tsx 649 lines
// layout: diagonal-split
// Download-ready hero: the first screen of a lead-magnet thank-you page. It names the guide they just opted in for, gives them one big download, says what reaches their inbox and from whom, points them to the pages to read first, and bridges quietly to the next offer.
import React, { useId, useState } from "react";
import { Check, FileText, Mail } from "lucide-react";
import { Divider, Spot, FX_HOST } from "../fx/fx";
import book from "../fx/spots/book";
type DividerTone = React.ComponentProps<typeof Divider>["tone"];
export type DownloadReadyHeroIndexItem = {
/** Page number as printed in the guide, e.g. "3". */
page: string;
/** What that page solves, in the reader's words. */
title: React.ReactNode;
detail?: React.ReactNode;
/** Spot illustration asset (import one from ../fx/spots/*). */
spot?: string;
};
export type DownloadReadyHeroProps = {
/** The guide's name exactly as promised on the opt-in page. */
guideName?: string;
/** Headline template; {guide} is replaced by guideName. */
headline?: string;
lead?: React.ReactNode;
downloadLabel?: string;
/** Label after the download is pressed. */
downloadedLabel?: string;
/** Screen-reader announcement after the download is pressed. */
downloadedStatus?: string;
/** File facts shown on the button, e.g. "PDF" and "3.2 MB". */
fileType?: string;
fileSize?: string;
/** File name shown on the button once downloaded and used as the download name. */
fileName?: string;
metaSeparator?: string;
/** File URL; when set, the button is a real download link. */
downloadHref?: string;
/** Subscriber's email and the sender's name, only as supplied. */
email?: string;
sender?: string;
/** Delivery templates: {email} and {sender} are replaced. */
deliveryLine?: string;
deliveryLineNoSender?: string;
deliveryLineNoEmail?: string;
indexHeading?: string;
pagePrefix?: string;
/** Accessible page label template; {page} is replaced. */
pageAriaLabel?: string;
/** Pages to read first; hidden when empty. */
index?: DownloadReadyHeroIndexItem[];
psLead?: string;
/** The P.S. line that bridges to the next offer; hidden when empty. */
ps?: React.ReactNode;
nextLabel?: string;
nextHref?: string;
/** Image slot "product": the guide printed and lying open. */
photoImage?: string;
photoAlt?: string;
photoPosition?: string;
/** "download" when the button is pressed, "next" for the P.S. link. */
onAction?: (action: "download" | "next") => void;
/** Start in the downloaded look. */
downloaded?: boolean;
disabled?: boolean;
state?: "default" | "hover" | "active" | "disabled" | "success";
/** Angled bottom edge cutting into the next section. */
edge?: boolean;
/** Token of the next section, for the angled edge. */
edgeTone?: DividerTone;
className?: string;
};
export function DownloadReadyHero(props: DownloadReadyHeroProps) {
const {
guideName = "free guide",
headline = "Your {guide} is ready.",
lead = "Everything you asked for is in one file. Click the button below to download it now.",
downloadLabel = "Download it now",
downloadedLabel = "Downloaded. Open it again",
downloadedStatus = "Your download has started.",
fileType = "",
fileSize = "",
fileName = "",
metaSeparator = " · ",
downloadHref,
email = "",
sender = "",
deliveryLine = "A copy is on its way to {email} from {sender} in the next few minutes.",
deliveryLineNoSender = "A copy is on its way to {email} in the next few minutes.",
deliveryLineNoEmail = "A copy is on its way to your inbox from {sender} in the next few minutes.",
indexHeading = "Read these first",
pagePrefix = "p.",
pageAriaLabel = "Page {page}",
index = [],
psLead = "P.S.",
ps = "Open it tonight while it’s fresh. When you’re ready, there’s one next step that makes it even easier.",
nextLabel = "See the next step",
nextHref,
photoImage = "",
photoAlt = "",
photoPosition = "50% 45%",
onAction,
downloaded = false,
disabled = false,
state = "default",
edge = true,
edgeTone,
className = "",
} = props;
const uid = useId();
const headingId = uid + "-h";
const [savedDone, setSavedDone] = useState(false);
const isDisabled = disabled || state === "disabled";
const done = !isDisabled && (downloaded || savedDone || state === "success");
const meta = [fileType, fileSize].filter(Boolean).join(metaSeparator);
const sub = done ? fileName || meta : meta;
const deliveryTemplate = email && sender ? deliveryLine : email ? deliveryLineNoSender : sender ? deliveryLineNoEmail : "";
const handleDownload = () => {
if (isDisabled) return;
setSavedDone(true);
onAction?.("download");
};
const btnClass =
"drh-btn" +
(done ? " is-done" : "") +
(state === "hover" ? " is-hover" : "") +
(state === "active" ? " is-active" : "");
const btnInner = (
<>
<span className="drh-btn-main">
{done ? (
<span className="drh-ok" aria-hidden="true">
<Check size={14} strokeWidth={3} />
</span>
) : (
<FileText className="drh-btn-ic" size={20} strokeWidth={2.5} aria-hidden="true" />
)}
{done ? downloadedLabel : downloadLabel}
</span>
{sub ? <span className="drh-btn-sub">{sub}</span> : null}
</>
);
return (
<section
className={"cf-download-ready-hero" + (edge ? "" : " no-edge") + (className ? " " + className : "")}
style={FX_HOST}
aria-labelledby={headingId}
>
<div className="drh-field" aria-hidden={photoImage ? undefined : true}>
<div className="drh-wedge" aria-hidden="true" />
<div className="drh-media">
{photoImage ? (
<img
src={photoImage}
alt={photoAlt}
width={900}
height={1200}
loading="eager"
decoding="async"
style={{ objectPosition: photoPosition }}
/>
) : (
<div className="drh-empty">
<Spot src={book} size={160} />
</div>
)}
</div>
</div>
<div className="drh-wrap">
<div className="drh-copy">
<h1 className="drh-h1" id={headingId}>
{fill(headline, { guide: <span className="drh-name">{guideName}</span> })}
</h1>
{lead ? <p className="drh-lead">{lead}</p> : null}
<div className="drh-action">
{downloadHref && !isDisabled ? (
<a className={btnClass} href={downloadHref} download={fileName || ""} onClick={handleDownload}>
{btnInner}
</a>
) : (
<button type="button" className={btnClass} onClick={handleDownload} disabled={isDisabled}>
{btnInner}
</button>
)}
<span className="drh-sr" role="status" aria-live="polite">
{savedDone ? downloadedStatus : ""}
</span>
{deliveryTemplate ? (
<p className="drh-deliver">
<Mail className="drh-ic" size={16} strokeWidth={2.5} aria-hidden="true" />
{fill(deliveryTemplate, { email: <strong>{email}</strong>, sender: <strong>{sender}</strong> })}
</p>
) : null}
</div>
{index.length ? (
<div className="drh-index">
<h2 className="drh-index-h">{indexHeading}</h2>
<ol className="drh-list">
{index.map((item, i) => (
<li className={"drh-row" + (item.spot ? "" : " no-spot")} key={i}>
{item.spot ? (
<span className="drh-spot">
<Spot src={item.spot} size={48} />
</span>
) : null}
<span className="drh-num">
<span className="drh-sr">{pageAriaLabel.split("{page}").join(item.page)}</span>
<span aria-hidden="true">
<span className="drh-pg">{pagePrefix}</span>
{item.page}
</span>
</span>
<span className="drh-row-text">
<span className="drh-row-title">{item.title}</span>
{item.detail ? <span className="drh-row-detail">{item.detail}</span> : null}
</span>
</li>
))}
</ol>
</div>
) : null}
{ps ? (
<p className="drh-ps">
<b>{psLead}</b> {ps}{" "}
{nextLabel ? (
nextHref ? (
<a className="drh-link" href={nextHref} onClick={() => onAction?.("next")}>
{nextLabel}
</a>
) : (
<button type="button" className="drh-link" onClick={() => onAction?.("next")}>
{nextLabel}
</button>
)
) : null}
</p>
) : null}
</div>
</div>
{edge ? <Divider shape="angle" tone={edgeTone ?? ("band" as DividerTone)} height={56} /> : null}
<style>{CSS}</style>
</section>
);
}
export default DownloadReadyHero;
// Replaces {name} placeholders in copy templates with nodes.
function fill(template: string, values: Record<string, React.ReactNode>): React.ReactNode[] {
const out: React.ReactNode[] = [];
let rest = template;
let k = 0;
while (rest.length) {
const open = rest.indexOf("{");
const close = open >= 0 ? rest.indexOf("}", open) : -1;
if (open < 0 || close < 0) {
out.push(rest);
break;
}
const key = rest.slice(open + 1, close);
if (open > 0) out.push(rest.slice(0, open));
out.push(key in values ? <React.Fragment key={k++}>{values[key]}</React.Fragment> : rest.slice(open, close + 1));
rest = rest.slice(close + 1);
}
return out;
}
const CSS = `
.cf-download-ready-hero {
--drh-gutter: clamp(16px, 5vw, 48px);
--drh-edge: 56px;
--drh-field: 46vw;
--drh-sh: var(--shadow, oklch(0.22 0.03 260));
position: relative;
overflow: hidden;
background: var(--surface);
color: var(--ink);
font-family: var(--font-body);
padding: clamp(56px, 8vw, 112px) 0 calc(clamp(64px, 8.5vw, 120px) + var(--drh-edge));
}
.cf-download-ready-hero.no-edge { --drh-edge: 0px; }
.cf-download-ready-hero .drh-field {
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: var(--drh-field);
z-index: 0;
}
.cf-download-ready-hero .drh-wedge {
position: absolute;
inset: 0;
background: var(--accent-fill, var(--accent));
clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%);
}
.cf-download-ready-hero .drh-media {
position: absolute;
inset: 0;
overflow: hidden;
background: var(--band);
clip-path: polygon(23% 0, 100% 0, 100% 100%, 4% 100%);
}
.cf-download-ready-hero .drh-media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.cf-download-ready-hero .drh-empty {
display: grid;
place-items: center;
height: 100%;
padding-left: 14%;
}
.cf-download-ready-hero .drh-wrap {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto;
padding: 0 var(--drh-gutter);
}
.cf-download-ready-hero .drh-copy {
/* Ends 40px before the photo wedge's lowest, leftmost point, wherever the 1120px container sits. */
width: min(34rem, calc(100vw - var(--drh-field) - max(0px, (100vw - 1120px) / 2) - var(--drh-gutter) - 40px));
}
.cf-download-ready-hero .drh-copy > * { animation: drh-rise .45s cubic-bezier(.2,.7,.2,1) both; }
.cf-download-ready-hero .drh-copy > :nth-child(2) { animation-delay: .07s; }
.cf-download-ready-hero .drh-copy > :nth-child(3) { animation-delay: .14s; }
.cf-download-ready-hero .drh-copy > :nth-child(4) { animation-delay: .21s; }
.cf-download-ready-hero .drh-copy > :nth-child(n+5) { animation-delay: .28s; }
.cf-download-ready-hero .drh-h1 {
margin: 0;
font-family: var(--font-display);
font-weight: var(--display-weight, 800);
letter-spacing: var(--display-tracking, -0.025em);
text-transform: var(--display-case, none);
font-size: clamp(2.5rem, 4.7vw, 4.25rem);
line-height: 1.04;
color: var(--ink);
text-wrap: balance;
}
.cf-download-ready-hero .drh-name { color: var(--accent); }
.cf-download-ready-hero .drh-lead {
margin: 20px 0 0;
max-width: 60ch;
font-size: clamp(1.125rem, 1.5vw, 1.375rem);
line-height: 1.4;
font-weight: 500;
color: var(--ink);
text-wrap: pretty;
}
.cf-download-ready-hero .drh-action { margin-top: 32px; }
.cf-download-ready-hero .drh-btn {
--drh-b: var(--button-bg, var(--cta));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
max-width: none;
margin-inline: auto;
min-height: 72px;
padding: 14px 28px;
border: 1px solid transparent;
border-radius: var(--button-radius, var(--radius, 12px));
background: linear-gradient(oklch(from var(--drh-b) calc(l + 0.04) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.02) c h));
color: var(--button-ink, var(--cta-ink));
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-decoration: none;
text-shadow: var(--button-text-shadow, none);
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--drh-b) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--drh-b) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--drh-sh) l c h / 0.3), 0 8px 16px -6px oklch(from var(--drh-sh) l c h / 0.45));
cursor: pointer;
transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cf-download-ready-hero .drh-btn:hover:not(:disabled),
.cf-download-ready-hero .drh-btn.is-hover {
background: linear-gradient(oklch(from var(--drh-b) calc(l - 0.01) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.07) c h));
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--drh-b) calc(l + 0.1) c h / 0.7), inset 0 -3px 0 oklch(from var(--drh-b) calc(l - 0.2) c h), 0 1px 2px oklch(from var(--drh-sh) l c h / 0.32), 0 12px 20px -6px oklch(from var(--drh-sh) l c h / 0.5));
transform: translateY(-1px);
}
.cf-download-ready-hero .drh-btn:active:not(:disabled),
.cf-download-ready-hero .drh-btn.is-active {
background: linear-gradient(oklch(from var(--drh-b) calc(l - 0.04) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.08) c h));
box-shadow: inset 0 2px 3px oklch(from var(--drh-b) calc(l - 0.22) c h / 0.55), inset 0 -2px 0 oklch(from var(--drh-b) calc(l - 0.16) c h), 0 1px 1px oklch(from var(--drh-sh) l c h / 0.3);
transform: translateY(1px);
}
.cf-download-ready-hero .drh-btn:focus-visible {
outline: 3px solid var(--field-focus, var(--accent));
outline-offset: 3px;
}
.cf-download-ready-hero .drh-btn.is-done {
background: var(--button-2-bg, var(--secondary));
color: var(--button-2-ink, var(--secondary-ink));
border-color: var(--button-2-border, transparent);
box-shadow: var(--button-2-shadow, var(--shadow-sm));
text-shadow: none;
}
.cf-download-ready-hero .drh-btn.is-done:hover:not(:disabled),
.cf-download-ready-hero .drh-btn.is-done.is-hover {
background: oklch(from var(--button-2-bg, var(--secondary)) calc(l - 0.035) c h);
box-shadow: var(--button-2-shadow, var(--shadow-sm));
transform: translateY(-1px);
}
.cf-download-ready-hero .drh-btn.is-done:active:not(:disabled),
.cf-download-ready-hero .drh-btn.is-done.is-active {
background: oklch(from var(--button-2-bg, var(--secondary)) calc(l - 0.06) c h);
box-shadow: inset 0 1px 2px oklch(from var(--drh-sh) l c h / 0.22);
transform: translateY(1px);
}
.cf-download-ready-hero .drh-btn:disabled {
background: color-mix(in oklch, var(--ink) 5%, var(--surface));
color: var(--muted);
border-color: oklch(from var(--ink) l c h / 0.14);
box-shadow: none;
text-shadow: none;
cursor: not-allowed;
transform: none;
}
.cf-download-ready-hero .drh-btn-main { display: block; text-wrap: balance; }
.cf-download-ready-hero .drh-btn-ic {
display: inline-block;
vertical-align: -0.18em;
margin-inline-end: .45em;
}
.cf-download-ready-hero .drh-ok {
display: inline-grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 999px;
background: var(--success);
color: var(--drh-badge-glyph, #fff);
vertical-align: -0.28em;
margin-inline-end: .5em;
animation: drh-pop .3s ease both;
}
.cf-download-ready-hero .drh-btn-sub {
display: block;
margin-top: 4px;
max-width: 100%;
font-family: var(--font-body);
font-size: .9375rem;
font-weight: 600;
line-height: 1.3;
letter-spacing: 0;
text-transform: none;
overflow-wrap: anywhere;
text-wrap: pretty;
}
.cf-download-ready-hero .drh-deliver {
margin: 16px 0 0;
max-width: none;
font-size: .9375rem;
line-height: 1.45;
font-weight: 500;
color: var(--muted);
text-wrap: pretty;
}
.cf-download-ready-hero .drh-deliver strong {
color: var(--ink);
font-weight: 700;
overflow-wrap: anywhere;
}
.cf-download-ready-hero .drh-ic {
display: inline-block;
vertical-align: -0.2em;
margin-inline-end: .4em;
}
.cf-download-ready-hero .drh-index { margin-top: 48px; }
.cf-download-ready-hero .drh-index-h {
margin: 0 0 8px;
font-family: var(--font-display);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
letter-spacing: -0.01em;
color: var(--ink);
text-wrap: balance;
}
.cf-download-ready-hero .drh-list { list-style: none; margin: 0; padding: 0; }
.cf-download-ready-hero .drh-row {
display: grid;
grid-template-columns: 48px 3.75rem minmax(0, 1fr);
column-gap: 16px;
align-items: start;
padding: 14px 0;
}
.cf-download-ready-hero .drh-row.no-spot { grid-template-columns: 3.75rem minmax(0, 1fr); }
.cf-download-ready-hero .drh-row + .drh-row { border-top: 1px solid oklch(from var(--ink) l c h / 0.12); }
.cf-download-ready-hero .drh-spot { display: grid; place-items: center; width: 48px; height: 48px; }
.cf-download-ready-hero .drh-num {
font-family: var(--font-display);
font-weight: var(--display-weight, 800);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1;
letter-spacing: -0.02em;
font-variant-numeric: tabular-nums;
color: var(--accent);
white-space: nowrap;
padding-top: 2px;
}
.cf-download-ready-hero .drh-pg {
font-family: var(--font-body);
font-size: .9375rem;
font-weight: 700;
letter-spacing: 0;
margin-inline-end: 1px;
}
.cf-download-ready-hero .drh-row-text { display: block; min-width: 0; }
.cf-download-ready-hero .drh-row-title {
display: block;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.3;
font-weight: 700;
color: var(--ink);
text-wrap: pretty;
}
.cf-download-ready-hero .drh-row-detail {
display: block;
margin-top: 4px;
font-size: .9375rem;
line-height: 1.4;
font-weight: 500;
color: var(--muted);
text-wrap: pretty;
}
.cf-download-ready-hero .drh-ps {
margin: 28px 0 0;
max-width: 64ch;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.5;
color: var(--ink);
text-wrap: pretty;
}
.cf-download-ready-hero .drh-ps b { font-weight: 800; }
.cf-download-ready-hero .drh-link {
appearance: none;
background: none;
border: 0;
padding: 0;
font: inherit;
font-weight: 700;
color: var(--link, var(--accent));
text-decoration: underline;
text-decoration-thickness: 1.5px;
text-decoration-color: oklch(from var(--link, var(--accent)) l c h / 0.45);
text-underline-offset: .18em;
cursor: pointer;
border-radius: 4px;
transition: color .16s ease;
}
.cf-download-ready-hero .drh-link:hover {
color: oklch(from var(--link, var(--accent)) calc(l - 0.08) c h);
text-decoration-color: currentColor;
}
.cf-download-ready-hero .drh-link:focus-visible {
outline: 2px solid var(--field-focus, var(--accent));
outline-offset: 3px;
}
.cf-download-ready-hero .drh-sr {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
@keyframes drh-rise {
from { opacity: .82; transform: translateY(8px); }
to { opacity: 1; transform: none; }
}
@keyframes drh-pop {
from { transform: scale(.9); }
to { transform: scale(1); }
}
@media (max-width: 959px) {
.cf-download-ready-hero { padding-top: 0; }
.cf-download-ready-hero .drh-field {
position: relative;
top: auto;
bottom: auto;
width: 100%;
height: clamp(220px, 58vw, 320px);
}
.cf-download-ready-hero .drh-wedge { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.cf-download-ready-hero .drh-media { clip-path: polygon(0 0, 100% 0, 100% 80%, 0 93%); }
.cf-download-ready-hero .drh-empty { padding: 0 0 10%; }
.cf-download-ready-hero .drh-copy { width: auto; max-width: 40rem; padding-top: 28px; }
.cf-download-ready-hero .drh-btn { max-width: none; padding: 14px 20px; }
.cf-download-ready-hero .drh-deliver { max-width: none; }
}
@media (max-width: 480px) {
.cf-download-ready-hero .drh-row {
grid-template-columns: 40px minmax(0, 1fr);
grid-template-areas: "spot num" "spot text";
column-gap: 16px;
row-gap: 4px;
}
.cf-download-ready-hero .drh-row.no-spot {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "num" "text";
}
.cf-download-ready-hero .drh-spot { grid-area: spot; width: 40px; height: 40px; }
.cf-download-ready-hero .drh-num { grid-area: num; padding-top: 0; }
.cf-download-ready-hero .drh-row-text { grid-area: text; }
.cf-download-ready-hero .drh-index { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
.cf-download-ready-hero .drh-copy > *,
.cf-download-ready-hero .drh-ok { animation: none; }
.cf-download-ready-hero .drh-btn,
.cf-download-ready-hero .drh-link { transition: none; }
}
`;
pieces/hero/download-ready-hero/specimen.tsx 53 lines
import __studioImage021e52e7 from "../assets/619e73c2d2184d07.webp";
// Specimen: the first screen of Hearth & Pantry's thank-you page after the Seven-Night Freezer Dinner Plan opt-in.
import { DownloadReadyHero, type DownloadReadyHeroProps } from "../download-ready-hero";
import { slot } from "../../slots";
import clock from "../../fx/spots/clock";
import checklist from "../../fx/spots/checklist";
import calendar from "../../fx/spots/calendar";
export const states = ["default", "hover", "active", "disabled", "success"];
export default function DownloadReadyHeroSpecimen({ state }: { state?: DownloadReadyHeroProps["state"] }) {
return (
<DownloadReadyHero
state={state}
guideName="Seven-Night Freezer Dinner Plan"
lead="Seven family dinners from one shopping trip and one Sunday hour of prep. Click the button below to download your plan now."
downloadLabel="Download my plan"
fileType="PDF"
fileSize="3.2 MB"
fileName="seven-night-freezer-dinner-plan.pdf"
email="jamie@example.com"
sender="Maya at Hearth & Pantry"
index={[
{
page: "3",
title: "The one-hour Sunday prep",
detail: "Cook four bases at once and bag all seven dinners.",
spot: clock,
},
{
page: "8",
title: "The whole-week shopping list",
detail: "Every ingredient on one page, sorted by aisle.",
spot: checklist,
},
{
page: "14",
title: "The thaw-tonight schedule",
detail: "What to move to the fridge each morning.",
spot: calendar,
},
]}
ps="Page 3 is where tonight gets easier. Want printable freezer labels for every bag?"
nextLabel="See the label pack"
photoImage={slot(
"product",
__studioImage021e52e7
)}
photoAlt="The Seven-Night Freezer Dinner Plan printed and lying open on a kitchen table"
photoPosition="50% 45%"
/>
);
}
| Name | Type | Details |
|---|---|---|
guideName OptionalDownloadReadyHero |
string |
|
headline OptionalDownloadReadyHero |
string |
|
lead OptionalDownloadReadyHero |
React.ReactNode |
|
downloadLabel OptionalDownloadReadyHero |
string |
|
downloadedLabel OptionalDownloadReadyHero |
string |
|
downloadedStatus OptionalDownloadReadyHero |
string |
|
fileType OptionalDownloadReadyHero |
string |
|
fileSize OptionalDownloadReadyHero |
string |
|
fileName OptionalDownloadReadyHero |
string |
|
metaSeparator OptionalDownloadReadyHero |
string |
|
downloadHref OptionalDownloadReadyHero |
string |
|
email OptionalDownloadReadyHero |
string |
|
sender OptionalDownloadReadyHero |
string |
|
deliveryLine OptionalDownloadReadyHero |
string |
|
deliveryLineNoSender OptionalDownloadReadyHero |
string |
|
deliveryLineNoEmail OptionalDownloadReadyHero |
string |
|
indexHeading OptionalDownloadReadyHero |
string |
|
pagePrefix OptionalDownloadReadyHero |
string |
|
pageAriaLabel OptionalDownloadReadyHero |
string |
|
index OptionalDownloadReadyHero |
DownloadReadyHeroIndexItem[] |
|
psLead OptionalDownloadReadyHero |
string |
|
ps OptionalDownloadReadyHero |
React.ReactNode |
|
nextLabel OptionalDownloadReadyHero |
string |
|
nextHref OptionalDownloadReadyHero |
string |
|
photoImage OptionalDownloadReadyHero |
string |
|
photoAlt OptionalDownloadReadyHero |
string |
|
photoPosition OptionalDownloadReadyHero |
string |
|
onAction OptionalDownloadReadyHero |
(action: "download" | "next") => void |
|
downloaded OptionalDownloadReadyHero |
boolean |
|
disabled OptionalDownloadReadyHero |
boolean |
|
state OptionalDownloadReadyHero |
"default" | "hover" | "active" | "disabled" | "success" |
|
edge OptionalDownloadReadyHero |
boolean |
|
edgeTone OptionalDownloadReadyHero |
DividerTone |
|
className OptionalDownloadReadyHero |
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.
--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).
-
321240b3188e2da4.webp
image/webp · 18.7 KB
-
619e73c2d2184d07.webp
image/webp · 259 KB
-
7c36d7f4dd4ae594.webp
image/webp · 26.5 KB
-
bc3d360c88eeac0e.webp
image/webp · 23.9 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB