Three Secrets 7
Puts each false belief beside the workshop secret that breaks it, then hands the reader the register button.
Use it in a prompt
Use content/three-secrets-7 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-7.tsx. - Import it and pass your copy and images (Props tab):
import { ThreeSecrets7 } from "@/components/funneldna/content/three-secrets-7"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/three-secrets-7/component.tsx 329 lines
// layout: before-after-split
// Puts each false belief beside the workshop secret that breaks it, then hands the reader the register button.
"use client"
import * as React from "react"
import { AlertCircle, ArrowDown, ArrowRight, Loader2, MonitorPlay, X } from "lucide-react"
/** States the piece implements (the specimen renders each one). */
export type ThreeSecrets7State = "default" | "hover" | "active" | "disabled" | "error"
export type SecretPair = {
/** Bold lead-in that names the belief, e.g. "Too many pages." */
beliefLead: string
/** The rest of the belief, in the reader's own words. */
belief: string
/** Teaser headline for the secret: curiosity, never the answer. */
secret: string
}
export type ThreeSecrets7Props = {
headline?: string
/** Phrase inside the headline set in the accent colour (matched case-insensitively). */
emphasis?: string
/** Line under the headline; omit to hide. */
lead?: string
/** Heading over the "before" column. */
beforeTitle?: string
/** Heading over the band panel of secrets. */
afterTitle?: string
/** Three pairs: the vehicle, the internal and the external false belief. Extra pairs are ignored. */
pairs?: SecretPair[]
/** Card tag template. The {n} placeholder becomes the secret number. */
secretLabel?: string
/** Button text. */
label?: string
/** One short reassurance line under the button; omit to hide. */
sublabel?: string
/** Button text while a returned onAction promise is pending. */
loadingLabel?: string
/** Shown under the button when onAction throws/rejects, or in the "error" state. */
errorMessage?: string
/** Where the button goes (e.g. "#register"); the button renders as a link when set. */
href?: string
/** Called on click. A returned promise shows loadingLabel; a rejection shows errorMessage. */
onAction?: () => void | Promise<unknown>
/** Forces a visual state for previews; "default" lets the piece manage its own. */
state?: ThreeSecrets7State
/** Section id, e.g. for in-page anchors. */
id?: string
className?: string
}
export function ThreeSecrets7(props: ThreeSecrets7Props) {
const {
headline = "Map out your first funnel",
emphasis = "your first funnel",
lead = "Three secrets inside the Funnel Starter Workshop.",
beforeTitle = "Right now, you’re stuck on…",
afterTitle = "Inside the workshop, you’ll discover…",
pairs = DEFAULT_PAIRS,
secretLabel = "Secret #{n}",
label = "Send Me The Workshop",
sublabel = "Free workshop · Watch online",
loadingLabel = "Sending your workshop…",
errorMessage = "We couldn’t complete your registration. Please try again.",
href,
onAction,
state = "default",
id,
className,
} = props
const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, "")
const headingId = `ts7-h-${uid}`
const errId = `ts7-e-${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 busy = view === "loading"
const inert = disabled || busy
const force = state === "hover" || state === "active" ? state : undefined
const rows = pairs.slice(0, 3)
function handle(event: React.MouseEvent<HTMLElement>) {
if (inert) {
event.preventDefault()
return
}
if (!onAction) return
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 = busy ? (
<>
<Loader2 className="ts7-spin" aria-hidden="true" />
<span className="ts7-btn-l">{loadingLabel}</span>
</>
) : (
<span className="ts7-btn-l">{label}</span>
)
const shared = {
"data-force": force,
"data-view": disabled ? "disabled" : view,
"aria-busy": busy || undefined,
"aria-disabled": inert || undefined,
"aria-describedby": view === "error" ? errId : undefined,
onClick: handle,
}
const button = href ? (
<a className="ts7-btn" {...shared} href={inert ? undefined : href}>
{inner}
</a>
) : (
<button className="ts7-btn" {...shared} type="button" disabled={disabled}>
{inner}
</button>
)
return (
<section id={id} className={["cf-three-secrets-7", className].filter(Boolean).join(" ")} aria-labelledby={headingId}>
<style>{CSS}</style>
<div className="ts7-wrap">
<header className="ts7-head">
<h2 className="ts7-h" id={headingId}>{withEmphasis(headline, emphasis)}</h2>
{lead ? <p className="ts7-lead">{lead}</p> : null}
</header>
<div className="ts7-grid">
<div className="ts7-before">
<h3 className="ts7-side-h">{beforeTitle}</h3>
<ul className="ts7-beliefs">
{rows.map((row, i) => (
<li className="ts7-belief" key={i} style={stagger(i)}>
<span className="ts7-x" aria-hidden="true"><X strokeWidth={3} /></span>
<p className="ts7-belief-t"><strong>{row.beliefLead}</strong> {row.belief}</p>
</li>
))}
</ul>
</div>
<div className="ts7-mid" aria-hidden="true">
{rows.map((_, i) => (
<span className="ts7-knob" key={i} style={stagger(i)}>
<ArrowRight strokeWidth={2.5} />
</span>
))}
</div>
<span className="ts7-knob ts7-down" aria-hidden="true"><ArrowDown strokeWidth={2.5} /></span>
<div className="ts7-after">
<h3 className="ts7-side-h">{afterTitle}</h3>
<ol className="ts7-secrets">
{rows.map((row, i) => (
<li className="ts7-card" key={i} style={stagger(i)}>
<div className="ts7-card-copy">
<p className="ts7-tag">{secretLabel.split("{n}").join(String(i + 1))}</p>
<h4 className="ts7-q">{row.secret}</h4>
</div>
<span className="ts7-num" aria-hidden="true">{String(i + 1).padStart(2, "0")}</span>
</li>
))}
</ol>
<div className="ts7-cta">
{button}
<div className="ts7-live" aria-live="polite">
{view === "error" ? (
<p className="ts7-err" id={errId}>
<AlertCircle aria-hidden="true" />
<span>{errorMessage}</span>
</p>
) : null}
</div>
{sublabel ? (
<p className="ts7-sub">
<MonitorPlay aria-hidden="true" />
<span>{sublabel}</span>
</p>
) : null}
</div>
</div>
</div>
</div>
</section>
)
}
export default ThreeSecrets7
const DEFAULT_PAIRS: SecretPair[] = [
{
beliefLead: "Too many pages.",
belief: "You think your first funnel needs a dozen steps before it can work.",
secret: "The only pages your first funnel actually needs",
},
{
beliefLead: "The blank page.",
belief: "You’re sure you can’t write copy that makes people click.",
secret: "How to fill every page when you’re not a writer",
},
{
beliefLead: "Launch-day nerves.",
belief: "You worry a broken link or form will waste your traffic.",
secret: "The checks that catch mistakes before your visitors do",
},
]
/** Row index as a CSS variable, used to stagger the entrance animation. */
function stagger(i: number): React.CSSProperties {
return { ["--i" as string]: i } as React.CSSProperties
}
/** Wraps the first case-insensitive match of `phrase` in the accent span. */
function withEmphasis(text: string, phrase?: string): React.ReactNode {
if (!phrase) return text
const at = text.toLowerCase().indexOf(phrase.toLowerCase())
if (at < 0) return text
return (
<>
{text.slice(0, at)}
<span className="ts7-em">{text.slice(at, at + phrase.length)}</span>
{text.slice(at + phrase.length)}
</>
)
}
/*
* Theme notes: every colour is a token or an OKLCH recipe on a token; hex appears only as a var() fallback.
* The secrets panel is the strong band (--band with --band-ink text), so its heading, sublabel and focus ring
* follow the surface they sit on and the CTA keeps its own colour against it under every theme.
* The cross badge is a solid --danger fill (darkened in L only so the white glyph reads on dark themes).
* Every rule is scoped under .cf-three-secrets-7; the margin/list resets stay zero-specificity via :where().
*/
const CSS = `
.cf-three-secrets-7{--ts7-panel:var(--band,oklch(0.26 0.05 260));--ts7-on:var(--band-ink,#ffffff);--ts7-line:oklch(from var(--ink,#1a2233) l c h / 0.14);--ts7-shadow:var(--shadow,oklch(0.22 0.03 260));--ts7-x-bg:oklch(from var(--danger,oklch(0.5 0.17 27)) min(l, 0.42) c h);position:relative;overflow-x:clip;background:var(--surface,#ffffff);color:var(--ink,#1a2233);font-family:var(--font-body,system-ui,sans-serif);padding:clamp(3.5rem,7vw,6rem) clamp(1.25rem,4vw,2.5rem)}
.cf-three-secrets-7 *{box-sizing:border-box}
:where(.cf-three-secrets-7) :where(h2,h3,h4,p,ul,ol){margin:0}
:where(.cf-three-secrets-7) :where(ul,ol){padding:0;list-style:none}
.cf-three-secrets-7 .ts7-wrap{max-width:72rem;margin-inline:auto}
.cf-three-secrets-7 .ts7-head{max-width:56rem;margin-inline:auto;text-align:center}
.cf-three-secrets-7 .ts7-h{font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,900);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.035em);font-size:clamp(2.35rem,6vw,4.75rem);line-height:1.02;text-wrap:balance;color:var(--ink,#1a2233)}
.cf-three-secrets-7 .ts7-em{color:var(--accent,#1d5fd1)}
.cf-three-secrets-7 .ts7-lead{margin-top:clamp(1rem,1.6vw,1.375rem);font-size:clamp(1.125rem,1.8vw,1.4rem);font-weight:500;line-height:1.4;color:var(--muted,#4a5568);text-wrap:pretty}
.cf-three-secrets-7 .ts7-grid{display:grid;grid-template-columns:minmax(0,1fr) 4.5rem minmax(0,1.2fr);grid-template-rows:repeat(5,auto);row-gap:1rem;margin-top:clamp(2.5rem,5vw,3.75rem)}
.cf-three-secrets-7 .ts7-side-h{grid-row:1;align-self:end;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.2rem,1.7vw,1.45rem);line-height:1.2;letter-spacing:-0.015em;text-wrap:balance}
.cf-three-secrets-7 .ts7-before{grid-column:1;grid-row:1 / span 4;display:grid;grid-template-rows:subgrid;padding-top:clamp(1.5rem,2.6vw,2.25rem)}
.cf-three-secrets-7 .ts7-before .ts7-side-h{color:var(--ink,#1a2233)}
.cf-three-secrets-7 .ts7-beliefs{grid-row:2 / span 3;display:grid;grid-template-rows:subgrid}
.cf-three-secrets-7 .ts7-belief{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.875rem;align-items:start;padding:1.125rem 1.25rem;border:1px solid oklch(from var(--ink,#1a2233) l c h / 0.08);border-radius:var(--radius,.875rem);background:color-mix(in oklch,var(--ink,#1a2233) 4%,var(--surface,#ffffff))}
.cf-three-secrets-7 .ts7-x{display:grid;place-items:center;width:2rem;height:2rem;flex:none;border-radius:999px;background:var(--danger,#9e2219);background:var(--ts7-x-bg);color:var(--ts7-x-ink,#ffffff);box-shadow:inset 0 1px 0 oklch(from var(--ts7-x-bg) calc(l + 0.1) c h / 0.55),inset 0 -2px 0 oklch(from var(--ts7-x-bg) calc(l - 0.1) c h),0 1px 2px oklch(from var(--ts7-shadow) l c h / 0.3)}
.cf-three-secrets-7 .ts7-x svg{width:1.05rem;height:1.05rem}
.cf-three-secrets-7 .ts7-belief-t{padding-top:.1rem;font-size:1.0625rem;font-weight:500;line-height:1.5;color:var(--ink,#1a2233);text-wrap:pretty}
.cf-three-secrets-7 .ts7-belief-t strong{font-weight:800}
.cf-three-secrets-7 .ts7-mid{grid-column:2;grid-row:2 / span 3;position:relative;display:grid;grid-template-rows:subgrid;justify-items:center}
.cf-three-secrets-7 .ts7-mid::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--ts7-line)}
.cf-three-secrets-7 .ts7-knob{position:relative;z-index:1;align-self:center;display:grid;place-items:center;width:2.75rem;height:2.75rem;border:1px solid var(--ts7-line);border-radius:999px;background:var(--card,#ffffff);color:var(--accent,#1d5fd1);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))}
.cf-three-secrets-7 .ts7-knob svg{width:1.25rem;height:1.25rem}
.cf-three-secrets-7 .ts7-knob.ts7-down{display:none}
.cf-three-secrets-7 .ts7-after{grid-column:3;grid-row:1 / span 5;display:grid;grid-template-rows:subgrid;padding:clamp(1.5rem,2.6vw,2.25rem) clamp(1.125rem,2.4vw,2rem);border-radius:calc(var(--radius,.875rem) * 1.5);background:var(--ts7-panel);color:var(--ts7-on);box-shadow:inset 0 1px 0 oklch(from var(--ts7-panel) calc(l + 0.1) c h / 0.6),var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32))}
.cf-three-secrets-7 .ts7-after .ts7-side-h{color:var(--ts7-on)}
.cf-three-secrets-7 .ts7-secrets{grid-row:2 / span 3;display:grid;grid-template-rows:subgrid}
.cf-three-secrets-7 .ts7-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:start;padding:1.125rem 1.25rem 1.25rem;border:1px solid var(--card-border,color-mix(in oklch,var(--ink,#1a2233) 12%,transparent));border-radius:var(--card-radius,var(--radius,.875rem));background:var(--card,#ffffff);color:var(--ink,#1a2233);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)))}
.cf-three-secrets-7 .ts7-card-copy{min-width:0}
.cf-three-secrets-7 .ts7-tag{margin-bottom:.75rem;font-family:var(--font-display,system-ui,sans-serif);font-size:.875rem;font-weight:800;letter-spacing:.08em;line-height:1.2;text-transform:uppercase;color:var(--accent,#1d5fd1)}
.cf-three-secrets-7 .ts7-q{font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.15rem,1.75vw,1.5rem);line-height:1.15;letter-spacing:-0.02em;text-wrap:balance;color:var(--ink,#1a2233)}
.cf-three-secrets-7 .ts7-num{align-self:end;font-family:var(--font-display,system-ui,sans-serif);font-weight:900;font-size:clamp(2.5rem,4vw,3.5rem);line-height:.9;letter-spacing:-0.04em;font-variant-numeric:tabular-nums;color:color-mix(in oklch,var(--ink,#1a2233) 12%,var(--card,#ffffff))}
.cf-three-secrets-7 .ts7-cta{grid-row:5;display:grid;justify-items:center;gap:.75rem;padding-top:.5rem}
.cf-three-secrets-7 .ts7-btn{--ts7-b:var(--button-bg,var(--cta,#d93a2b));display:inline-flex;width:min(100%,32rem);min-height:4.25rem;align-items:center;justify-content:center;gap:.6rem;padding:1rem 1.5rem;border:1px solid oklch(from var(--ts7-b) calc(l - 0.14) c h);border-radius:var(--button-radius,var(--radius,.75rem));background:linear-gradient(oklch(from var(--ts7-b) calc(l + 0.04) c h),var(--button-bg-2,var(--cta-2,oklch(from var(--ts7-b) calc(l - 0.07) 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.15rem,1.7vw,1.4rem);line-height:1.15;text-align:center;text-decoration:none;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--ts7-b) calc(l + 0.12) c h / 0.7),inset 0 -3px 0 oklch(from var(--ts7-b) calc(l - 0.16) c h),0 1px 2px oklch(from var(--ts7-shadow) l c h / 0.35),0 6px 14px -4px oklch(from var(--ts7-shadow) l c h / 0.45))}
.cf-three-secrets-7 .ts7-btn-l{text-wrap:balance}
.cf-three-secrets-7 .ts7-btn svg{width:1.25rem;height:1.25rem;flex:none}
.cf-three-secrets-7 .ts7-btn:is(:hover,[data-force="hover"]):not([data-view="disabled"],[data-view="loading"]){transform:translateY(-2px);background:linear-gradient(oklch(from var(--ts7-b) calc(l - 0.02) c h),oklch(from var(--ts7-b) calc(l - 0.1) c h));box-shadow:inset 0 1px 0 oklch(from var(--ts7-b) calc(l + 0.12) c h / 0.7),inset 0 -3px 0 oklch(from var(--ts7-b) calc(l - 0.18) c h),0 2px 3px oklch(from var(--ts7-shadow) l c h / 0.4),0 10px 18px -6px oklch(from var(--ts7-shadow) l c h / 0.5)}
.cf-three-secrets-7 .ts7-btn:is(:active,[data-force="active"]):not([data-view="disabled"],[data-view="loading"]){transform:translateY(1px);background:oklch(from var(--ts7-b) calc(l - 0.1) c h);box-shadow:inset 0 2px 3px oklch(from var(--ts7-b) calc(l - 0.25) c h / 0.55),0 1px 2px oklch(from var(--ts7-shadow) l c h / 0.35)}
.cf-three-secrets-7 .ts7-btn:focus-visible{outline:3px solid var(--ts7-on);outline-offset:3px}
.cf-three-secrets-7 .ts7-btn[data-view="disabled"]{background:var(--button-2-bg,var(--secondary,#e6e9ef));color:var(--button-2-ink,var(--secondary-ink,#1a2233));border-color:transparent;box-shadow:none;text-shadow:none;cursor:not-allowed}
.cf-three-secrets-7 .ts7-btn[data-view="loading"]{cursor:progress}
.cf-three-secrets-7 .ts7-live{display:contents}
.cf-three-secrets-7 .ts7-err{display:inline-flex;align-items:flex-start;gap:.5rem;max-width:32rem;padding:.6rem .875rem;border-radius:var(--radius,.75rem);background:var(--danger-soft,#f6e3e1);color:var(--danger,#b3261e);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-three-secrets-7 .ts7-err svg{width:1.1rem;height:1.1rem;flex:none;margin-top:.1rem}
.cf-three-secrets-7 .ts7-sub{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.9375rem;font-weight:600;line-height:1.35;color:var(--ts7-on);text-align:center;text-wrap:pretty}
.cf-three-secrets-7 .ts7-sub svg{width:1.1rem;height:1.1rem;flex:none}
@media (max-width:1000px){.cf-three-secrets-7 .ts7-grid{grid-template-columns:minmax(0,1fr) 3.5rem minmax(0,1.2fr)}.cf-three-secrets-7 .ts7-num{font-size:2.5rem}}
@media (max-width:820px){
.cf-three-secrets-7 .ts7-grid{display:flex;flex-direction:column}
.cf-three-secrets-7 .ts7-before,.cf-three-secrets-7 .ts7-after,.cf-three-secrets-7 .ts7-beliefs,.cf-three-secrets-7 .ts7-secrets{grid-template-rows:none;gap:.75rem}
.cf-three-secrets-7 .ts7-before{padding-top:0;gap:1rem}
.cf-three-secrets-7 .ts7-after{gap:1rem}
.cf-three-secrets-7 .ts7-side-h{align-self:start}
.cf-three-secrets-7 .ts7-mid{display:none}
.cf-three-secrets-7 .ts7-knob.ts7-down{display:grid;align-self:center;margin:1.25rem auto}
}
@media (max-width:480px){.cf-three-secrets-7 .ts7-belief,.cf-three-secrets-7 .ts7-card{padding:1rem}.cf-three-secrets-7 .ts7-num{font-size:2.25rem}.cf-three-secrets-7 .ts7-btn{padding-inline:1rem}}
@media (prefers-reduced-motion:no-preference){
.cf-three-secrets-7 .ts7-belief{animation:ts7-in-l .5s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(var(--i,0) * 80ms)}
.cf-three-secrets-7 .ts7-card{animation:ts7-in-r .5s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(120ms + var(--i,0) * 80ms);transition:transform .2s ease,box-shadow .2s ease}
.cf-three-secrets-7 .ts7-card:hover{transform:translateY(-3px);background:var(--card,#ffffff);border-color:var(--card-border,color-mix(in oklch,var(--ink,#1a2233) 12%,transparent));box-shadow:var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32))}
.cf-three-secrets-7 .ts7-mid .ts7-knob svg{animation:ts7-nudge .7s ease-out backwards;animation-delay:calc(280ms + var(--i,0) * 80ms)}
.cf-three-secrets-7 .ts7-down svg{animation:ts7-nudge-y .7s ease-out 280ms backwards}
.cf-three-secrets-7 .ts7-btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-three-secrets-7 .ts7-spin{animation:ts7-spin .9s linear infinite}
}
@keyframes ts7-in-l{from{opacity:.82;transform:translateX(-8px)}to{opacity:1;transform:none}}
@keyframes ts7-in-r{from{opacity:.82;transform:translateX(8px)}to{opacity:1;transform:none}}
@keyframes ts7-nudge{0%{transform:translateX(-5px)}60%{transform:translateX(3px)}100%{transform:none}}
@keyframes ts7-nudge-y{0%{transform:translateY(-5px)}60%{transform:translateY(3px)}100%{transform:none}}
@keyframes ts7-spin{to{transform:rotate(360deg)}}
`
pieces/content/three-secrets-7/specimen.tsx 20 lines
import * as React from "react"
import { ThreeSecrets7, type ThreeSecrets7State } from "../three-secrets-7"
import defaults from "../../studio-defaults.json"
export const states = ["default", "hover", "active", "disabled", "error"]
export default function ThreeSecrets7Specimen({ state = "default" }: { state?: ThreeSecrets7State }) {
const reg = defaults.sample.registration
return (
<ThreeSecrets7
headline={reg.headline}
emphasis="your first funnel"
lead={`Three secrets inside the ${reg.name}.`}
sublabel={reg.sublabel}
errorMessage={reg.error}
href="#register"
state={state}
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalThreeSecrets7 |
string |
|
emphasis OptionalThreeSecrets7 |
string |
|
lead OptionalThreeSecrets7 |
string |
|
beforeTitle OptionalThreeSecrets7 |
string |
|
afterTitle OptionalThreeSecrets7 |
string |
|
pairs OptionalThreeSecrets7 |
SecretPair[] |
|
secretLabel OptionalThreeSecrets7 |
string |
|
label OptionalThreeSecrets7 |
string |
|
sublabel OptionalThreeSecrets7 |
string |
|
loadingLabel OptionalThreeSecrets7 |
string |
|
errorMessage OptionalThreeSecrets7 |
string |
|
href OptionalThreeSecrets7 |
string |
|
onAction OptionalThreeSecrets7 |
() => void | Promise<unknown> |
|
state OptionalThreeSecrets7 |
ThreeSecrets7State |
|
id OptionalThreeSecrets7 |
string |
|
className OptionalThreeSecrets7 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
This piece reads no image slots.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB