Story Letter 1
Story letter: a framed "Dear friend" sales letter that turns on one marker-stroked line, keeps the big idea in a grey margin column, signs off like the real owner and hands the reader straight to a send-it action with a round price sticker.
Use it in a prompt
Use content/story-letter 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/content/story-letter.tsx. - Import it and pass your copy and images (Props tab):
import { StoryLetter } from "@/components/funneldna/content/story-letter"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/story-letter/component.tsx 606 lines
// layout: certificate-document
// Story letter: a framed "Dear friend" sales letter that turns on one marker-stroked line, keeps the big idea in a grey margin column, signs off like the real owner and hands the reader straight to a send-it action with a round price sticker.
import * as React from "react"
import { Lock, Quote, ShieldCheck } from "lucide-react"
import { useInView, useReducedMotion } from "motion/react"
export type StoryLetterProps = {
/** Opening salutation, set as the big letter headline. */
salutation?: string
/** Short paragraphs before the turning point. */
opening?: React.ReactNode[]
/** The turning-point line; `marked` gets the marker stroke. */
turningPoint?: { before?: string; marked: string; after?: string }
/** Short paragraphs after the turning point. */
story?: React.ReactNode[]
/** Bold last line of the letter body. */
closingLine?: string
/** One line from the letter, repeated in the margin column. */
pullQuote?: string
/** Line above the signature, e.g. "To your first launch,". */
signOff?: string
/** The real owner's name; the signature only shows when supplied. */
signerName?: string
signerRole?: string
/** Slot: presenter. */
presenterImage?: string
presenterAlt?: string
/** Slot: seal-guarantee (transparent background). */
sealImage?: string
sealAlt?: string
/** Only a guarantee the offer really has; hidden when empty. */
guarantee?: string
/** Slot: product (transparent background). */
productImage?: string
productAlt?: string
productName?: string
productDetail?: string
/** Supplied value anchor, e.g. "$97"; hidden when empty. */
value?: string
valueLabel?: string
/** Small line on the price sticker. */
priceLabel?: string
/** Today's price on the round sticker; hidden when empty. */
price?: string
/** Button label, a delivery verb in the reader's voice. */
label?: string
/** One short reassurance line under the button. */
note?: string
href?: string
onAction?: () => void
disabled?: boolean
state?: "default" | "hover" | "active" | "disabled"
className?: string
}
export function StoryLetter(props: StoryLetterProps) {
const {
salutation = "Dear friend,",
opening = DEFAULT_OPENING,
turningPoint = DEFAULT_TURN,
story = DEFAULT_STORY,
closingLine = "One clear plan. Then your next step.",
pullQuote = "A clear path from headline to final click.",
signOff = "To your first launch,",
signerName = "",
signerRole = "",
presenterImage,
presenterAlt,
sealImage,
sealAlt = "",
guarantee = "",
productImage,
productAlt = "",
productName = "",
productDetail = "",
value = "",
valueLabel = "Kit value",
priceLabel = "Today",
price = "",
label = "Send Me The Kit",
note = "Secure checkout · Instant download",
href,
onAction,
disabled = false,
state = "default",
className,
} = props
const ref = React.useRef<HTMLElement>(null)
const inView = useInView(ref, { once: true, amount: 0.15 })
const reduce = useReducedMotion()
const motionState = reduce ? "off" : inView ? "in" : "ready"
const isDisabled = disabled || state === "disabled"
const force = state === "hover" || state === "active" ? state : undefined
const hasProduct = Boolean(productImage || price)
const storyStart = opening.length + 2
return (
<article
ref={ref}
className={["cf-story-letter", className].filter(Boolean).join(" ")}
data-motion={motionState}
>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" />
<style>{CSS}</style>
<div className="sl-grid">
<div className="sl-opening">
<p className="sl-salute sl-r" style={rv(0)}>{salutation}</p>
{opening.map((p, i) => (
<p key={i} className="sl-p sl-r" style={rv(i + 1)}>
{p}
</p>
))}
</div>
<aside className="sl-aside">
<div className="sl-quote">
<Quote aria-hidden="true" size={28} strokeWidth={2.5} />
<p>{pullQuote}</p>
</div>
</aside>
<div className="sl-turnwrap">
<p className="sl-turn sl-r" style={rv(opening.length + 1)}>
{turningPoint.before ? <>{turningPoint.before} </> : null}
<span className="sl-mark">{turningPoint.marked}</span>
{turningPoint.after ?? null}
</p>
</div>
<div className="sl-story">
{story.map((p, i) => (
<p key={i} className="sl-p sl-r" style={rv(storyStart + i)}>
{p}
</p>
))}
{closingLine ? (
<p className="sl-closing sl-r" style={rv(storyStart + story.length)}>
{closingLine}
</p>
) : null}
</div>
<div className="sl-close">
<div className="sl-sign">
{presenterImage ? (
<img
className="sl-portrait"
src={presenterImage}
alt={presenterAlt ?? signerName}
width={72}
height={72}
loading="lazy"
decoding="async"
/>
) : null}
<div className="sl-sign-text">
{signOff ? <p className="sl-signoff">{signOff}</p> : null}
{signerName ? (
<p className="sl-signature" aria-hidden="true">
{signerName}
</p>
) : null}
{signerName ? <p className="sl-printed">{signerName}</p> : null}
{signerRole ? <p className="sl-role">{signerRole}</p> : null}
</div>
{guarantee ? (
<div className="sl-seal">
{sealImage ? (
<img src={sealImage} alt={sealAlt} width={96} height={96} loading="lazy" decoding="async" />
) : (
<ShieldCheck className="sl-seal-icon" aria-hidden="true" size={40} strokeWidth={2} />
)}
<p>{guarantee}</p>
</div>
) : null}
</div>
<div className={hasProduct ? "sl-offer" : "sl-offer sl-offer--solo"}>
{hasProduct ? (
<div className={productImage ? "sl-product" : "sl-product sl-product--bare"}>
{productImage ? (
<img src={productImage} alt={productAlt} width={400} height={400} loading="lazy" decoding="async" />
) : null}
{price ? (
<p className="sl-sticker">
<span className="sl-disc" aria-hidden="true" />
<span className="sl-sticker-label">{priceLabel}</span>
<span className="sl-sticker-price">{price}</span>
</p>
) : null}
</div>
) : null}
<div className="sl-offer-text">
{productName ? <h3 className="sl-offer-name">{productName}</h3> : null}
{value ? (
<p className="sl-value">
{valueLabel} {value}
</p>
) : null}
{productDetail ? <p className="sl-detail">{productDetail}</p> : null}
{href && !isDisabled ? (
<a className="sl-btn" href={href} data-force={force} onClick={() => onAction?.()}>
{label}
</a>
) : (
<button
type="button"
className="sl-btn"
data-force={force}
disabled={isDisabled}
onClick={() => {
if (!isDisabled) onAction?.()
}}
>
{label}
</button>
)}
{note ? (
<p className="sl-note">
<Lock aria-hidden="true" size={15} strokeWidth={2.4} />
<span>{note}</span>
</p>
) : null}
</div>
</div>
</div>
</div>
</article>
)
}
export default StoryLetter
const DEFAULT_OPENING: React.ReactNode[] = [
"Your first funnel starts with one simple question: what happens next?",
"You have an offer. Now you need a clear path from the first headline to the final click.",
]
const DEFAULT_TURN = { before: "Start with", marked: "a plan you can follow", after: "." }
const DEFAULT_STORY: React.ReactNode[] = [
"That’s what this kit is for.",
"Map your offer. Draft your page copy. Check every step before you launch.",
]
function rv(i: number): React.CSSProperties {
return { ["--i" as string]: i } as React.CSSProperties
}
const CSS = `
.cf-story-letter{
--sl-ink: var(--ink, #141b2d);
--sl-card: var(--card, #ffffff);
--sl-muted: var(--muted, #4a5468);
--sl-accent: var(--accent, #2b5fd9);
--sl-well: color-mix(in oklch, var(--sl-ink) 4%, var(--sl-card));
--sl-shadow: var(--shadow, oklch(0.22 0.03 256));
--sl-radius: var(--radius, 14px);
--sl-marker: var(--marker, oklch(from color-mix(in oklch, var(--warning, oklch(0.5 0.1 85)) 30%, var(--sl-card)) l calc(c * 3) h));
--signature-font: var(--signature-face, "Mrs Saint Delafield", var(--font-display, cursive));
container: sl-letter / inline-size;
position: relative;
isolation: isolate;
box-sizing: border-box;
width: 100%;
max-width: 1040px;
margin-inline: auto;
padding: clamp(28px, 5.2vw, 68px) clamp(22px, 5.2vw, 68px);
background: var(--sl-card);
color: var(--sl-ink);
font-family: var(--font-body, system-ui, sans-serif);
border: 1px solid var(--card-border, color-mix(in oklch, var(--sl-ink) 12%, transparent));
border-radius: var(--card-radius, var(--sl-radius));
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)));
}
.cf-story-letter::before{
content: "";
position: absolute;
inset: 10px;
z-index: -1;
border: 1px solid oklch(from var(--sl-ink) l c h / 0.1);
border-radius: max(0px, calc(var(--card-radius, var(--sl-radius)) - 5px));
pointer-events: none;
}
.cf-story-letter *, .cf-story-letter *::before, .cf-story-letter *::after{ box-sizing: border-box; }
.cf-story-letter :where(p, h3){ margin: 0; }
.cf-story-letter img{ display: block; max-width: 100%; }
.cf-story-letter .sl-grid{
display: grid;
grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
grid-template-areas: "aside opening" "aside turn" "aside story" "aside close";
column-gap: clamp(28px, 4.5vw, 60px);
align-items: start;
}
.cf-story-letter .sl-opening{ grid-area: opening; min-width: 0; }
.cf-story-letter .sl-turnwrap{ grid-area: turn; min-width: 0; }
.cf-story-letter .sl-story{ grid-area: story; min-width: 0; }
.cf-story-letter .sl-close{ grid-area: close; min-width: 0; }
.cf-story-letter .sl-aside{ grid-area: aside; align-self: stretch; min-width: 0; }
.cf-story-letter .sl-salute{
margin: 0 0 0.36em;
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.025em);
font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
line-height: 1.02;
text-wrap: balance;
}
.cf-story-letter .sl-p{
margin: 0 0 1em;
max-width: 62ch;
font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
line-height: 1.6;
text-wrap: pretty;
}
.cf-story-letter .sl-opening .sl-p:last-child, .cf-story-letter .sl-story .sl-p:last-child{ margin-bottom: 0; }
.cf-story-letter .sl-turn{
margin: clamp(10px, 1.6vw, 20px) 0 clamp(18px, 2vw, 26px);
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.02em);
font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.6rem);
line-height: 1.16;
text-wrap: balance;
}
.cf-story-letter .sl-mark{
color: inherit;
padding: 0 0.14em;
margin: 0 -0.06em;
border-radius: 0.18em 0.42em 0.3em 0.22em;
background-image: linear-gradient(var(--sl-marker), var(--sl-marker));
background-repeat: no-repeat;
background-position: 0 86%;
background-size: 100% 0.62em;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
}
.cf-story-letter .sl-closing{
margin: 1.1em 0 0;
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.015em);
font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
line-height: 1.2;
text-wrap: balance;
}
.cf-story-letter .sl-quote{
position: sticky;
top: 24px;
padding: 26px 22px 28px;
border-radius: var(--sl-radius);
background: var(--sl-well);
}
.cf-story-letter .sl-quote svg{ display: block; margin-bottom: 14px; color: var(--sl-accent); flex: none; }
.cf-story-letter .sl-quote p{
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.02em);
font-size: clamp(1.35rem, 0.95rem + 1vw, 1.85rem);
line-height: 1.14;
color: var(--sl-accent);
text-wrap: balance;
}
.cf-story-letter .sl-sign{
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 18px 22px;
margin-top: clamp(28px, 3.2vw, 40px);
}
.cf-story-letter .sl-portrait{
flex: none;
width: 68px;
height: 68px;
border-radius: 50%;
object-fit: cover;
object-position: center 25%;
filter: drop-shadow(0 1px 2px oklch(from var(--sl-shadow) l c h / 0.28));
}
.cf-story-letter .sl-sign-text{ flex: 1 1 220px; min-width: 0; }
.cf-story-letter .sl-signoff{ font-size: 1.0625rem; line-height: 1.5; color: var(--sl-muted); }
.cf-story-letter .sl-signature{
margin: 0.08em 0 0.06em;
font-family: var(--signature-font);
font-weight: 400;
font-size: clamp(2.6rem, 2rem + 1.6vw, 3.3rem);
line-height: 1.1;
color: var(--signature-ink, var(--sl-ink));
}
.cf-story-letter .sl-printed{
font-size: 0.9375rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
line-height: 1.4;
}
.cf-story-letter .sl-role{ font-size: 0.9375rem; line-height: 1.45; color: var(--sl-muted); }
.cf-story-letter .sl-seal{
flex: 0 0 auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
max-width: 150px;
text-align: center;
}
.cf-story-letter .sl-seal img{
width: 96px;
height: 96px;
object-fit: contain;
filter: drop-shadow(0 1px 1px oklch(from var(--sl-shadow) l c h / 0.3)) drop-shadow(0 6px 8px oklch(from var(--sl-shadow) l c h / 0.22));
}
.cf-story-letter .sl-seal-icon{ color: var(--sl-accent); }
.cf-story-letter .sl-seal p{ font-size: 0.9375rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.cf-story-letter .sl-offer{
display: grid;
grid-template-columns: 200px minmax(0, 1fr);
gap: 24px 30px;
align-items: start;
margin-top: clamp(30px, 3.6vw, 42px);
padding: clamp(22px, 2.6vw, 30px);
border-radius: var(--sl-radius);
background: var(--sl-well);
}
.cf-story-letter .sl-offer--solo{ grid-template-columns: minmax(0, 1fr); }
.cf-story-letter .sl-product{ position: relative; }
.cf-story-letter .sl-product img{
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
filter: drop-shadow(0 2px 2px oklch(from var(--sl-shadow) l c h / 0.25)) drop-shadow(0 12px 14px -4px oklch(from var(--sl-shadow) l c h / 0.22));
}
.cf-story-letter .sl-product--bare{ display: grid; place-items: center; min-height: 150px; }
.cf-story-letter .sl-sticker{
position: absolute;
top: -14px;
right: -14px;
z-index: 1;
isolation: isolate;
width: 108px;
height: 108px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: var(--band-ink, #ffffff);
transform: rotate(-9deg);
}
.cf-story-letter .sl-product--bare .sl-sticker{ position: relative; top: auto; right: auto; }
.cf-story-letter .sl-disc{
position: absolute;
inset: 0;
z-index: -1;
border-radius: 50%;
background: var(--band, oklch(0.27 0.07 256));
box-shadow: inset 0 0 0 3px oklch(from var(--band, oklch(0.27 0.07 256)) calc(l + 0.09) c h), 0 1px 2px oklch(from var(--sl-shadow) l c h / 0.3), 0 6px 12px -4px oklch(from var(--sl-shadow) l c h / 0.35);
}
.cf-story-letter .sl-sticker-label{
font-size: 0.875rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
line-height: 1;
margin-bottom: 4px;
}
.cf-story-letter .sl-sticker-price{
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
font-size: 2.15rem;
line-height: 1;
letter-spacing: -0.02em;
font-variant-numeric: tabular-nums;
}
.cf-story-letter .sl-offer-text{ min-width: 0; }
.cf-story-letter .sl-offer-name{
margin: 0 0 6px;
font-family: var(--font-display, system-ui, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.015em);
font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
line-height: 1.15;
text-wrap: balance;
}
.cf-story-letter .sl-value{ margin: 0 0 8px; font-size: 0.9375rem; font-weight: 600; color: var(--sl-muted); }
.cf-story-letter .sl-detail{
margin: 0 0 20px;
max-width: 46ch;
font-size: 1rem;
line-height: 1.55;
color: var(--sl-muted);
text-wrap: pretty;
}
.cf-story-letter .sl-btn{
--sl-bg: var(--button-bg, var(--cta, oklch(0.58 0.21 29)));
--sl-bg2: var(--button-bg-2, var(--cta-2, oklch(0.5 0.2 29)));
appearance: none;
-webkit-appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 60px;
padding: 0.85rem 2.1rem;
border: 0;
border-radius: var(--button-radius, var(--sl-radius));
background: linear-gradient(180deg, oklch(from var(--sl-bg) calc(l + 0.04) c h), oklch(from var(--sl-bg2) calc(l + 0.02) c h));
color: var(--button-ink, var(--cta-ink, #ffffff));
font-family: var(--button-font, var(--font-display, system-ui, sans-serif));
font-weight: var(--button-weight, 800);
text-transform: var(--button-case, none);
font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
line-height: 1.15;
text-align: center;
text-decoration: none;
white-space: nowrap;
text-shadow: var(--button-text-shadow, none);
cursor: pointer;
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--sl-bg) calc(l + 0.14) c h / 0.6), inset 0 -3px 0 oklch(from var(--sl-bg) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--sl-shadow) l c h / 0.3), 0 6px 14px -4px oklch(from var(--sl-shadow) l c h / 0.42));
}
.cf-story-letter .sl-btn:not(:disabled):hover, .cf-story-letter .sl-btn[data-force="hover"]{
background: linear-gradient(180deg, oklch(from var(--sl-bg) calc(l - 0.02) c h), oklch(from var(--sl-bg2) calc(l - 0.05) c h));
transform: translateY(-1px);
}
.cf-story-letter .sl-btn:not(:disabled):active, .cf-story-letter .sl-btn[data-force="active"]{
background: linear-gradient(180deg, oklch(from var(--sl-bg) calc(l - 0.06) c h), oklch(from var(--sl-bg2) calc(l - 0.1) c h));
transform: translateY(1px);
box-shadow: inset 0 2px 4px oklch(from var(--sl-shadow) l c h / 0.35), inset 0 -1px 0 oklch(from var(--sl-bg) calc(l - 0.16) c h), 0 1px 1px oklch(from var(--sl-shadow) l c h / 0.25);
}
.cf-story-letter .sl-btn:focus-visible{
outline: 3px solid var(--field-focus, var(--sl-accent));
outline-offset: 3px;
}
.cf-story-letter .sl-btn:disabled{
cursor: not-allowed;
transform: none;
background: var(--button-2-bg, var(--secondary, oklch(0.93 0.015 263)));
color: var(--button-2-ink, var(--secondary-ink, #141b2d));
text-shadow: none;
box-shadow: inset 0 -2px 0 oklch(from var(--button-2-bg, var(--secondary, oklch(0.93 0.015 263))) calc(l - 0.1) c h);
}
.cf-story-letter .sl-note{
display: block;
margin-top: 10px;
font-size: 0.9375rem;
line-height: 1.4;
color: var(--sl-muted);
text-wrap: pretty;
}
.cf-story-letter .sl-note svg{ display: inline-block; vertical-align: -0.15em; margin-inline-end: 6px; }
@container sl-letter (max-width: 720px){
.cf-story-letter .sl-grid{
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "opening" "aside" "turn" "story" "close";
}
.cf-story-letter .sl-quote{
position: static;
display: flex;
align-items: flex-start;
gap: 12px;
margin: 22px 0 4px;
padding: 20px 20px 22px;
}
.cf-story-letter .sl-quote svg{ margin: 2px 0 0; }
.cf-story-letter .sl-quote p{ font-size: clamp(1.25rem, 1rem + 1.2vw, 1.5rem); }
.cf-story-letter .sl-turn{ margin-top: 22px; }
.cf-story-letter .sl-seal{ flex: 1 1 100%; max-width: none; flex-direction: row; text-align: left; gap: 14px; }
.cf-story-letter .sl-seal img{ width: 64px; height: 64px; }
.cf-story-letter .sl-offer{ grid-template-columns: minmax(0, 1fr); text-align: center; }
.cf-story-letter .sl-product{ justify-self: center; width: min(220px, 72%); margin-top: 8px; }
.cf-story-letter .sl-detail{ margin-inline: auto; }
.cf-story-letter .sl-btn{ width: 100%; padding-inline: 1.25rem; }
.cf-story-letter .sl-note{ text-align: center; }
}
@media (prefers-reduced-motion: no-preference){
.cf-story-letter .sl-r{
transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.7, 0.28, 1);
transition-delay: calc(min(var(--i, 0), 4) * 70ms);
}
.cf-story-letter[data-motion="ready"] .sl-r{ opacity: 0.82; transform: translateY(8px); }
.cf-story-letter .sl-mark{ transition: background-size 0.8s cubic-bezier(0.3, 0.7, 0.3, 1) 0.35s; }
.cf-story-letter[data-motion="ready"] .sl-mark{ background-size: 0% 0.62em; }
.cf-story-letter .sl-btn{ transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease; }
}
@media (prefers-reduced-motion: reduce){
.cf-story-letter .sl-r{ opacity: 1; transform: none; transition: none; }
.cf-story-letter .sl-mark{ background-size: 100% 0.62em; transition: none; }
.cf-story-letter .sl-btn{ transition: none; transform: none; }
}
`
pieces/content/story-letter/specimen.tsx 47 lines
import __studioImagee911e144 from "../assets/5ee149ef0d597551.webp";
import __studioImage6a10fa17 from "../assets/a8bfa3fdad4ba617.webp";
import __studioImageb5270cf4 from "../assets/210a0216005a5c32.webp";
import * as React from "react"
import StoryLetter from "../story-letter"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
export const states = ["default", "hover", "active", "disabled"]
type State = "default" | "hover" | "active" | "disabled"
export default function StoryLetterSpecimen({ state = "default" }: { state?: State }) {
const sample = defaults.sample
const [guide, workbook, checklist] = sample.items
return (
<StoryLetter
state={state}
story={[
`That’s what ${sample.name} is for.`,
`Map your offer with the ${guide.name}. Draft your headline and call to action in the ${workbook.name}. Check every link and form with the ${checklist.name}.`,
]}
signerName="Jordan Avery"
signerRole={`Creator, ${sample.name}`}
presenterImage={slot(
"presenter",
__studioImagee911e144
)}
presenterAlt="Jordan Avery"
sealImage={slot(
"seal-guarantee",
__studioImage6a10fa17
)}
guarantee={sample.guarantee}
productImage={slot(
"product",
__studioImageb5270cf4
)}
productAlt={`${sample.name}: ${guide.name}, ${workbook.name} and ${checklist.name}`}
productName={sample.name}
productDetail={sample.reason}
value={sample.regularPrice}
price={sample.price}
note={sample.sublabel}
/>
)
}
| Name | Type | Details |
|---|---|---|
salutation OptionalStoryLetter |
string |
|
opening OptionalStoryLetter |
React.ReactNode[] |
|
turningPoint OptionalStoryLetter |
{ before?: string; marked: string; after?: string } |
|
story OptionalStoryLetter |
React.ReactNode[] |
|
closingLine OptionalStoryLetter |
string |
|
pullQuote OptionalStoryLetter |
string |
|
signOff OptionalStoryLetter |
string |
|
signerName OptionalStoryLetter |
string |
|
signerRole OptionalStoryLetter |
string |
|
presenterImage OptionalStoryLetter |
string |
|
presenterAlt OptionalStoryLetter |
string |
|
sealImage OptionalStoryLetter |
string |
|
sealAlt OptionalStoryLetter |
string |
|
guarantee OptionalStoryLetter |
string |
|
productImage OptionalStoryLetter |
string |
|
productAlt OptionalStoryLetter |
string |
|
productName OptionalStoryLetter |
string |
|
productDetail OptionalStoryLetter |
string |
|
value OptionalStoryLetter |
string |
|
valueLabel OptionalStoryLetter |
string |
|
priceLabel OptionalStoryLetter |
string |
|
price OptionalStoryLetter |
string |
|
label OptionalStoryLetter |
string |
|
note OptionalStoryLetter |
string |
|
href OptionalStoryLetter |
string |
|
onAction OptionalStoryLetter |
() => void |
|
disabled OptionalStoryLetter |
boolean |
|
state OptionalStoryLetter |
"default" | "hover" | "active" | "disabled" |
|
className OptionalStoryLetter |
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- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter- A photo of the host, coach or founder.
product- The main product shot or cover (ebook, kit, bottle).
seal-guarantee- The money-back guarantee seal, on a transparent background.
-
210a0216005a5c32.webp
image/webp · 142 KB
-
5ee149ef0d597551.webp
image/webp · 100 KB
-
a8bfa3fdad4ba617.webp
image/webp · 357 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB