Three Secrets 1
Opens three curiosity loops and asks the reader to reserve a workshop seat.
Use it in a prompt
Use content/three-secrets 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/three-secrets.tsx. - Import it and pass your copy and images (Props tab):
import { ThreeSecrets } from "@/components/funneldna/content/three-secrets"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/three-secrets/component.tsx 305 lines
// Opens three curiosity loops and asks the reader to reserve a workshop seat.
"use client"
import * as React from "react"
import { AlertCircle, Loader2, LockKeyhole, PlayCircle, ShieldCheck, Ticket } from "lucide-react"
export type ThreeSecretsProps = {
headline?: string
/** Phrase inside the headline that gets the marker stroke. */
highlight?: string
lead?: string
secrets?: SecretTeaser[]
/** Line on each card's locked strip. */
revealNote?: string
secretLabel?: string
/** Number and accessible heading templates accept {index}. */
secretNumber?: string
secretTitle?: string
label?: string
sublabel?: string
privacy?: string
loadingLabel?: string
/** @deprecated No longer rendered: the builder wires what happens after the click. */
successLabel?: string
/** @deprecated No longer rendered: the builder wires what happens after the click. */
successMessage?: string
errorMessage?: string
/** Where the button goes (e.g. "#register"). */
href?: string
/** Opens your opt-in / registers the visitor. A returned promise shows the loading label; a rejection shows errorMessage. */
onAction?: () => void | Promise<unknown>
/** Optional subtle photo behind the band (sits under a solid scrim). */
/** Legacy alias for sceneImage. */
backgroundImage?: string
sceneImage?: string
/** "success" is accepted for older callers and renders as default. */
state?: ThreeSecretsState
id?: string
className?: string
}
export function ThreeSecrets({
headline = "3 secrets you’ll discover in this free workshop",
highlight = "3 secrets",
lead = "Each one clears away a reason you haven’t launched yet. Save your seat to see all three.",
secrets = DEFAULT_SECRETS,
revealNote = "Revealed inside the workshop",
secretLabel = "Secret",
secretNumber = "#{index}",
secretTitle = "Secret #{index}: ",
label = "Yes! Save My Seat",
sublabel = "Free workshop · Watch online",
privacy = "We respect your inbox. Unsubscribe anytime.",
loadingLabel = "Saving your seat…",
errorMessage = "We couldn’t complete your registration. Please try again.",
href,
onAction,
backgroundImage,
sceneImage = backgroundImage,
state = "default",
id,
className,
}: ThreeSecretsProps) {
const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, "")
const headingId = `ts3-h-${uid}`
const [status, setStatus] = React.useState<"idle" | "loading" | "error">("idle")
const alive = React.useRef(true)
React.useEffect(() => {
alive.current = true
return () => {
alive.current = false
}
}, [])
const view = state === "error" && status === "idle" ? "error" : status
const disabled = state === "disabled"
const locked = disabled || view === "loading"
const force = state === "hover" || state === "active" ? state : undefined
const dataStatus = disabled ? "disabled" : view
function handle(event: React.MouseEvent<HTMLElement>) {
if (locked) {
event.preventDefault()
return
}
if (!onAction) return
event.preventDefault()
setStatus("idle")
let result: void | Promise<unknown>
try {
result = onAction()
} catch {
setStatus("error")
return
}
if (!result) return
setStatus("loading")
result.then(
() => alive.current && setStatus("idle"),
() => alive.current && setStatus("error"),
)
}
const inner =
view === "loading" ? (
<>
<span className="ts3-btn-ic" aria-hidden="true"><Loader2 className="ts3-spin" /></span>
<span className="ts3-btn-label">{loadingLabel}</span>
<span className="ts3-btn-ic ts3-btn-ghost" aria-hidden="true" />
</>
) : (
<>
<span className="ts3-btn-ic" aria-hidden="true"><Ticket /></span>
<span className="ts3-btn-label">{label}</span>
<span className="ts3-btn-ic ts3-btn-ghost" aria-hidden="true" />
</>
)
return (
<section id={id} className={["cf-three-secrets ts3", className].filter(Boolean).join(" ")} aria-labelledby={headingId}>
<style>{CSS}</style>
{sceneImage ? <img className="ts3-bg" src={sceneImage} alt="" width={1600} height={900} loading="lazy" /> : null}
<div className="ts3-scrim" aria-hidden="true" />
<div className="ts3-inner">
<h2 className="ts3-h" id={headingId}>{withHighlight(headline, highlight)}</h2>
{lead ? <p className="ts3-lead">{lead}</p> : null}
<ol className="ts3-list">
{secrets.slice(0, 3).map((secret, i) => (
<li className="ts3-card" key={secret.title} style={{ ["--i" as string]: i } as React.CSSProperties}>
<div className="ts3-num" aria-hidden="true">
<span className="ts3-num-label">{secretLabel}</span>
<span className="ts3-num-digit">{secretNumber.split("{index}").join(String(i + 1))}</span>
</div>
<div className="ts3-body">
<h3 className="ts3-title">
<span className="ts3-sr">{secretTitle.split("{index}").join(String(i + 1))}</span>
{secret.title}
</h3>
{secret.tease ? <p className="ts3-tease">{secret.tease}</p> : null}
<div className="ts3-redact">
<span className="ts3-lock" aria-hidden="true"><LockKeyhole /></span>
<span className="ts3-redact-note">{revealNote}</span>
<span className="ts3-bars" aria-hidden="true"><i /><i /><i /></span>
</div>
</div>
</li>
))}
</ol>
<div className="ts3-cta">
<div className="ts3-btn-row">
{href && !locked ? (
<a className="ts3-btn" href={href} data-status={dataStatus} data-force={force} onClick={handle}>
{inner}
</a>
) : (
<button
className="ts3-btn"
type="button"
data-status={dataStatus}
data-force={force}
disabled={disabled}
aria-disabled={locked || undefined}
aria-busy={view === "loading" || undefined}
onClick={handle}
>
{inner}
</button>
)}
</div>
{sublabel ? (
<p className="ts3-sub"><PlayCircle aria-hidden="true" />{sublabel}</p>
) : null}
<div className="ts3-live" aria-live="polite">
{view === "error" ? (
<p className="ts3-msg ts3-msg--err" role="alert"><AlertCircle aria-hidden="true" /><span>{errorMessage}</span></p>
) : null}
</div>
{privacy ? (
<p className="ts3-privacy"><ShieldCheck aria-hidden="true" />{privacy}</p>
) : null}
</div>
</div>
</section>
)
}
export default ThreeSecrets
export type ThreeSecretsState = "default" | "hover" | "active" | "disabled" | "error" | "success"
export type SecretTeaser = {
/** Curiosity headline: what they will discover, never how. */
title: string
/** Optional one-line tease that opens the loop wider. */
tease?: string
}
const DEFAULT_SECRETS: SecretTeaser[] = [
{
title: "The simple funnel map that shows you exactly which pages to build first",
tease: "Forget building a whole website. One plan tells you what goes where.",
},
{
title: "Why you don’t need to be a “born writer” to finish your page copy",
tease: "The fill-in approach for your headline, your offer and your call to action.",
},
{
title: "The pre-launch check that catches broken links and forms before your visitors do",
tease: "No tech team needed. Just the steps to review before you press publish.",
},
]
function withHighlight(text: string, phrase?: string) {
if (!phrase) return text
const at = text.indexOf(phrase)
if (at < 0) return text
return (
<>
{text.slice(0, at)}
<span className="ts3-mark">{phrase}</span>
{text.slice(at + phrase.length)}
</>
)
}
const CSS = `
.cf-three-secrets{--ts-band:var(--band,#0f2747);--ts-band-ink:var(--band-ink,#ffffff);--ts-marker:var(--marker,#fae37c);--ts-marker-ink:var(--ink);--ts-accent:var(--accent-fill,var(--accent,#0f5fc2));--ts-card:var(--card,#ffffff);--ts-ink:var(--ink,#101828);--ts-muted:var(--muted,#4a5565);--ts-radius:var(--radius,1.1rem);--ts-button-edge:var(--button-bg-2,var(--cta-2));position:relative;isolation:isolate;overflow:hidden;background:var(--ts-band);color:var(--ts-band-ink);font-family:var(--font-body,Arial,sans-serif);padding:clamp(4rem,8vw,6.75rem) clamp(1rem,4vw,2rem) clamp(4.5rem,8vw,7rem)}
.cf-three-secrets *{box-sizing:border-box}
.cf-three-secrets :where(h2,h3,p,ol){margin:0}
:where(.cf-three-secrets) .ts3-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:where(.cf-three-secrets) .ts3-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:.34;filter:grayscale(.3) contrast(1.05)}
:where(.cf-three-secrets) .ts3-scrim{position:absolute;inset:0;z-index:-1;background:oklch(from var(--ts-band) l c h / 0.78)}
:where(.cf-three-secrets) .ts3-inner{max-width:68rem;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
:where(.cf-three-secrets) .ts3-h{margin:0 0 clamp(.9rem,1.8vw,1.4rem);font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,900);font-size:clamp(2.1rem,4.6vw,3.75rem);line-height:1.06;letter-spacing:var(--display-tracking,-.03em);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-three-secrets) .ts3-mark{color:var(--ts-marker-ink);padding:0 .16em;margin:0 -.03em;border-radius:.42em .18em .5em .22em;background:linear-gradient(180deg,transparent 0 9%,var(--ts-marker) 9% 95%,transparent 95%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
:where(.cf-three-secrets) .ts3-lead{max-width:46ch;font-size:clamp(1.05rem,1.6vw,1.3rem);font-weight:500;line-height:1.5;color:var(--band-ink);text-wrap:pretty}
:where(.cf-three-secrets) .ts3-list{list-style:none;padding:0;margin:clamp(2.5rem,5vw,3.75rem) 0 0;width:100%;display:grid;gap:clamp(1rem,2vw,1.4rem);justify-items:center;text-align:left}
:where(.cf-three-secrets) .ts3-card{--i:0;position:relative;width:100%;display:grid;grid-template-columns:clamp(7.5rem,12vw,9.75rem) minmax(0,1fr);text-align:left;background:var(--ts-card);color:var(--ts-ink);border-radius:var(--card-radius,var(--ts-radius));overflow:hidden;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)));transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease;border-color:var(--card-border,oklch(from var(--ink) l c h / 0.12));}
:where(.cf-three-secrets) .ts3-card::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--card-border,oklch(from var(--ink) l c h / 0.12));pointer-events:none}
:where(.cf-three-secrets) .ts3-num{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.65rem;padding:1.5rem .9rem;background:color-mix(in oklch,var(--ts-ink) 5%,var(--ts-card));border-right:1px solid oklch(from var(--ts-ink) l c h / 0.14);transition:background .28s ease}
:where(.cf-three-secrets) .ts3-num-label{display:inline-block;padding:.32rem .8rem;border-radius:999px;background:var(--ts-band);color:var(--ts-band-ink);font-family:var(--font-display,Arial,sans-serif);font-size:.875rem;font-weight:var(--display-weight,800);line-height:1.2;letter-spacing:var(--display-tracking,.12em);text-transform:var(--display-case,uppercase);box-shadow:inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .14), 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))}
:where(.cf-three-secrets) .ts3-num-digit{font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,900);font-size:clamp(3rem,5.4vw,4.4rem);line-height:.95;letter-spacing:var(--display-tracking,-.045em);font-variant-numeric:tabular-nums;color:var(--ink);text-transform:var(--display-case,none)}
:where(.cf-three-secrets) .ts3-body{min-width:0;display:flex;flex-direction:column;gap:.75rem;padding:clamp(1.25rem,2.6vw,2rem) clamp(1.25rem,3vw,2.25rem)}
:where(.cf-three-secrets) .ts3-title{font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,800);font-size:clamp(1.3rem,2.1vw,1.8rem);line-height:1.16;letter-spacing:var(--display-tracking,-.02em);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-three-secrets) .ts3-tease{max-width:60ch;font-size:1.0625rem;font-weight:500;line-height:1.5;color:var(--ts-muted);text-wrap:pretty}
:where(.cf-three-secrets) .ts3-redact{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .8rem;margin-top:.3rem;padding:.6rem .9rem;border-radius:.75rem;background:color-mix(in oklch,var(--ts-ink) 4%,var(--card));box-shadow:inset 0 0 0 1px oklch(from var(--ts-ink) l c h / 0.08)}
:where(.cf-three-secrets) .ts3-lock{display:inline-grid;place-items:center;flex:none;width:1.9rem;height:1.9rem;border-radius:999px;background:var(--ts-band);color:var(--ts-band-ink);box-shadow:inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .18)}
:where(.cf-three-secrets) .ts3-lock svg{width:1rem;height:1rem}
:where(.cf-three-secrets) .ts3-redact-note{font-size:.9375rem;font-weight:700;color:var(--ts-ink);white-space:nowrap}
:where(.cf-three-secrets) .ts3-bars{position:relative;flex:1 1 7rem;min-width:6rem;display:flex;gap:.4rem;overflow:hidden;border-radius:3px}
:where(.cf-three-secrets) .ts3-bars i{display:block;height:.7rem;flex:5;border-radius:3px;background:color-mix(in oklch,var(--ts-ink) 78%,var(--ts-card))}
:where(.cf-three-secrets) .ts3-bars i:nth-child(2){flex:2}
:where(.cf-three-secrets) .ts3-bars i:nth-child(3){flex:3}
:where(.cf-three-secrets) .ts3-bars::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,oklch(from var(--card) l c h / 0.45) 50%,transparent 70%);transform:translateX(-120%)}
:where(.cf-three-secrets) .ts3-card:hover .ts3-num{background:color-mix(in oklch,var(--ts-ink) 8%,var(--ts-card))}
:where(.cf-three-secrets) .ts3-cta{margin-top:clamp(2.5rem,5vw,3.5rem);width:100%;display:flex;flex-direction:column;align-items:center;gap:.9rem}
:where(.cf-three-secrets) .ts3-btn-row{position:relative;width:min(100%,32rem);display:flex;justify-content:center;margin:0 auto}
:where(.cf-three-secrets) .ts3-btn{appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.85rem;width:100%;min-height:4.75rem;margin:0;padding:1rem 1.15rem;border:1px solid var(--cta-2,#b42318);border-radius:var(--button-radius,calc(var(--ts-radius) * .8));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-weight:var(--button-weight,900);font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.1;letter-spacing:var(--display-tracking,-.005em);text-align:center;text-decoration:none;text-shadow:var(--button-text-shadow, 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.2) c h / 0.75));cursor:pointer;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 .14s ease,box-shadow .14s ease,filter .14s ease;text-transform:var(--button-case,none);border-color:var(--button-bg-2,var(--cta-2));}
:where(.cf-three-secrets) .ts3-btn-label{min-width:0;text-wrap:balance}
:where(.cf-three-secrets) .ts3-btn-ic{display:inline-grid;place-items:center;flex:none;width:2.1rem;height:2.1rem;border-radius:999px;background:oklch(from var(--button-ink,var(--cta-ink)) l c h / 0.16);box-shadow:inset 0 0 0 1px oklch(from var(--card) calc(l + 0.04) c h / .3)}
:where(.cf-three-secrets) .ts3-btn-ic svg{width:1.15rem;height:1.15rem}
:where(.cf-three-secrets) .ts3-btn-ghost{background:none;box-shadow:none}
:where(.cf-three-secrets) .ts3-btn:is([data-status="idle"],[data-status="error"]):hover,:where(.cf-three-secrets) .ts3-btn[data-force="hover"]{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-three-secrets) .ts3-btn:is([data-status="idle"],[data-status="error"]):active,:where(.cf-three-secrets) .ts3-btn[data-force="active"]{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-three-secrets) .ts3-btn:focus-visible{outline:4px solid var(--ts-marker);outline-offset:5px}
:where(.cf-three-secrets) .ts3-btn[data-status="loading"]{cursor:progress}
:where(.cf-three-secrets) .ts3-btn[data-status="disabled"]{cursor:not-allowed;border-color:var(--button-2-border,oklch(from var(--ink) l c h / 0.22));background:var(--button-2-bg,var(--card));color:var(--button-2-ink,var(--ink));text-shadow:none;filter:none;transform:none;box-shadow:var(--button-2-shadow, var(--shadow-sm))}
:where(.cf-three-secrets) .ts3-sub,:where(.cf-three-secrets) .ts3-privacy{display:block;max-width:32rem;margin:0 auto;text-align:center;text-wrap:pretty}
:where(.cf-three-secrets) .ts3-sub{font-size:1rem;font-weight:600;line-height:1.45;color:var(--band-ink)}
:where(.cf-three-secrets) .ts3-privacy{font-size:.875rem;font-weight:500;line-height:1.45;color:var(--band-ink)}
:where(.cf-three-secrets) .ts3-sub svg,:where(.cf-three-secrets) .ts3-privacy svg{display:inline-block;width:1.05em;height:1.05em;margin-right:.4rem;vertical-align:-.18em;color:var(--ts-marker)}
:where(.cf-three-secrets) .ts3-live{display:flex;justify-content:center;width:100%}
:where(.cf-three-secrets) .ts3-live:empty{display:none}
:where(.cf-three-secrets) .ts3-msg{display:flex;align-items:flex-start;gap:.6rem;max-width:32rem;padding:.85rem 1.1rem;border-radius:.8rem;font-size:1rem;font-weight:600;line-height:1.45;text-align:left;text-wrap:pretty;box-shadow: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))}
:where(.cf-three-secrets) .ts3-msg svg{width:1.25rem;height:1.25rem;flex:none;margin-top:.1rem}
:where(.cf-three-secrets) .ts3-msg--err{background:var(--danger-soft);color:var(--danger)}
@media (min-width:900px){
:where(.cf-three-secrets) .ts3-card:nth-child(2){width:93%}
:where(.cf-three-secrets) .ts3-card:nth-child(3){width:86%}
}
@media (max-width:560px){
:where(.cf-three-secrets) .ts3-card{grid-template-columns:1fr}
:where(.cf-three-secrets) .ts3-num{flex-direction:row;justify-content:flex-start;align-items:center;gap:.75rem;padding:.8rem 1.25rem;border-right:0;border-bottom:1px solid oklch(from var(--ts-accent) l c h / 0.2)}
:where(.cf-three-secrets) .ts3-num-digit{font-size:2.25rem}
:where(.cf-three-secrets) .ts3-btn{gap:.6rem;padding-inline:.85rem}
:where(.cf-three-secrets) .ts3-btn-ic{width:1.85rem;height:1.85rem}
}
@media (prefers-reduced-motion:no-preference){
:where(.cf-three-secrets) .ts3-card{animation:ts3-rise .5s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i) * 90ms)}
:where(.cf-three-secrets) .ts3-card:hover{transform:translateY(-4px);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)));}
:where(.cf-three-secrets) .ts3-card:hover .ts3-bars::after{animation:ts3-sheen 1.1s ease}
:where(.cf-three-secrets) .ts3-spin{animation:ts3-spin .9s linear infinite}
}
@media (prefers-reduced-motion:reduce){
:where(.cf-three-secrets) .ts3-btn,:where(.cf-three-secrets) .ts3-card{transition:none}
:where(.cf-three-secrets) .ts3-btn:hover,:where(.cf-three-secrets) .ts3-btn:active,:where(.cf-three-secrets) .ts3-btn[data-force]{transform:none}
}
@keyframes ts3-rise{from{opacity:.82;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ts3-sheen{to{transform:translateX(120%)}}
@keyframes ts3-spin{to{transform:rotate(360deg)}}
`
pieces/content/three-secrets/specimen.tsx 41 lines
import __studioImage61531ca7 from "../assets/2ebd6fb8501e750a.webp";
import * as React from "react"
import { ThreeSecrets, type ThreeSecretsState } from "../three-secrets"
import { slot } from "../../slots"
import defaults from "../../studio-defaults.json"
export const states = ["default", "hover", "active", "disabled", "error"]
export default function ThreeSecretsSpecimen({ state = "default" }: { state?: string }) {
const reg = defaults.sample.registration
return (
<div>
<ThreeSecrets
headline={`3 secrets you’ll discover inside the ${reg.name}`}
highlight="3 secrets"
lead={reg.lead}
secrets={[
{
title: "The simple funnel map that shows you exactly which pages to build first",
tease: "Forget building a whole website. One plan tells you what goes where.",
},
{
title: "Why you don’t need to be a “born writer” to finish your page copy",
tease: "The fill-in approach for your headline, your offer and your call to action.",
},
{
title: "The pre-launch check that catches broken links and forms before your visitors do",
tease: "No tech team needed. Just the steps to review before you press publish.",
},
]}
revealNote="Revealed inside the workshop"
label={reg.label}
sublabel={reg.sublabel}
privacy={reg.privacy}
errorMessage={reg.error}
sceneImage={slot("scene", __studioImage61531ca7)}
state={state as ThreeSecretsState}
/>
</div>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalThreeSecrets |
string |
Default "3 secrets you’ll discover in this free workshop"
|
highlight OptionalThreeSecrets |
string |
Default "3 secrets"
|
lead OptionalThreeSecrets |
string |
Default "Each one clears away a reason you haven’t launched yet. Save your seat to see all three."
|
secrets OptionalThreeSecrets |
SecretTeaser[] |
Default DEFAULT_SECRETS
|
revealNote OptionalThreeSecrets |
string |
Default "Revealed inside the workshop"
|
secretLabel OptionalThreeSecrets |
string |
Default "Secret"
|
secretNumber OptionalThreeSecrets |
string |
Default "#{index}"
|
secretTitle OptionalThreeSecrets |
string |
Default "Secret #{index}: "
|
label OptionalThreeSecrets |
string |
Default "Yes! Save My Seat"
|
sublabel OptionalThreeSecrets |
string |
Default "Free workshop · Watch online"
|
privacy OptionalThreeSecrets |
string |
Default "We respect your inbox. Unsubscribe anytime."
|
loadingLabel OptionalThreeSecrets |
string |
Default "Saving your seat…"
|
successLabel OptionalThreeSecrets |
string |
|
successMessage OptionalThreeSecrets |
string |
|
errorMessage OptionalThreeSecrets |
string |
Default "We couldn’t complete your registration. Please try again."
|
href OptionalThreeSecrets |
string |
|
onAction OptionalThreeSecrets |
() => void | Promise<unknown> |
|
backgroundImage OptionalThreeSecrets |
string |
|
sceneImage OptionalThreeSecrets |
string |
Default backgroundImage
|
state OptionalThreeSecrets |
ThreeSecretsState |
Default "default"
|
id OptionalThreeSecrets |
string |
|
className OptionalThreeSecrets |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-border--button-2-ink--button-2-shadow- Secondary button.
--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.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
scene- A wide atmosphere photo behind or beside the copy.
-
2ebd6fb8501e750a.webp
image/webp · 57.7 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB