Sales Letter 2
An annotated sales letter. Callouts and supplied proof sit in the reading column right under the paragraph they support, and a chapter-tick progress rail keeps the reader moving. A two-choice close ends on one action.
Use it in a prompt
Use content/sales-letter-2 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/sales-letter-2.tsx. - Import it and pass your copy and images (Props tab):
import { SalesLetter2 } from "@/components/funneldna/content/sales-letter-2"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/sales-letter-2/component.tsx 516 lines
// layout: split-contrast
// An annotated sales letter. Callouts and supplied proof sit in the reading column right under the paragraph they support, and a chapter-tick progress rail keeps the reader moving. A two-choice close ends on one action.
import * as React from "react"
import { Check, PenLine, Quote, ShieldCheck, X } from "lucide-react"
import { Divider, FX_HOST, Texture } from "../fx/fx"
import linen from "../fx/textures/linen"
export type LetterProof = {
quote: React.ReactNode
/** Who said it. */
name: React.ReactNode
/** Role or place, e.g. "Course creator, Austin". */
detail?: React.ReactNode
}
export type LetterBlock = {
/** paragraph (default) · subhead (adds a chapter tick to the rail) · promise (the bold promise line) · punch (a one-word line). */
type?: "paragraph" | "subhead" | "promise" | "punch"
text: React.ReactNode
/** Short callout set in the reading column, right under this block. */
note?: React.ReactNode
/** Supplied proof that supports this block. Shown only when given. */
proof?: LetterProof
}
export type SalesLetter2Copy = {
/** Accessible name of the chapter rail. */
chapters: string
/** Tick label; {heading} is replaced with the chapter heading. */
jumpTo: string
/** Accessible name of each note/proof aside. */
aside: string
/** Screen-reader label before the struck price. */
regularPrice: string
/** Screen-reader label before today's price. */
todayPrice: string
/** Lead-in of the P.S. */
psLabel: React.ReactNode
}
export type SalesLetter2Props = {
headline?: React.ReactNode
lead?: React.ReactNode
/** "Dear friend," */
salutation?: React.ReactNode
/** The letter, block by block, with optional notes and proof per block. */
blocks?: LetterBlock[]
/** Line above the signature: "Talk soon," */
closing?: React.ReactNode
signerName?: React.ReactNode
signerRole?: React.ReactNode
/** Handwritten signature image (slot: signature). Without it the name is set in the signature face. */
signatureImage?: string
signatureImageAlt?: string
/** Author portrait (slot: presenter). */
presenterImage?: string
presenterImageAlt?: string
ps?: React.ReactNode
/** The dark half of the close: the path they're on now. */
stayHeading?: React.ReactNode
stayBody?: React.ReactNode
/** The light half of the close: the path that leads to the action. */
actionHeading?: React.ReactNode
actionBody?: React.ReactNode
/** Product shot on a transparent background (slot: product). */
productImage?: string
productImageAlt?: string
priceLabel?: React.ReactNode
/** Regular price, shown with a slash through it. */
regularPrice?: React.ReactNode
/** Today's price. The price block shows only when this is supplied. */
price?: React.ReactNode
/** Button label, a delivery verb: "Send me the kit". */
label?: React.ReactNode
/** One short line under the button (guarantee, delivery). */
reassurance?: React.ReactNode
href?: string
onAction?: (event: React.MouseEvent<HTMLElement>) => void
disabled?: boolean
state?: "default" | "hover" | "active" | "disabled"
copy?: Partial<SalesLetter2Copy>
className?: string
}
export function SalesLetter2({
headline = "Here's what changes when the plan is in your hands",
lead = "Read it start to finish. The last part is the one that matters.",
salutation = "Dear friend,",
blocks = DEFAULT_BLOCKS,
closing = "Talk soon,",
signerName,
signerRole,
signatureImage,
signatureImageAlt = "",
presenterImage,
presenterImageAlt = "",
ps = "Everything you need to start is one click away. Open it tonight and take the first step before bed.",
stayHeading = "Keep starting from a blank page",
stayBody = "Another weekend of drafts, and the same page that never ships.",
actionHeading = "Or follow the plan, one step at a time",
actionBody = "Everything in the order you'll use it.",
productImage,
productImageAlt = "",
priceLabel,
regularPrice,
price,
label = "Send me the kit",
reassurance,
href,
onAction,
disabled = false,
state,
copy,
className,
}: SalesLetter2Props) {
const c: SalesLetter2Copy = { ...COPY, ...copy }
const sheetRef = React.useRef<HTMLDivElement>(null)
const colRef = React.useRef<HTMLDivElement>(null)
const ticksRef = React.useRef<Tick[]>([])
const activeRef = React.useRef(-1)
const [ticks, setTicks] = React.useState<Tick[]>([])
const [active, setActive] = React.useState(-1)
React.useEffect(() => {
const col = colRef.current
const sheet = sheetRef.current
if (!col || !sheet) return
let frame = 0
const update = () => {
frame = 0
const box = col.getBoundingClientRect()
const view = window.innerHeight || 1
const progress = clamp01((view * 0.4 - box.top) / Math.max(1, box.height))
sheet.style.setProperty("--p", progress.toFixed(4))
let current = -1
for (const tick of ticksRef.current) if (progress >= tick.at - 0.001) current = tick.index
if (current !== activeRef.current) {
activeRef.current = current
setActive(current)
}
}
const measure = () => {
const height = col.offsetHeight || 1
const next: Tick[] = []
col.querySelectorAll<HTMLElement>("[data-chapter]").forEach((el) => {
next.push({ index: Number(el.dataset.chapter), at: clamp01(el.offsetTop / height), label: (el.textContent || "").trim() })
})
if (tickKey(next) !== tickKey(ticksRef.current)) {
ticksRef.current = next
setTicks(next)
}
update()
}
const schedule = () => {
if (!frame) frame = window.requestAnimationFrame(update)
}
measure()
window.addEventListener("scroll", schedule, { passive: true })
window.addEventListener("resize", measure)
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure)
observer?.observe(col)
return () => {
window.removeEventListener("scroll", schedule)
window.removeEventListener("resize", measure)
observer?.disconnect()
if (frame) window.cancelAnimationFrame(frame)
}
}, [blocks])
const jump = (index: number) => {
const target = colRef.current?.querySelector<HTMLElement>(`[data-chapter="${index}"]`)
if (!target) return
const still = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches
target.scrollIntoView({ behavior: still ? "auto" : "smooth", block: "start" })
target.focus({ preventScroll: true })
}
const showSign = Boolean(signerName || signatureImage)
const showSigText = !signatureImage && Boolean(signerName)
const showPrice = price !== undefined && price !== null && price !== ""
const showClose = Boolean(label || showPrice || actionHeading)
const solo = !stayHeading && !stayBody
const isDisabled = disabled || state === "disabled"
const forced = state === "hover" || state === "active" ? state : undefined
const button =
href && !isDisabled ? (
<a className="csl-btn" href={href} data-state={forced} onClick={onAction}>
{label}
</a>
) : (
<button type="button" className="csl-btn" data-state={forced} disabled={isDisabled} onClick={isDisabled ? undefined : onAction}>
{label}
</button>
)
return (
<section className={["cf-sales-letter-2", className].filter(Boolean).join(" ")} style={{ ...FX_HOST, overflow: "clip" }}>
<style>{CSS}</style>
{showSigText && <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" />}
<Texture src={linen} tone="band-ink" />
<div className="csl-inner">
{(headline || lead) && (
<header className="csl-head">
{headline && <h2 className="csl-h">{headline}</h2>}
{lead && <p className="csl-lead">{lead}</p>}
</header>
)}
<div className="csl-sheet" ref={sheetRef}>
<div className="csl-grid">
<div className="csl-rail" role={ticks.length ? "navigation" : undefined} aria-label={ticks.length ? c.chapters : undefined}>
<div className="csl-track">
<span className="csl-fill" aria-hidden="true" />
{ticks.map((tick) => (
<button
key={tick.index}
type="button"
className="csl-tick"
data-passed={tick.index <= active ? "" : undefined}
aria-current={tick.index === active ? "location" : undefined}
aria-label={c.jumpTo.split("{heading}").join(tick.label)}
style={{ "--at": tick.at } as React.CSSProperties}
onClick={() => jump(tick.index)}
>
<span className="csl-tip" aria-hidden="true">
{tick.label}
</span>
</button>
))}
</div>
</div>
<div className="csl-col" ref={colRef}>
<div className="csl-mbar" aria-hidden="true">
<span className="csl-mfill" />
{ticks.map((tick) => (
<span key={tick.index} className="csl-mnotch" style={{ left: `${tick.at * 100}%` }} />
))}
</div>
{salutation && <p className="csl-sal">{salutation}</p>}
{blocks.map((block, i) => {
const type = block.type ?? "paragraph"
const proof = block.proof && block.proof.quote ? block.proof : undefined
const aside =
block.note || proof ? (
<aside className="csl-aside" aria-label={c.aside}>
{block.note && (
<p className="csl-note">
<PenLine className="csl-ico" size={16} strokeWidth={2.5} aria-hidden="true" />
{block.note}
</p>
)}
{proof && (
<figure className="csl-proof">
<blockquote>
<p>
<Quote className="csl-ico" size={16} strokeWidth={2.5} aria-hidden="true" />
{proof.quote}
</p>
</blockquote>
{(proof.name || proof.detail) && (
<figcaption>
{proof.name && <span className="csl-proof-name">{proof.name}</span>}
{proof.detail && <span className="csl-proof-detail">{proof.detail}</span>}
</figcaption>
)}
</figure>
)}
</aside>
) : null
let body: React.ReactNode
if (type === "subhead")
body = (
<h3 className="csl-sub" data-chapter={i} tabIndex={-1}>
{block.text}
</h3>
)
else if (type === "promise") body = <p className="csl-promise">{block.text}</p>
else if (type === "punch") body = <p className="csl-punch">{block.text}</p>
else body = <p className="csl-p">{block.text}</p>
return (
<div key={i} className={`csl-row csl-row--${type}`}>
{aside}
{body}
</div>
)
})}
{showSign && (
<div className="csl-sign">
{presenterImage && <img className="csl-face" src={presenterImage} alt={presenterImageAlt} width={64} height={64} loading="lazy" />}
<div className="csl-sign-text">
{closing && <p className="csl-closing">{closing}</p>}
{signatureImage ? (
<img className="csl-sig-img" src={signatureImage} alt={signatureImageAlt} />
) : showSigText ? (
<p className="csl-sig" aria-hidden="true">
{signerName}
</p>
) : null}
{signerName && <p className="csl-name">{signerName}</p>}
{signerRole && <p className="csl-role">{signerRole}</p>}
</div>
</div>
)}
{ps && (
<p className="csl-ps">
<strong className="csl-ps-tag">{c.psLabel}</strong>
{ps}
</p>
)}
</div>
</div>
</div>
{showClose && (
<div className="csl-close" data-solo={solo ? "" : undefined}>
{!solo && (
<div className="csl-stay">
{stayHeading && (
<h3 className="csl-stay-h">
<span className="csl-badge csl-badge--no" aria-hidden="true">
<X size="0.72em" strokeWidth={3} />
</span>
{stayHeading}
</h3>
)}
{stayBody && <p className="csl-stay-p">{stayBody}</p>}
</div>
)}
<div className="csl-offer" data-media={productImage ? "" : undefined}>
{productImage && <img className="csl-prod" src={productImage} alt={productImageAlt} width={220} height={220} loading="lazy" />}
<div className="csl-offer-body">
{actionHeading && (
<h3 className="csl-offer-h">
<span className="csl-badge csl-badge--yes" aria-hidden="true">
<Check size="0.72em" strokeWidth={3} />
</span>
{actionHeading}
</h3>
)}
{actionBody && <p className="csl-offer-p">{actionBody}</p>}
{showPrice && (
<div className="csl-price">
{priceLabel && <p className="csl-plabel">{priceLabel}</p>}
<p className="csl-prow">
{regularPrice && (
<span className="csl-was">
<span className="csl-vh">{c.regularPrice} </span>
<s>{regularPrice}</s>
</span>
)}
<span className="csl-now">
<span className="csl-vh">{c.todayPrice} </span>
{price}
</span>
</p>
</div>
)}
{label && <div className="csl-act">{button}</div>}
{reassurance && (
<p className="csl-assure">
<ShieldCheck className="csl-ico" size={16} strokeWidth={2.5} aria-hidden="true" />
{reassurance}
</p>
)}
</div>
</div>
</div>
)}
</div>
<Divider shape="angle" tone="surface" height={56} />
</section>
)
}
export default SalesLetter2
/** One marker stroke behind a key phrase in the promise line. */
export function LetterHighlight({ children }: { children: React.ReactNode }) {
return <mark className="csl-mark">{children}</mark>
}
type Tick = { index: number; at: number; label: string }
const COPY: SalesLetter2Copy = {
chapters: "Letter chapters",
jumpTo: "Jump to: {heading}",
aside: "Note on this part of the letter",
regularPrice: "Regular price",
todayPrice: "Today",
psLabel: "P.S.",
}
const DEFAULT_BLOCKS: LetterBlock[] = [
{ text: "You already know what you want to sell." },
{ text: "You've read the threads. You've saved the swipe files. You've watched the breakdowns.", note: "Sound familiar? Keep reading." },
{ text: "And the page still isn't written." },
{ type: "punch", text: "Stuck." },
{ type: "subhead", text: "Why more tips won't get it written" },
{ text: "Tips hand you pieces. A page needs an order." },
{ text: "Without the order, every draft starts from a blank screen. Every blank screen costs you another weekend.", note: "This is the part most people skip." },
{ type: "subhead", text: "Follow the plan in the order you'll use it" },
{ text: "First, decide who the page is for and what they get." },
{ text: "Then write the headline, the story and the offer, one step at a time." },
{ type: "promise", text: "Follow the steps once and you'll have a draft you can publish." },
{ type: "subhead", text: "Get it on its way to you" },
{ text: "Everything you need is below. One click and it's yours." },
{ type: "punch", text: "Done." },
]
function clamp01(n: number) {
return Math.min(1, Math.max(0, Number.isFinite(n) ? n : 0))
}
function tickKey(list: Tick[]) {
return list.map((t) => t.index + ":" + t.at.toFixed(3) + ":" + t.label).join("|")
}
const CSS = `
.cf-sales-letter-2{--csl-shadow:var(--shadow,oklch(0.22 0.03 260));--signature-font:var(--signature-face,'Mrs Saint Delafield',var(--font-display,Georgia,serif));position:relative;background:var(--band,#1b2b4b);color:var(--band-ink,#ffffff);font-family:var(--font-body,system-ui,sans-serif);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) calc(clamp(64px,8.5vw,120px) + 56px)}
.cf-sales-letter-2 *,.cf-sales-letter-2 *::before,.cf-sales-letter-2 *::after{box-sizing:border-box}
.cf-sales-letter-2 .csl-inner{position:relative;z-index:1}
.cf-sales-letter-2 .csl-head{max-width:46rem;margin:0 auto clamp(32px,5vw,48px);text-align:center}
.cf-sales-letter-2 .csl-h{margin:0;color:var(--band-ink,#ffffff);font-family:var(--font-display,system-ui,sans-serif);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}
.cf-sales-letter-2 .csl-lead{margin:24px auto 0;max-width:40rem;color:var(--band-ink,#ffffff);font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;text-wrap:pretty}
.cf-sales-letter-2 .csl-sheet{max-width:56rem;margin:0 auto;background:var(--card,#ffffff);color:var(--ink,#101828);border:1px solid var(--card-border,oklch(from var(--ink,#101828) l c h / 0.12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-md,0 1px 2px oklch(from var(--csl-shadow) l c h / 0.22),0 4px 10px -2px oklch(from var(--csl-shadow) l c h / 0.2)));padding:clamp(28px,5vw,64px) clamp(20px,5vw,64px) clamp(32px,5vw,64px)}
.cf-sales-letter-2 .csl-grid{display:grid;grid-template-columns:minmax(0,1fr)}
.cf-sales-letter-2 .csl-rail{display:none;position:relative}
.cf-sales-letter-2 .csl-track{position:sticky;top:max(24px,14vh);height:min(64vh,540px);width:40px}
.cf-sales-letter-2 .csl-track::before{content:'';position:absolute;left:calc(50% - 1.5px);top:0;bottom:0;width:3px;border-radius:3px;background:oklch(from var(--ink,#101828) l c h / 0.12)}
.cf-sales-letter-2 .csl-fill{position:absolute;left:calc(50% - 1.5px);top:0;width:3px;height:100%;border-radius:3px;background:var(--accent-fill,var(--accent,#2457c5));transform:scaleY(var(--p,0));transform-origin:top center;transition:transform .16s ease}
.cf-sales-letter-2 .csl-tick{position:absolute;left:50%;top:calc(var(--at,0) * 100%);width:32px;height:32px;margin:-16px 0 0 -16px;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center}
.cf-sales-letter-2 .csl-tick::before{content:'';width:12px;height:12px;border-radius:999px;background:var(--card,#ffffff);box-shadow:inset 0 0 0 2px oklch(from var(--ink,#101828) l c h / 0.38);transition:transform .16s ease,background .16s ease}
.cf-sales-letter-2 .csl-tick[data-passed]::before{background:var(--accent-fill,var(--accent,#2457c5));box-shadow:inset 0 0 0 2px var(--accent-fill,var(--accent,#2457c5))}
.cf-sales-letter-2 .csl-tick[aria-current]::before,.cf-sales-letter-2 .csl-tick:hover::before{transform:scale(1.35)}
.cf-sales-letter-2 .csl-tick:focus-visible{outline:3px solid var(--field-focus,var(--accent,#2457c5));outline-offset:1px}
.cf-sales-letter-2 .csl-tip{position:absolute;left:calc(100% + 4px);top:50%;z-index:3;transform:translateY(-50%);width:max-content;max-width:15rem;padding:6px 12px;border-radius:10px;border:1px solid oklch(from var(--ink,#101828) l c h / 0.12);background:var(--card,#ffffff);color:var(--ink,#101828);font-family:var(--font-body,system-ui,sans-serif);font-size:.875rem;line-height:1.25;font-weight:800;text-align:left;box-shadow:var(--shadow-md,0 1px 2px oklch(from var(--csl-shadow) l c h / 0.22),0 4px 10px -2px oklch(from var(--csl-shadow) l c h / 0.2));opacity:0;pointer-events:none;transition:opacity .16s ease}
.cf-sales-letter-2 .csl-tick:hover .csl-tip,.cf-sales-letter-2 .csl-tick:focus-visible .csl-tip{opacity:1}
.cf-sales-letter-2 .csl-col{position:relative;min-width:0;container-type:inline-size}
.cf-sales-letter-2 .csl-mbar{position:sticky;top:10px;z-index:2;height:4px;margin:0 0 24px;border-radius:4px;overflow:hidden;background:color-mix(in oklch,var(--ink,#101828) 12%,var(--card,#ffffff));outline:4px solid var(--card,#ffffff)}
.cf-sales-letter-2 .csl-mfill{position:absolute;inset:0;background:var(--accent-fill,var(--accent,#2457c5));transform:scaleX(var(--p,0));transform-origin:left center;transition:transform .16s ease}
.cf-sales-letter-2 .csl-mnotch{position:absolute;top:0;bottom:0;width:3px;margin-left:-1.5px;background:var(--card,#ffffff)}
@media (min-width:900px){.cf-sales-letter-2 .csl-grid{grid-template-columns:40px minmax(0,42.5rem);column-gap:clamp(20px,2.5vw,36px);justify-content:center}.cf-sales-letter-2 .csl-rail{display:block}.cf-sales-letter-2 .csl-mbar{display:none}.cf-sales-letter-2 .csl-sheet{padding-left:clamp(24px,3vw,40px)}}
.cf-sales-letter-2 .csl-sal{margin:0 0 24px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.6;font-weight:700}
.cf-sales-letter-2 .csl-row{display:flex;flex-direction:column}
.cf-sales-letter-2 .csl-row--subhead{clear:both}
.cf-sales-letter-2 .csl-p{margin:0 0 16px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.6;text-wrap:pretty}
.cf-sales-letter-2 .csl-sub{margin:40px 0 12px;color:var(--ink,#101828);font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance;scroll-margin-top:96px}
.cf-sales-letter-2 .csl-sub:focus{outline:none}
.cf-sales-letter-2 .csl-sub:focus-visible{outline:3px solid var(--field-focus,var(--accent,#2457c5));outline-offset:4px;border-radius:4px}
.cf-sales-letter-2 .csl-punch{margin:4px 0 24px;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15}
.cf-sales-letter-2 .csl-promise{margin:8px 0 24px;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:700;text-wrap:pretty}
.cf-sales-letter-2 .csl-mark{color:inherit;padding:0 .14em;border-radius:3px;background:linear-gradient(transparent 55%,color-mix(in oklch,var(--marker,#fae37c) 75%,transparent) 55%,color-mix(in oklch,var(--marker,#fae37c) 75%,transparent) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-sales-letter-2 .csl-aside{order:2;display:grid;justify-items:start;gap:16px;margin:-4px 0 24px}
.cf-sales-letter-2 .csl-note{margin:0;max-width:34rem;padding:12px 16px;border-radius:10px;background:color-mix(in oklch,var(--ink,#101828) 4%,var(--card,#ffffff));color:var(--ink,#101828);font-size:.9375rem;line-height:1.4;font-weight:700;text-wrap:pretty}
.cf-sales-letter-2 .csl-note .csl-ico{color:var(--accent,#2457c5)}
.cf-sales-letter-2 .csl-ico{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em}
.cf-sales-letter-2 .csl-proof{margin:0;padding:0 4px}
.cf-sales-letter-2 .csl-proof blockquote{margin:0}
.cf-sales-letter-2 .csl-proof p{margin:0;color:var(--ink,#101828);font-size:.9375rem;line-height:1.45;font-weight:500;text-wrap:pretty}
.cf-sales-letter-2 .csl-proof .csl-ico{color:var(--accent,#2457c5)}
.cf-sales-letter-2 .csl-proof figcaption{margin-top:8px;color:var(--muted,#475467);font-size:.875rem;line-height:1.3}
.cf-sales-letter-2 .csl-proof-name{display:block;font-weight:800;color:var(--ink,#101828)}
.cf-sales-letter-2 .csl-proof-detail{display:block;font-weight:600}
.cf-sales-letter-2 .csl-proof{max-width:34rem}
.cf-sales-letter-2 .csl-sign{clear:both;display:flex;align-items:flex-start;gap:16px;margin-top:40px}
.cf-sales-letter-2 .csl-face{flex:none;width:64px;height:64px;margin-top:4px;border-radius:12px;object-fit:cover;object-position:50% 25%}
.cf-sales-letter-2 .csl-sign-text{min-width:0}
.cf-sales-letter-2 .csl-closing{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.6}
.cf-sales-letter-2 .csl-sig{margin:4px 0;color:var(--signature-ink,var(--ink,#101828));font-family:var(--signature-font);font-weight:400;font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1.1;overflow-wrap:anywhere}
.cf-sales-letter-2 .csl-sig-img{display:block;height:56px;width:auto;max-width:100%;margin:6px 0}
.cf-sales-letter-2 .csl-name{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.4;font-weight:700}
.cf-sales-letter-2 .csl-role{margin:2px 0 0;color:var(--muted,#475467);font-size:.9375rem;line-height:1.4;font-weight:500}
.cf-sales-letter-2 .csl-ps{clear:both;margin:32px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.6;text-wrap:pretty}
.cf-sales-letter-2 .csl-ps-tag{margin-inline-end:.35em;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800)}
.cf-sales-letter-2 .csl-close{display:grid;gap:24px;max-width:56rem;margin:clamp(48px,6vw,64px) auto 0;container-type:inline-size}
.cf-sales-letter-2 .csl-close[data-solo]{max-width:28rem}
.cf-sales-letter-2 .csl-stay{max-width:40rem;padding:0 4px}
@container (min-width:640px){.cf-sales-letter-2 .csl-offer[data-media]{display:grid;grid-template-columns:minmax(0,14rem) minmax(0,1fr);column-gap:clamp(24px,5cqi,48px);align-items:start;text-align:left}.cf-sales-letter-2 .csl-offer[data-media] .csl-prod{width:100%;margin:0}.cf-sales-letter-2 .csl-offer[data-media] .csl-prow{justify-content:flex-start}}
.cf-sales-letter-2 .csl-stay-h{margin:0 0 12px;color:var(--band-ink,#ffffff);font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-sales-letter-2 .csl-stay-p{margin:0;max-width:34rem;color:var(--band-ink,#ffffff);font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;text-wrap:pretty}
.cf-sales-letter-2 .csl-badge{display:inline-grid;place-items:center;width:1.25em;height:1.25em;margin-inline-end:.4em;border-radius:999px;vertical-align:-0.22em;color:var(--csl-badge-ink,oklch(1 0 0))}
.cf-sales-letter-2 .csl-badge--no{background:var(--danger,#c9302c)}
.cf-sales-letter-2 .csl-badge--yes{background:var(--success,#1f7a3e)}
.cf-sales-letter-2 .csl-offer{background:var(--card,#ffffff);color:var(--ink,#101828);border:1px solid var(--card-border,oklch(from var(--ink,#101828) 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(from var(--csl-shadow) l c h / 0.22),0 12px 24px -8px oklch(from var(--csl-shadow) l c h / 0.32)));padding:clamp(20px,3vw,32px);text-align:center}
.cf-sales-letter-2 .csl-prod{display:block;width:min(200px,62%);height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 2px 3px oklch(from var(--csl-shadow) l c h / 0.3)) drop-shadow(0 12px 14px oklch(from var(--csl-shadow) l c h / 0.2))}
.cf-sales-letter-2 .csl-offer-h{margin:0;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-sales-letter-2 .csl-offer-p{margin:12px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;text-wrap:pretty}
.cf-sales-letter-2 .csl-price{margin-top:24px}
.cf-sales-letter-2 .csl-plabel{margin:0;color:var(--muted,#475467);font-size:.9375rem;line-height:1.4;font-weight:600}
.cf-sales-letter-2 .csl-prow{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:20px;row-gap:8px;margin:16px 0 0;font-family:var(--font-display,system-ui,sans-serif);font-variant-numeric:tabular-nums}
.cf-sales-letter-2 .csl-was{position:relative;display:inline-block;padding:0 .08em;color:var(--muted,#475467);font-size:clamp(1.3125rem,1.8vw,1.625rem);font-weight:700;line-height:1}
.cf-sales-letter-2 .csl-was s{text-decoration:none}
.cf-sales-letter-2 .csl-was::after{content:'';position:absolute;left:-10%;right:-10%;top:50%;height:3px;margin-top:-1.5px;border-radius:3px;background:var(--danger,#c9302c);transform:rotate(-16deg)}
.cf-sales-letter-2 .csl-now{display:inline-block;color:var(--ink,#101828);font-size:clamp(2.5rem,4.2vw,3.75rem);font-weight:var(--display-weight,800);letter-spacing:-0.03em;line-height:1.05}
.cf-sales-letter-2 .csl-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-sales-letter-2 .csl-act{margin-top:24px}
.cf-sales-letter-2 .csl-act .csl-btn{min-height:72px}
.cf-sales-letter-2 .csl-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l + 0.04) c h),oklch(from var(--button-bg-2,var(--cta-2,#b8302a)) 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,1.55vw,1.375rem);line-height:1.15;text-align:center;text-wrap:balance;text-decoration:none;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--csl-shadow) l c h / 0.3),0 8px 16px -6px oklch(from var(--csl-shadow) l c h / 0.45));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-sales-letter-2 .csl-btn:hover:not(:disabled),.cf-sales-letter-2 .csl-btn[data-state=hover]{background:linear-gradient(oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.01) c h),oklch(from var(--button-bg-2,var(--cta-2,#b8302a)) calc(l - 0.07) c h));box-shadow:inset 0 1px 0 oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l + 0.1) c h / 0.6),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.2) c h),0 1px 2px oklch(from var(--csl-shadow) l c h / 0.32),0 10px 18px -6px oklch(from var(--csl-shadow) l c h / 0.5)}
.cf-sales-letter-2 .csl-btn:active:not(:disabled),.cf-sales-letter-2 .csl-btn[data-state=active]{transform:translateY(1px);background:linear-gradient(oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.06) c h),oklch(from var(--button-bg-2,var(--cta-2,#b8302a)) calc(l - 0.08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.22) c h / 0.5),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta,#d63a2f)) calc(l - 0.16) c h),0 1px 1px oklch(from var(--csl-shadow) l c h / 0.3)}
.cf-sales-letter-2 .csl-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent,#2457c5));outline-offset:3px}
.cf-sales-letter-2 .csl-btn:disabled{cursor:not-allowed;transform:none;background:var(--button-2-bg,var(--secondary,#e8ebf2));color:var(--button-2-ink,var(--secondary-ink,#101828));text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(from var(--csl-shadow) l c h / 0.2)))}
.cf-sales-letter-2 .csl-assure{margin:12px 0 0;color:var(--muted,#475467);font-size:.9375rem;line-height:1.4;font-weight:600;text-wrap:pretty}
.cf-sales-letter-2 .csl-assure .csl-ico{color:var(--success,#1f7a3e)}
@media (prefers-reduced-motion:reduce){.cf-sales-letter-2 .csl-fill,.cf-sales-letter-2 .csl-mfill,.cf-sales-letter-2 .csl-tick::before,.cf-sales-letter-2 .csl-tip,.cf-sales-letter-2 .csl-btn{transition:none}.cf-sales-letter-2 .csl-btn:active:not(:disabled),.cf-sales-letter-2 .csl-btn[data-state=active]{transform:none}}
`
pieces/content/sales-letter-2/specimen.tsx 93 lines
import __studioImage8b62efe7 from "../assets/49ec6fe167d99cc8.webp";
import __studioImage06c21bd3 from "../assets/b3892e631a4f1a24.webp";
import * as React from "react"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
import { LetterHighlight, SalesLetter2 } from "../sales-letter-2"
type State = "default" | "hover" | "active" | "disabled"
export const states = ["default", "hover", "active", "disabled"]
export default function SalesLetter2Specimen({ state }: { state?: State }) {
const sample = defaults.sample
return (
<SalesLetter2
state={state}
headline="Your sales letter isn't stuck. It's out of order."
lead="Here's the sequence our studio uses to take a letter from blank doc to finished draft."
salutation="Dear fellow writer,"
blocks={[
{ text: "You've got an offer you believe in." },
{
text: "You've bookmarked the headline formulas. You've read every teardown in your feed.",
note: "Be honest: how many of those bookmarks have you opened twice?",
},
{ text: "And your sales letter is still a blank doc with a title." },
{ type: "punch", text: "Stalled." },
{ type: "subhead", text: "The problem isn't your writing" },
{ text: "Most stuck letters aren't badly written. They're written out of order." },
{
text: "You polish the headline before the offer is clear. You draft the guarantee before the story. Every rewrite starts from zero.",
note: "Read that line twice. It's the whole letter.",
proof: {
quote: "I'd rewritten my opening eleven times. I was missing the story section entirely.",
name: "Priya K.",
detail: "Wellness coach, Leeds",
},
},
{ type: "subhead", text: "Write it in the Letter Order" },
{ text: "At Copy Cohort Studio we teach one sequence: the reader, the promise, the story, the offer, the close." },
{
text: "Each step has a worksheet. Each worksheet hands you the first line of the next one.",
proof: {
quote: "The worksheets meant I never stared at a blank page again.",
name: "Dana R.",
detail: "Course creator, Austin",
},
},
{ text: "You don't need more ideas. You need the next line." },
{
type: "promise",
text: (
<>
Work the Letter Order once and you'll have a <LetterHighlight>finished sales letter draft</LetterHighlight> ready to publish.
</>
),
},
{ type: "subhead", text: "What happens after you say yes" },
{ text: "We send the Letter Kit straight to your inbox.", note: "Instant download. No waiting for the next cohort." },
{ text: "You open worksheet one tonight." },
{ text: "By the weekend, your letter has a beginning, a middle and an ask." },
{ type: "punch", text: "Written." },
]}
closing="Write soon,"
signerName="Mara Ellison"
signerRole="Founder, Copy Cohort Studio"
presenterImage={slot(
"presenter",
__studioImage8b62efe7
)}
presenterImageAlt="Mara Ellison, founder of Copy Cohort Studio"
ps={
<>
You're covered by our {sample.guarantee}. Open the kit, work the first worksheet tonight, and <strong>decide for yourself</strong>.
</>
}
stayHeading="Keep rewriting the opening line"
stayBody="More formulas, more bookmarks, and the same unfinished doc next month."
actionHeading="Or work the Letter Order tonight"
actionBody="Five worksheets, in the order you'll write them."
productImage={slot(
"product",
__studioImage06c21bd3
)}
productImageAlt="The Copy Cohort Letter Kit workbook and worksheets"
priceLabel="The complete Letter Kit, today"
regularPrice={sample.regularPrice}
price={sample.price}
label="Send me the Letter Kit"
reassurance={`${sample.guarantee} · Instant download`}
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalSalesLetter2 |
React.ReactNode |
Default "Here's what changes when the plan is in your hands"
|
lead OptionalSalesLetter2 |
React.ReactNode |
Default "Read it start to finish. The last part is the one that matters."
|
salutation OptionalSalesLetter2 |
React.ReactNode |
Default "Dear friend,"
|
blocks OptionalSalesLetter2 |
LetterBlock[] |
Default DEFAULT_BLOCKS
|
closing OptionalSalesLetter2 |
React.ReactNode |
Default "Talk soon,"
|
signerName OptionalSalesLetter2 |
React.ReactNode |
|
signerRole OptionalSalesLetter2 |
React.ReactNode |
|
signatureImage OptionalSalesLetter2 |
string |
|
signatureImageAlt OptionalSalesLetter2 |
string |
Default ""
|
presenterImage OptionalSalesLetter2 |
string |
|
presenterImageAlt OptionalSalesLetter2 |
string |
Default ""
|
ps OptionalSalesLetter2 |
React.ReactNode |
Default "Everything you need to start is one click away. Open it tonight and take the first step before bed."
|
stayHeading OptionalSalesLetter2 |
React.ReactNode |
Default "Keep starting from a blank page"
|
stayBody OptionalSalesLetter2 |
React.ReactNode |
Default "Another weekend of drafts, and the same page that never ships."
|
actionHeading OptionalSalesLetter2 |
React.ReactNode |
Default "Or follow the plan, one step at a time"
|
actionBody OptionalSalesLetter2 |
React.ReactNode |
Default "Everything in the order you'll use it."
|
productImage OptionalSalesLetter2 |
string |
|
productImageAlt OptionalSalesLetter2 |
string |
Default ""
|
priceLabel OptionalSalesLetter2 |
React.ReactNode |
|
regularPrice OptionalSalesLetter2 |
React.ReactNode |
|
price OptionalSalesLetter2 |
React.ReactNode |
|
label OptionalSalesLetter2 |
React.ReactNode |
Default "Send me the kit"
|
reassurance OptionalSalesLetter2 |
React.ReactNode |
|
href OptionalSalesLetter2 |
string |
|
onAction OptionalSalesLetter2 |
(event: React.MouseEvent<HTMLElement>) => void |
|
disabled OptionalSalesLetter2 |
boolean |
Default false
|
state OptionalSalesLetter2 |
"default" | "hover" | "active" | "disabled" |
|
copy OptionalSalesLetter2 |
Partial<SalesLetter2Copy> |
|
className OptionalSalesLetter2 |
string |
|
children RequiredLetterHighlight |
React.ReactNode |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-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).
-
2c539f422023a290.webp
image/webp · 115 KB
-
49ec6fe167d99cc8.webp
image/webp · 49.8 KB
-
b3892e631a4f1a24.webp
image/webp · 45.2 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB