P.S. Block 1
P.S. / P.P.S. / P.P.P.S. — restates offer, deadline and guarantee for the skimmer who reads nothing else.
Use it in a prompt
Use content/ps-block 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/ps-block.tsx. - Import it and pass your copy and images (Props tab):
import { PsBlock } from "@/components/funneldna/content/ps-block"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/ps-block/component.tsx 316 lines
// Restates the offer at the end of a sales letter and gives skimmers one final action.
import * as React from "react"
import { ShieldCheck } from "lucide-react"
export type PsBlockProps = {
/** Ordered copy records; existing rich-text nodes remain accepted. */
items: (PsBlockItem | React.ReactNode)[]
closing?: string
/** Repeated once per item, followed by postscriptSuffix unless the item supplies a label. */
postscriptPrefix?: string
postscriptSuffix?: string
label?: string
href?: string
onAction?: React.MouseEventHandler<HTMLAnchorElement>
state?: PsBlockState
/** The author who signs the letter. */
signer?: PsBlockSigner
/** The one action the P.S. sends them to. */
action?: PsBlockAction
/** Short reassurance lines, joined into one line under the button. */
reassurance?: (string | { text: string })[]
/** Card surface (default). `false` renders inline in the letter with a top rule. */
boxed?: boolean
/** Legacy alias for hover/active state. */
forceState?: "hover" | "active"
className?: string
}
export function PsBlock({
items,
closing = "To your success,",
postscriptPrefix = "P.",
postscriptSuffix = "S.",
signer,
action,
label = action?.label ?? "Yes! Give Me Access",
href = action?.href,
onAction = action?.onClick,
state = "default",
reassurance,
boxed = true,
forceState,
className,
}: PsBlockProps) {
const printed = signer ? signer.printedName ?? signer.name : ""
const disabled = !!action?.disabled || state === "disabled"
const assure = (reassurance ?? []).map((line) => typeof line === "string" ? line : line.text).filter(Boolean)
const force = !disabled ? (state === "hover" || state === "active" ? state : forceState) : undefined
const typedSignature = !!signer && !signer.signatureImage
return (
<div className={["cf-ps-block text-[var(--psb-ink)] [font-family:var(--font-body)] bg-[var(--psb-surface)]", className].filter(Boolean).join(" ")} data-boxed={boxed ? "true" : "false"}>
{typedSignature && <link rel="stylesheet" href={FONT_HREF} />}
<style>{CSS}</style>
{signer && (
<>
<div className="psb-sign">
{closing && <p className="psb-closing">{closing}</p>}
<div className="psb-who">
<div className="psb-frame">
<div className="psb-photo">
{signer.presenterImage ? (
<img src={signer.presenterImage} alt={signer.presenterImageAlt ?? ""} />
) : (
<span className="psb-mono" aria-hidden="true">
{initials(printed)}
</span>
)}
</div>
</div>
<div className="psb-id">
{signer.signatureImage ? (
<img className="psb-sigimg" src={signer.signatureImage} alt={signer.signatureImageAlt ?? `Signature of ${printed}`} />
) : (
<span className="psb-script" aria-hidden="true">
{signer.name}
</span>
)}
<p className="psb-name">{printed}</p>
{signer.role && <p className="psb-role">{signer.role}</p>}
</div>
</div>
</div>
{items.length > 0 && (
<div className="psb-rule" role="separator">
<span className="psb-line" data-side="l" />
<span className="psb-dia" aria-hidden="true" />
<span className="psb-seal">
<StarSeal />
</span>
<span className="psb-dia" aria-hidden="true" />
<span className="psb-line" data-side="r" />
</div>
)}
</>
)}
{items.length > 0 && (
<div className="psb-list">
{items.map((item, i) => {
const entry: PsBlockItem = item && typeof item === "object" && "text" in item ? item : { text: item }
return (
<p key={i} className="psb-item">
<strong className="psb-mark">{entry.label ?? <>{postscriptPrefix.repeat(i + 1)}{postscriptSuffix}</>}</strong>
<span className="psb-sep"> </span>
<span className="psb-text">{entry.text}</span>
</p>
)
})}
</div>
)}
{(action || href || onAction) && (
<div className="psb-action">
<a
className="psb-btn"
href={href ?? "#"}
aria-disabled={disabled ? "true" : undefined}
tabIndex={disabled ? -1 : undefined}
data-force={force}
onClick={(e) => {
if (disabled) {
e.preventDefault()
return
}
onAction?.(e)
}}
>
<span>{label}</span>
</a>
{assure.length > 0 && (
<p className="psb-assure">
<ShieldCheck size={17} strokeWidth={2.5} aria-hidden="true" />
<span>{assure.join(" \u00b7 ")}</span>
</p>
)}
</div>
)}
</div>
)
}
export default PsBlock
export type PsBlockState = "default" | "hover" | "active" | "disabled"
/** Text may contain existing inline emphasis; no wrapper is added around it. */
export type PsBlockItem = { text: React.ReactNode; label?: string }
export type PsBlockSigner = {
/** Written as the signature. The name they sign, not the legal name. */
name: string
/** Printed under the signature. Defaults to `name`. */
printedName?: string
role?: string
/** Author photo URL; falls back to an initials monogram. */
presenterImage?: string
presenterImageAlt?: string
/** Use a real signature image when you have one; falls back to the script signature. */
signatureImage?: string
signatureImageAlt?: string
}
export type PsBlockAction = {
label: string
href?: string
onClick?: React.MouseEventHandler<HTMLAnchorElement>
disabled?: boolean
}
function initials(name: string) {
return name
.split(/\s+/)
.filter(Boolean)
.slice(0, 2)
.map((part) => part.charAt(0).toUpperCase())
.join("")
}
function StarSeal() {
return (
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path
className="psb-star"
d="M12 2.4 14.41 9.08 21.51 9.31 15.9 13.67 17.88 20.49 12 16.5 6.12 20.49 8.1 13.67 2.49 9.31 9.59 9.08Z"
/>
<path
className="psb-facet"
d="M12 12.4 12 2.4 14.41 9.08ZM12 12.4 21.51 9.31 15.9 13.67ZM12 12.4 17.88 20.49 12 16.5ZM12 12.4 6.12 20.49 8.1 13.67ZM12 12.4 2.49 9.31 9.59 9.08Z"
/>
</svg>
)
}
// The one integral face: a real handwritten script for the typed signature (single 400 weight).
const FONT_HREF = "https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap"
// Signature ink follows the theme; the script face defaults to Mrs Saint Delafield unless a page sets --signature-font.
const CSS = `
.cf-ps-block{
--psb-ink:var(--ink);--psb-muted:var(--muted);--psb-surface:var(--card);
--psb-band:var(--band);--psb-accent:var(--accent);--psb-accent-fill:var(--accent-fill,var(--accent));
--psb-cta:var(--cta);
--psb-pad:clamp(1.125rem,4.5vw,2.75rem);
--psb-sig:var(--signature-ink,var(--ink));
position:relative;box-sizing:border-box;width:100%;max-width:44rem;margin-inline:auto;
border:1px solid var(--card-border, oklch(from var(--ink) l c h / 0.12));
border-radius:var(--card-radius, var(--radius, 20px));
padding:var(--psb-pad);
box-shadow:var(--card-shadow,
inset 0 0 0 5px var(--psb-surface),
inset 0 0 0 6px oklch(from var(--psb-band) l c h / 0.09),
0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.06),
0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4));
}
.cf-ps-block *,.cf-ps-block *::before,.cf-ps-block *::after{box-sizing:border-box}
.cf-ps-block[data-boxed='false']{--psb-pad:0px;background:transparent;border:0;box-shadow:none;padding:0}
.cf-ps-block[data-boxed='false']::before{content:'';display:block;height:1px;margin-bottom:2rem;background:oklch(from var(--psb-ink) l c h / 0.14)}
.cf-ps-block .psb-closing{margin:0 0 1.125rem;font-size:clamp(1.0625rem,2.4vw,1.1875rem);font-style:italic;color:var(--psb-muted);line-height:1.5}
.cf-ps-block .psb-who{display:flex;align-items:center;gap:clamp(1rem,4vw,1.75rem)}
.cf-ps-block .psb-frame{position:relative;flex:none;width:clamp(5.5rem,23vw,7.75rem);aspect-ratio:5/6;margin:0 .5rem .5rem 0}
.cf-ps-block .psb-frame::before{content:'';position:absolute;inset:0;border-radius:16px;
background:color-mix(in oklch,var(--psb-ink) 6%,var(--psb-surface));transform:translate(.5rem,.5rem) rotate(3deg)}
.cf-ps-block .psb-photo{position:relative;width:100%;height:100%;overflow:hidden;border-radius:16px;
border:4px solid var(--psb-surface);background:color-mix(in oklch,var(--psb-band) 12%,var(--psb-surface));
box-shadow:0 0 0 1px oklch(from var(--psb-ink) l c h / 0.12),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.7)}
.cf-ps-block .psb-photo>img,.cf-ps-block .psb-photo>svg{display:block;width:100%;height:100%;object-fit:cover}
.cf-ps-block .psb-photo>img{object-position:50% 22%}
.cf-ps-block .psb-mono{display:grid;place-items:center;width:100%;height:100%;color:var(--band-ink);
font-family:var(--font-display);font-weight:800;font-size:1.75rem;letter-spacing:.02em;
background:var(--band)}
.cf-ps-block .psb-id{flex:1;min-width:0;container-type:inline-size}
.cf-ps-block .psb-script{
display:block;width:max-content;max-width:100%;
padding:.14em .3em .02em .12em;margin:-.22em 0 -.16em -.12em;
font-family:var(--signature-font,var(--signature-face,'Mrs Saint Delafield',cursive));
font-weight:400;font-style:normal;font-synthesis:none;letter-spacing:0;text-transform:none;
font-size:clamp(2.875rem,11vw,5rem);font-size:clamp(2.75rem,21cqi,5rem);line-height:1.3;
color:var(--psb-sig);white-space:nowrap;text-decoration:none;border:0;overflow:visible;
-webkit-font-smoothing:antialiased;
transform:rotate(-4deg);transform-origin:left 65%}
.cf-ps-block .psb-sigimg{display:block;height:clamp(3.5rem,11vw,4.75rem);width:auto;max-width:100%;object-fit:contain}
.cf-ps-block .psb-name{margin:.5rem 0 0;font-family:var(--font-body);font-weight:700;font-size:1.1875rem;line-height:1.25;letter-spacing:-.005em;color:var(--psb-ink)}
.cf-ps-block .psb-role{margin:.25rem 0 0;font-family:var(--font-body);font-size:.9375rem;line-height:1.45;color:var(--psb-muted);text-wrap:pretty}
.cf-ps-block .psb-rule{display:flex;align-items:center;gap:.625rem;margin:clamp(1.75rem,4.5vw,2.375rem) 0}
.cf-ps-block .psb-line{flex:1;height:6px;
border-top:2px solid oklch(from var(--psb-band) l c h / 0.22);
border-bottom:1px solid oklch(from var(--psb-accent-fill) l c h / 0.22);
-webkit-mask-image:linear-gradient(90deg,transparent,var(--ink) 55%);mask-image:linear-gradient(90deg,transparent,var(--ink) 55%)}
.cf-ps-block .psb-line[data-side='r']{-webkit-mask-image:linear-gradient(270deg,transparent,var(--ink) 55%);mask-image:linear-gradient(270deg,transparent,var(--ink) 55%)}
.cf-ps-block .psb-dia{flex:none;width:.4375rem;height:.4375rem;transform:rotate(45deg);border-radius:1.5px;
background:color-mix(in oklch,var(--psb-accent-fill) 55%,var(--psb-surface))}
.cf-ps-block .psb-seal{flex:none;display:grid;place-items:center;width:2.875rem;height:2.875rem;border-radius:999px;
background:var(--band);
box-shadow:inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .4),inset 0 -2px 3px oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .16),
0 0 0 4px var(--psb-surface),0 0 0 5px oklch(from var(--psb-accent-fill) l c h / 0.24),
0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.65)}
.cf-ps-block .psb-seal svg{display:block;width:1.4375rem;height:1.4375rem;overflow:visible;
filter:drop-shadow(0 1px 0 oklch(from var(--psb-band) l c h / 0.5));
animation:psb-twinkle .6s cubic-bezier(.34,1.56,.64,1) .1s backwards}
.cf-ps-block .psb-star{fill:var(--band-ink);stroke:var(--band-ink);stroke-width:1.3;stroke-linejoin:round}
.cf-ps-block .psb-facet{fill:var(--band-ink)}
.cf-ps-block .psb-list{display:grid;row-gap:clamp(1.125rem,3vw,1.5rem)}
.cf-ps-block .psb-item{display:block;margin:0;font-size:clamp(1.0625rem,2.2vw,1.1875rem);line-height:1.65;text-wrap:pretty}
.cf-ps-block .psb-mark{font-family:var(--font-display);font-weight:900;color:var(--psb-ink);white-space:nowrap;letter-spacing:-.005em}
.cf-ps-block .psb-text strong{color:var(--psb-ink)}
@media (min-width:640px){
.cf-ps-block .psb-list{grid-template-columns:max-content minmax(0,1fr);column-gap:1rem}
.cf-ps-block .psb-item{display:contents}
.cf-ps-block .psb-mark,.cf-ps-block .psb-text{font-size:clamp(1.0625rem,2.2vw,1.1875rem);line-height:1.65}
.cf-ps-block .psb-sep{display:none}
}
.cf-ps-block .psb-action{position:relative;margin-top:clamp(1.75rem,4.5vw,2.25rem)}
.cf-ps-block .psb-btn{
position:relative;display:flex;width:100%;min-height:4.25rem;align-items:center;justify-content:center;gap:.75rem;
padding:1.25rem clamp(1rem,4vw,1.75rem) 1.125rem;border-radius:var(--button-radius, var(--radius, 12px));
letter-spacing:-.005em;
text-align:center;text-wrap:balance;text-decoration:none;color:var(--button-ink, var(--cta-ink));cursor:pointer;
background:linear-gradient(180deg,oklch(from var(--button-bg,var(--cta)) l c h),oklch(from var(--button-bg,var(--cta)) calc(l - 0.05) c h));
border:1px solid var(--button-bg-2, var(--cta-2));
box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .38),inset 0 -2px 0 oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .18),inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4));
transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
-webkit-tap-highlight-color:transparent;text-transform:var(--button-case, none);font:var(--button-weight, 800) clamp(1.0625rem,4.4vw,1.375rem)/1.2 var(--button-font, var(--font-display));filter:none}
.cf-ps-block .psb-btn:hover,.cf-ps-block .psb-btn[data-force='hover']{transform:translateY(-2px);filter:none;
box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .38),inset 0 -2px 0 oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .18),inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4));background:oklch(from var(--button-bg,var(--cta)) calc(l - 0.06) c h)}
.cf-ps-block .psb-btn:active,.cf-ps-block .psb-btn[data-force='active']{transform:translateY(3px);filter:none;
box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .38),inset 0 -2px 0 oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .18),inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4));background:oklch(from var(--button-bg,var(--cta)) calc(l - 0.10) c h);color:contrast-color(oklch(from var(--button-bg,var(--cta)) calc(l - 0.10) c h))}
.cf-ps-block .psb-btn:focus-visible{outline:3px solid var(--psb-accent);outline-offset:3px}
.cf-ps-block .psb-btn[aria-disabled='true']{cursor:not-allowed;transform:none;filter:none;
color:var(--psb-muted);background:oklch(from var(--psb-surface) calc(l - 0.03) c h);
border-color:oklch(from var(--psb-ink) l c h / 0.18);box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .6))}
.cf-ps-block .psb-assure{display:block;margin:1rem 0 0;
font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--psb-muted);text-align:center;text-wrap:pretty}
.cf-ps-block .psb-assure svg{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em;color:var(--success)}
@media (max-width:420px){
.cf-ps-block .psb-btn{gap:.5rem}
}
@keyframes psb-twinkle{from{transform:rotate(-72deg) scale(.4);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){
.cf-ps-block .psb-btn{transition:none}
.cf-ps-block .psb-seal svg{animation:none}
.cf-ps-block .psb-btn:hover,.cf-ps-block .psb-btn[data-force='hover']{transform:none}
}
`
pieces/content/ps-block/specimen.tsx 56 lines
import __studioImage2cdfbc6f from "../assets/47f0071d8718f2cc.webp";
import * as React from "react"
import { PsBlock, type PsBlockState } from "../ps-block"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
export const states = ["default", "hover", "active", "disabled"]
const authorPhoto = __studioImage2cdfbc6f
export default function PsBlockSpecimen({ state = "default" }: { state?: string }) {
const s = defaults.sample
const names = s.items.map((item) => item.name)
const list =
names.length > 1
? `${names.slice(0, -1).join(", ")}, and the ${names[names.length - 1]}`
: names[0]
const items: React.ReactNode[] = [
<>
In case you skipped ahead: <strong style={{ fontWeight: 700 }}>{s.name}</strong> gives you the {list} in one
download. The regular value is <span style={{ textDecoration: "line-through" }}>{s.regularPrice}</span>, and
today it’s{" "}
<strong style={{ fontWeight: 800, color: "var(--ink)" }}>{s.price}</strong>. You’re covered by
our <strong style={{ fontWeight: 700 }}>{s.guarantee}</strong>, so you can open it, use it, and decide for
yourself.
</>,
<>
Here’s what it comes down to: {s.lead.charAt(0).toLowerCase() + s.lead.slice(1)} {s.note}. Click{" "}
<strong style={{ fontWeight: 700 }}>“{s.label}”</strong> and your kit is on its way.
</>,
]
return (
<div data-state={state}>
<PsBlock
items={items.map((text) => ({ text }))}
closing="To your success,"
signer={{
name: "Jordan Avery",
role: `Creator, ${s.name}`,
presenterImage: slot("presenter", authorPhoto),
presenterImageAlt: "Jordan Avery, creator of The Funnel Starter Kit",
}}
action={{
label: s.label,
href: "#order",
onClick: (e) => e.preventDefault(),
}}
reassurance={s.reassurance.map((text) => ({ text }))}
state={state as PsBlockState}
/>
</div>
)
}
| Name | Type | Details |
|---|---|---|
items RequiredPsBlock |
(PsBlockItem | React.ReactNode)[] |
|
closing OptionalPsBlock |
string |
Default "To your success,"
|
postscriptPrefix OptionalPsBlock |
string |
Default "P."
|
postscriptSuffix OptionalPsBlock |
string |
Default "S."
|
label OptionalPsBlock |
string |
Default action?.label ?? "Yes! Give Me Access"
|
href OptionalPsBlock |
string |
Default action?.href
|
onAction OptionalPsBlock |
React.MouseEventHandler<HTMLAnchorElement> |
Default action?.onClick
|
state OptionalPsBlock |
PsBlockState |
Default "default"
|
signer OptionalPsBlock |
PsBlockSigner |
|
action OptionalPsBlock |
PsBlockAction |
|
reassurance OptionalPsBlock |
(string | { text: string })[] |
|
boxed OptionalPsBlock |
boolean |
Default true
|
forceState OptionalPsBlock |
"hover" | "active" |
|
className OptionalPsBlock |
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-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter- A photo of the host, coach or founder.
-
47f0071d8718f2cc.webp
image/webp · 68.1 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB