Signature 1
The closing card: closing line, script signature, printed name and the P.S. lines inside the same surface.
Use it in a prompt
Use content/signature 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/signature.tsx. - Import it and pass your copy and images (Props tab):
import { Signature } from "@/components/funneldna/content/signature"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/signature/component.tsx 199 lines
// Signs the sales letter and carries its personal closing, postscripts, and final action.
import * as React from "react"
import { ShieldCheck } from "lucide-react"
export type SignatureProps = {
closing?: string
/** Written as the signature when no signature image is supplied. */
name: string
/** Printed under the signature. Defaults to `name`. */
printedName?: string
role?: string
/** Author photo URL, shown paper-clipped to the letter. */
presenterImage?: string
presenterImageAlt?: string
/** Legacy portrait accepts an image URL or rich content. */
portrait?: string | React.ReactNode
portraitAlt?: string
/** A real dark-ink signature on white, rendered as a theme-ink mask. */
signatureImage?: string
signatureImageAlt?: string
/** Accessible signature template: {name}. */
signatureLabel?: string
postscriptPrefix?: string
postscriptSuffix?: string
label?: string
href?: string
onAction?: (event: React.MouseEvent<HTMLElement>) => void
state?: "default" | "hover" | "active"
/** P.S. lines. They stay on the same sheet. Wrap one key phrase in <mark> for a theme marker stroke (--marker). */
ps?: (React.ReactNode | { text: React.ReactNode; label?: string })[]
/** Optional action that closes the P.S. */
action?: SignatureAction
className?: string
style?: React.CSSProperties
}
export function Signature({
closing = "To your success,",
name,
printedName,
role,
portrait,
portraitAlt,
presenterImage,
presenterImageAlt,
signatureImage,
signatureImageAlt,
signatureLabel = "Signature of {name}",
postscriptPrefix = "P.",
postscriptSuffix = "S.",
ps,
action,
label = action?.label ?? "Yes! Give Me Access",
href = action?.href,
onAction = action?.onClick,
state,
className,
style,
}: SignatureProps) {
const printed = printedName ?? name
const photo = presenterImage === undefined ? portrait : presenterImage
const photoAlt = presenterImageAlt === undefined ? portraitAlt : presenterImageAlt
const button = <span>{label}</span>
return (
<div className={["cf-signature cfsig", className].filter(Boolean).join(" ")} data-state={state} style={style}>
<style>{CSS}</style>
<div className="cfsig-head">
{closing && <p className="cfsig-closing">{closing}</p>}
<div className="cfsig-sig">
{signatureImage ? (
<img className="cfsig-sigimg" src={signatureImage} style={{ maskImage: `url(${JSON.stringify(signatureImage)}),linear-gradient(var(--ink),var(--ink)),url(${JSON.stringify(signatureImage)})` }} alt={signatureImageAlt ?? signatureLabel.split("{name}").join(printed)} />
) : (
<span aria-hidden="true">
<span className="cfsig-script">{name}</span>
</span>
)}
</div>
<div className="cfsig-namewrap">
<p className="cfsig-name">{printed}</p>
{role && <p className="cfsig-role">{role}</p>}
</div>
{photo && (
<figure className="cfsig-photo">
<PaperClip />
<div className="cfsig-frame">
{typeof photo === "string" ? <img src={photo} alt={photoAlt ?? printed} /> : photo}
</div>
</figure>
)}
</div>
{ps && ps.length > 0 && (
<div className="cfsig-ps">
{ps.map((line, i) => {
const entry = line && typeof line === "object" && "text" in line ? line : { text: line }
return (
<p key={i}>
<span className="cfsig-pslabel">{entry.label ?? postscriptPrefix.repeat(i + 1) + postscriptSuffix}</span>
{entry.text}
</p>
)
})}
</div>
)}
{(action || href || onAction) && (
<div className="cfsig-act">
<div className="cfsig-ctarow">
{href ? (
<a className="cfsig-cta" href={href} onClick={onAction}>
{button}
</a>
) : (
<button type="button" className="cfsig-cta" onClick={onAction}>
{button}
</button>
)}
</div>
{action?.note && (
<p className="cfsig-note">
<ShieldCheck size={16} strokeWidth={2.25} aria-hidden="true" />
{action.note}
</p>
)}
</div>
)}
</div>
)
}
export default Signature
// shortcut: Ink masks need same-origin/CORS image URLs; proxy remote art when its server disallows CORS.
const CSS = `
.cf-signature{--sig-text:var(--ink,#101828);--sig-muted:var(--muted);--sig-paper:var(--card);--sig-ink:var(--ink);--sig-line:oklch(from var(--sig-text) l c h / 0.13);--sig-mark:var(--marker,#fae37c);position:relative;box-sizing:border-box;width:100%;max-width:680px;margin-inline:auto;padding:clamp(24px,5.5vw,48px);background:var(--sig-paper);color:var(--sig-text);font-family:var(--font-body);border:1px solid oklch(from var(--ink) l c h / 0.2);border-radius:var(--card-radius,var(--radius,6px));box-shadow:var(--card-shadow, var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)));border-color:var(--card-border,oklch(from var(--ink) l c h / 0.12));}
.cf-signature *,.cf-signature *::before,.cf-signature *::after{box-sizing:border-box}
:where(.cf-signature) .cfsig-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'closing photo' 'sig photo' 'name photo';column-gap:clamp(20px,4vw,40px);align-items:end}
:where(.cf-signature) .cfsig-closing{grid-area:closing;align-self:end;margin:0;font-size:clamp(19px,2.6vw,21px);font-style:italic;line-height:1.45;color:var(--sig-muted);text-wrap:pretty}
:where(.cf-signature) .cfsig-sig{grid-area:sig;position:relative;min-width:0;margin:8px 0 0;color:var(--sig-ink)}
:where(.cf-signature) .cfsig-sigimg{display:block;width:auto;max-width:min(100%,380px);height:clamp(74px,15vw,108px);object-fit:contain;object-position:left center;background:var(--ink);object-position:9999px 9999px;mask-mode:alpha,alpha,luminance;mask-composite:intersect,subtract;mask-size:contain,100% 100%,contain;mask-position:center;mask-repeat:no-repeat}
:where(.cf-signature) .cfsig-script{display:block;padding:.08em .3em 0 .04em;font-family:var(--signature-font,var(--signature-face,var(--font-display)));font-size:clamp(62px,13vw,88px);font-weight:400;line-height:1.05;overflow-wrap:anywhere}
:where(.cf-signature) .cfsig-namewrap{grid-area:name;margin-top:12px}
:where(.cf-signature) .cfsig-name{margin:0;font-family:var(--font-body);font-size:21px;font-weight:700;line-height:1.25;letter-spacing:-.005em;color:var(--sig-text)}
:where(.cf-signature) .cfsig-role{margin:4px 0 0;font-size:16px;line-height:1.45;color:var(--sig-muted);text-wrap:pretty}
:where(.cf-signature) .cfsig-photo{grid-area:photo;position:relative;align-self:start;width:clamp(128px,22vw,160px);margin:10px 6px 0 0;padding:7px 7px 9px;background:color-mix(in oklch,var(--ink) 4%,var(--card));border:1px solid oklch(from var(--ink) l c h / 0.10);border-radius:var(--card-radius,var(--radius,3px));transform:rotate(2.5deg);box-shadow:none;}
:where(.cf-signature) .cfsig-frame{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:2px;background:var(--band,#0f2747)}
:where(.cf-signature) .cfsig-frame>img,:where(.cf-signature) .cfsig-frame>svg{display:block;width:100%;height:100%;object-fit:cover}
:where(.cf-signature) .cfsig-frame::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .08);pointer-events:none}
:where(.cf-signature) .cfsig-clip{position:absolute;z-index:2;top:-24px;right:20px;width:20px;height:56px;transform:rotate(9deg);filter:drop-shadow(0 2px 1.5px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .35));overflow:visible}
:where(.cf-signature) .cfsig-ps{display:grid;gap:16px;margin-top:clamp(28px,5vw,38px);padding-top:clamp(22px,4.5vw,28px);border-top:1px solid var(--sig-line)}
:where(.cf-signature) .cfsig-ps p{margin:0;font-size:clamp(17px,2.3vw,19px);line-height:1.7;text-wrap:pretty}
:where(.cf-signature) .cfsig-ps strong{font-weight:700}
:where(.cf-signature) .cfsig-pslabel{display:inline-block;margin-right:.45em;font-family:var(--font-body);font-weight:700;color:var(--sig-ink)}
.cf-signature mark{color:var(--sig-text);background-color:transparent;background-image:linear-gradient(var(--marker,#fae37c),var(--marker,#fae37c));background-repeat:no-repeat;background-position:0 90%;background-size:100% 64%;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.02em .3em .04em .26em;margin:0 -.12em 0 -.1em;border-radius:.3em .9em .4em .8em/.75em .45em .8em .5em}
.cf-signature mark strong{color:inherit}
:where(.cf-signature) .cfsig-act{display:grid;justify-items:start;gap:12px;margin-top:clamp(24px,4.5vw,32px)}
:where(.cf-signature) .cfsig-ctarow{display:flex;align-items:center;gap:12px}
:where(.cf-signature) .cfsig-cta{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:62px;margin:0;padding:0 26px 0 28px;border:1px solid oklch(from var(--button-bg,var(--cta)) calc(l - 0.10) c h);border-radius:var(--button-radius,var(--radius,12px));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));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-size:19px;font-weight:var(--button-weight,800);line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;text-shadow:var(--button-text-shadow, 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.2) c h / 0.75));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .3), var(--shadow-sm, 0 1px 1px oklch(0.22 0.03 260 / 0.18), 0 1px 3px oklch(0.22 0.03 260 / 0.14)), inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h));transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;border-color:var(--button-bg-2,var(--cta-2));text-transform:var(--button-case,none);}
:where(.cf-signature) .cfsig-cta:hover,[data-state='hover'] :where(.cf-signature) .cfsig-cta,.cf-signature:where([data-state='hover']) .cfsig-cta{transform:translateY(-2px);background:oklch(from var(--button-bg,var(--cta)) calc(l - 0.06) c h);box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .3), var(--shadow-sm, 0 1px 1px oklch(0.22 0.03 260 / 0.18), 0 1px 3px oklch(0.22 0.03 260 / 0.14)), inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h));}
:where(.cf-signature) .cfsig-cta:active,[data-state='active'] :where(.cf-signature) .cfsig-cta,.cf-signature:where([data-state='active']) .cfsig-cta{transform:translateY(2px);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));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .3), 0 1px 1px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.2), inset 0 -1px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h));}
:where(.cf-signature) .cfsig-cta:focus-visible{outline:3px solid var(--accent,#0f5fc2);outline-offset:3px}
:where(.cf-signature) .cfsig-note{display:inline-flex;align-items:center;gap:7px;margin:0;font-family:var(--font-body,Arial,sans-serif);font-size:14px;line-height:1.4;color:var(--sig-muted)}
:where(.cf-signature) .cfsig-note svg{flex:none;color:var(--success)}
@media (max-width:560px){:where(.cf-signature) .cfsig-head{grid-template-areas:'closing photo' 'sig sig' 'name name';column-gap:16px}:where(.cf-signature) .cfsig-closing{align-self:center}:where(.cf-signature) .cfsig-photo{width:100px;margin:12px 4px 0 0;padding:5px 5px 6px}:where(.cf-signature) .cfsig-clip{top:-18px;right:12px;width:16px;height:44px}:where(.cf-signature) .cfsig-sig{margin-top:10px}:where(.cf-signature) .cfsig-act{justify-items:stretch}:where(.cf-signature) .cfsig-ctarow{display:block}:where(.cf-signature) .cfsig-cta{width:100%;padding:0 16px;font-size:17px;white-space:normal;text-wrap:balance}:where(.cf-signature) .cfsig-note{justify-self:center;text-align:center}}
@media (prefers-reduced-motion:reduce){:where(.cf-signature) .cfsig-cta{transition:none}}
`
export type SignatureAction = {
label: string
href?: string
onClick?: (event: React.MouseEvent<HTMLElement>) => void
/** One short reassurance line under the button. */
note?: string
}
function PaperClip() {
const id = React.useId().replace(/[^a-zA-Z0-9_-]/g, "")
const g = `sigclip${id}`
return (
<svg className="cfsig-clip" viewBox="0 0 20 56" aria-hidden="true" focusable="false">
<defs>
<linearGradient id={g} x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stopColor="oklch(from var(--card) calc(l - 0.03) c h)" />
<stop offset="0.45" stopColor="color-mix(in oklch,var(--ink) 40%,var(--card))" />
<stop offset="0.7" stopColor="oklch(from var(--card) calc(l - 0.03) c h)" />
<stop offset="1" stopColor="color-mix(in oklch,var(--ink) 65%,var(--card))" />
</linearGradient>
</defs>
<path d="M7 16 V44 a4.5 4.5 0 0 0 9 0 V10 a7 7 0 0 0 -14 0 V40" fill="none" stroke={`url(#${g})`} strokeWidth="2.3" strokeLinecap="round" />
</svg>
)
}
pieces/content/signature/specimen.tsx 47 lines
import __studioImage0b916eb4 from "../assets/200daa6529b2d350.webp";
import __studioImageb4bed21f from "../assets/0a0431699fe52d0a.webp";
import * as React from "react"
import { Signature } from "../signature"
import { slot } from "../../slots"
import defaults from "../../studio-defaults.json"
export const states = ["default", "hover", "active"]
export default function SignatureSpecimen({ state = "default" }: { state?: string }) {
const s = defaults.sample
return (
<div data-state={state}>
<Signature
closing="To your first funnel,"
name="Jordan"
printedName="Jordan Ellis"
role={`Creator, ${s.name}`}
presenterImage={slot("presenter", __studioImage0b916eb4)}
presenterImageAlt="Jordan Ellis"
signatureImage={slot("signature", __studioImageb4bed21f)}
ps={[
<>
Everything is in one download: the guide, the workbook and the checklist.{" "}
<mark>
<strong>
Get {s.name} today for {s.price}
</strong>
</mark>{" "}
(regular value {s.regularPrice}).
</>,
<>
You’re covered by our <strong>{s.guarantee}</strong>. Work through the kit. If it isn’t
right for you, just ask for a refund.
</>,
]}
action={{
label: s.label,
note: s.sublabel,
onClick: (event) => event.preventDefault(),
}}
/>
</div>
)
}
| Name | Type | Details |
|---|---|---|
closing OptionalSignature |
string |
Default "To your success,"
|
name RequiredSignature |
string |
|
printedName OptionalSignature |
string |
|
role OptionalSignature |
string |
|
presenterImage OptionalSignature |
string |
|
presenterImageAlt OptionalSignature |
string |
|
portrait OptionalSignature |
string | React.ReactNode |
|
portraitAlt OptionalSignature |
string |
|
signatureImage OptionalSignature |
string |
|
signatureImageAlt OptionalSignature |
string |
|
signatureLabel OptionalSignature |
string |
Default "Signature of {name}"
|
postscriptPrefix OptionalSignature |
string |
Default "P."
|
postscriptSuffix OptionalSignature |
string |
Default "S."
|
label OptionalSignature |
string |
Default action?.label ?? "Yes! Give Me Access"
|
href OptionalSignature |
string |
Default action?.href
|
onAction OptionalSignature |
(event: React.MouseEvent<HTMLElement>) => void |
Default action?.onClick
|
state OptionalSignature |
"default" | "hover" | "active" |
|
ps OptionalSignature |
(React.ReactNode | { text: React.ReactNode; label?: string })[] |
|
action OptionalSignature |
SignatureAction |
|
className OptionalSignature |
string |
|
style OptionalSignature |
React.CSSProperties |
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.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--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.
signature- The founder’s handwritten signature.
-
0a0431699fe52d0a.webp
image/webp · 128 KB
-
200daa6529b2d350.webp
image/webp · 127 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB