Launch Teaser 1
Launch teaser block: a masthead dispatch on a dark stage, then a slow reveal of the product panel by panel
Use it in a prompt
Use content/launch-teaser 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/launch-teaser.tsx. - Import it and pass your copy and images (Props tab):
import { LaunchTeaser } from "@/components/funneldna/content/launch-teaser"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/launch-teaser/component.tsx 409 lines
// layout: advertorial-front
// Launch teaser block: a masthead dispatch on a dark stage, then a slow reveal of the product panel by panel
// (each photo sharpens out of a blur as it scrolls in), closing on one email field so curiosity becomes a list signup.
import * as React from "react";
import { AlertCircle, Loader2, Lock } from "lucide-react";
import { FX_HOST, Spotlight, Texture } from "../fx/fx";
import metal from "../fx/textures/metal";
export type LaunchTeaserPanel = {
/** The one line shown above this panel's image. */
line: React.ReactNode;
/** Image src (the specimen fills slots item-1, item-2 and product). */
image?: string;
imageAlt?: string;
/** CSS object-position for the crop, e.g. "50% 40%". */
imagePosition?: string;
};
export type LaunchTeaserProps = {
/** Masthead wordmark. */
brand?: string;
/** Left side of the dateline rule. */
datelineLeft?: string;
/** Right side of the dateline rule. */
runLabel?: string;
/** Added to the dateline only when supplied. Never invent one. */
launchDate?: string;
/** Added to the dateline only when supplied, e.g. "400 pans". Never invent one. */
runSize?: string;
/** First, quieter part of the headline. */
headlineLead?: React.ReactNode;
/** Second, emphasised part of the headline. */
headlineEmphasis?: React.ReactNode;
lead?: React.ReactNode;
/** The slow reveal: one line and one image per panel, in order. */
panels?: LaunchTeaserPanel[];
closeHeadline?: React.ReactNode;
/** The question the button answers. */
question?: React.ReactNode;
emailLabel?: string;
emailPlaceholder?: string;
buttonLabel?: string;
/** Button label while onSubmit is pending. */
submittingLabel?: string;
/** Show a small row of the revealed images above the close, recapping what they just watched. */
showRecap?: boolean;
privacy?: string;
psLabel?: string;
ps?: React.ReactNode;
errors?: { required?: string; invalid?: string };
/** Receives the validated email. Return a promise to keep the button disabled while it runs. */
onSubmit?: (values: { email: string }) => void | Promise<unknown>;
state?: "default" | "hover" | "active" | "disabled" | "error";
className?: string;
};
const DEFAULT_PANELS: LaunchTeaserPanel[] = [
{ line: "It starts as a shape you already know." },
{ line: "Look closer. The handle is where it gets good." },
{ line: "Then the whole piece, fresh from the second pour." },
];
const DEFAULT_ERRORS = {
required: "Enter your email so we can tell you first.",
invalid: "That email doesn’t look right. Check it and try again.",
};
const EMAIL_PATTERN = /^[^@ ]+@[^@ ]+[.][^@ ]+$/;
export function LaunchTeaser(props: LaunchTeaserProps) {
const {
brand = "Arden Ironworks",
datelineLeft = "A letter to the list",
runLabel = "Second production run",
launchDate,
runSize,
headlineLead = "The second pour is coming.",
headlineEmphasis = "Here’s your first look.",
lead = "We’re casting a second production run of the Arden skillet. Scroll slowly. It comes together one piece at a time.",
panels = DEFAULT_PANELS,
closeHeadline = "Be first when the run opens.",
question = "Want to know the day the second run opens?",
emailLabel = "Email address",
emailPlaceholder = "you@example.com",
buttonLabel = "Yes, tell me first",
submittingLabel = "Adding you to the list…",
showRecap = true,
privacy = "We respect your inbox. Unsubscribe anytime.",
psLabel = "P.S.",
ps = "You’ve watched it come together. One email the day the run opens, and you’re the first to know.",
errors,
onSubmit,
state = "default",
className,
} = props;
const errorCopy = { ...DEFAULT_ERRORS, ...errors };
const uid = React.useId();
const headId = `${uid}-head`;
const fieldId = `${uid}-email`;
const errId = `${uid}-error`;
const rootRef = React.useRef<HTMLElement>(null);
const inputRef = React.useRef<HTMLInputElement>(null);
const mounted = React.useRef(true);
const [armed, setArmed] = React.useState(false);
const [email, setEmail] = React.useState("");
const [error, setError] = React.useState<string | null>(null);
const [submitting, setSubmitting] = React.useState(false);
React.useEffect(() => {
mounted.current = true;
return () => {
mounted.current = false;
};
}, []);
// Signature: arm the blur only when motion is allowed; without JS or with reduced motion every image stays sharp.
React.useEffect(() => {
const root = rootRef.current;
if (!root || typeof window === "undefined" || typeof IntersectionObserver === "undefined") return;
const motion = window.matchMedia("(prefers-reduced-motion: reduce)");
if (motion.matches) return;
const items = Array.from(root.querySelectorAll<HTMLElement>("[data-lt-panel]"));
items.forEach((el) => el.removeAttribute("data-in"));
const io = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.setAttribute("data-in", "");
io.unobserve(entry.target);
}
});
},
{ threshold: 0.3, rootMargin: "0px 0px -8% 0px" },
);
items.forEach((el) => io.observe(el));
setArmed(true);
const settle = () => {
if (motion.matches) {
items.forEach((el) => el.setAttribute("data-in", ""));
io.disconnect();
}
};
motion.addEventListener("change", settle);
return () => {
io.disconnect();
motion.removeEventListener("change", settle);
};
}, [panels.length]);
const disabled = submitting || state === "disabled";
const shownError = error ?? (state === "error" ? errorCopy.invalid : null);
const recap = panels.filter((p) => Boolean(p.image));
const datelineRight = [runLabel, launchDate, runSize].filter(Boolean).join(" · ");
async function handleSubmit(event: React.FormEvent<HTMLFormElement>) {
event.preventDefault();
if (disabled) return;
const value = email.trim();
if (!value) {
setError(errorCopy.required);
inputRef.current?.focus();
return;
}
if (!EMAIL_PATTERN.test(value)) {
setError(errorCopy.invalid);
inputRef.current?.focus();
return;
}
setError(null);
if (!onSubmit) return;
try {
setSubmitting(true);
await onSubmit({ email: value });
} finally {
if (mounted.current) setSubmitting(false);
}
}
const buttonClass = [
"lt-btn",
state === "hover" ? "is-hover" : "",
state === "active" ? "is-active" : "",
]
.filter(Boolean)
.join(" ");
return (
<section
ref={rootRef}
className={["cf-launch-teaser", armed ? "is-armed" : "", className].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={headId}
>
<Texture src={metal} tone="band-ink" />
<Spotlight />
<div className="lt-inner">
<header className="lt-mast">
<p className="lt-brand">{brand}</p>
<p className="lt-dateline">
<span>{datelineLeft}</span>
{datelineRight ? <span>{datelineRight}</span> : null}
</p>
</header>
<h2 id={headId} className="lt-headline">
<span className="lt-hl-soft">{headlineLead}</span>{" "}
<span className="lt-hl-em">{headlineEmphasis}</span>
</h2>
{lead ? <p className="lt-lead">{lead}</p> : null}
<span className="lt-trail" aria-hidden="true" />
<ol className="lt-panels">
{panels.map((panel, i) => (
<li key={i} className="lt-panel" data-lt-panel="">
<p className="lt-line">{panel.line}</p>
{panel.image ? (
<div className="lt-frame">
<img
className="lt-img"
src={panel.image}
alt={panel.imageAlt ?? ""}
width={1600}
height={1000}
loading={i === 0 ? "eager" : "lazy"}
decoding="async"
style={panel.imagePosition ? { objectPosition: panel.imagePosition } : undefined}
/>
</div>
) : null}
<span className="lt-trail" aria-hidden="true" />
</li>
))}
</ol>
<div className="lt-close">
{showRecap && recap.length > 1 ? (
<div className="lt-recap" aria-hidden="true">
{recap.map((p, i) => (
<img
key={i}
className="lt-recap-img"
src={p.image}
alt=""
width={160}
height={120}
loading="lazy"
decoding="async"
style={p.imagePosition ? { objectPosition: p.imagePosition } : undefined}
/>
))}
</div>
) : null}
<h2 className="lt-close-head">{closeHeadline}</h2>
{question ? <p className="lt-question">{question}</p> : null}
<form className="lt-form" noValidate onSubmit={handleSubmit} aria-busy={submitting || undefined}>
<label htmlFor={fieldId} className="lt-label">
{emailLabel}
</label>
<input
ref={inputRef}
id={fieldId}
className="lt-field"
type="email"
name="email"
autoComplete="email"
inputMode="email"
placeholder={emailPlaceholder}
value={email}
readOnly={disabled}
onChange={(e) => {
setEmail(e.target.value);
if (error) setError(null);
}}
aria-invalid={shownError ? true : undefined}
aria-describedby={shownError ? errId : undefined}
/>
{shownError ? (
<p id={errId} className="lt-error" role="alert">
<AlertCircle className="lt-inline-icon" size={16} strokeWidth={2.5} aria-hidden="true" />
{shownError}
</p>
) : null}
<button type="submit" className={buttonClass} disabled={disabled}>
{submitting ? (
<>
<Loader2 className="lt-spin" size={20} strokeWidth={2.5} aria-hidden="true" />
<span>{submittingLabel}</span>
</>
) : (
<span>{buttonLabel}</span>
)}
</button>
{privacy ? (
<p className="lt-privacy">
<Lock className="lt-inline-icon" size={16} strokeWidth={2.5} aria-hidden="true" />
{privacy}
</p>
) : null}
</form>
{ps ? (
<p className="lt-ps">
<strong>{psLabel}</strong> {ps}
</p>
) : null}
</div>
</div>
<style>{CSS}</style>
</section>
);
}
export default LaunchTeaser;
const CSS = `
.cf-launch-teaser{
--lt-gutter:clamp(16px,5vw,48px);
--lt-soft:color-mix(in oklch,var(--band-ink) 76%,var(--band));
--lt-rule:oklch(from var(--band-ink) l c h / .22);
--lt-ease:cubic-bezier(.2,.7,.2,1);
--lt-shadow:var(--shadow,oklch(.22 .03 260));
position:relative;overflow:hidden;
background:var(--band);color:var(--band-ink);
font-family:var(--font-body);
padding:clamp(56px,8vw,112px) 0 clamp(64px,8.5vw,120px);
}
.cf-launch-teaser *{box-sizing:border-box}
.cf-launch-teaser .lt-inner{position:relative;z-index:1;max-width:calc(1120px + 2 * var(--lt-gutter));margin:0 auto;padding:0 var(--lt-gutter)}
.cf-launch-teaser .lt-mast{text-align:center}
.cf-launch-teaser .lt-brand{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:.16em;text-transform:uppercase;color:var(--band-ink)}
.cf-launch-teaser .lt-dateline{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin:16px 0 0;padding:12px 0;border-block:1px solid var(--lt-rule);font-size:.875rem;font-weight:800;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--lt-soft)}
.cf-launch-teaser .lt-headline{margin:clamp(40px,5vw,64px) auto 0;max-width:60rem;text-align:center;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);font-size:clamp(2.5rem,5.4vw,4.875rem);line-height:1.04;text-wrap:balance}
.cf-launch-teaser .lt-hl-soft{color:var(--lt-soft)}
.cf-launch-teaser .lt-hl-em{color:var(--band-ink)}
.cf-launch-teaser .lt-lead{margin:24px auto 0;max-width:40rem;text-align:center;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--lt-soft);text-wrap:pretty}
.cf-launch-teaser .lt-trail{display:block;width:1px;height:clamp(40px,6vw,72px);margin:clamp(24px,4vw,40px) auto;background:var(--lt-rule)}
.cf-launch-teaser .lt-panels{list-style:none;margin:0;padding:0}
.cf-launch-teaser .lt-panel{text-align:center}
.cf-launch-teaser .lt-line{margin:0 auto 24px;max-width:52rem;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--band-ink);text-wrap:balance}
.cf-launch-teaser .lt-frame{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:color-mix(in oklch,var(--band-ink) 6%,var(--band))}
.cf-launch-teaser .lt-img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.cf-launch-teaser.is-armed .lt-panel:not([data-in]) .lt-img{filter:blur(22px) brightness(.55) saturate(.6);transform:scale(1.08)}
.cf-launch-teaser.is-armed .lt-panel[data-in] .lt-img{transition:filter 1.3s var(--lt-ease),transform 1.6s var(--lt-ease)}
.cf-launch-teaser.is-armed .lt-panel:not([data-in]) .lt-line{opacity:.82;transform:translateY(8px)}
.cf-launch-teaser.is-armed .lt-panel[data-in] .lt-line{transition:opacity .45s var(--lt-ease),transform .45s var(--lt-ease)}
.cf-launch-teaser .lt-close{max-width:42rem;margin:0 auto;padding:clamp(28px,4vw,48px);text-align:center;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(from var(--lt-shadow) l c h / .22),0 12px 24px -8px oklch(from var(--lt-shadow) l c h / .32)))}
.cf-launch-teaser .lt-recap{display:flex;justify-content:center;gap:8px;margin:0 0 24px}
.cf-launch-teaser .lt-recap-img{display:block;width:clamp(72px,14vw,104px);height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:color-mix(in oklch,var(--ink) 6%,var(--card))}
.cf-launch-teaser .lt-close-head{margin:0 0 12px;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--ink);text-wrap:balance}
.cf-launch-teaser .lt-question{margin:0 0 24px;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-launch-teaser .lt-form{text-align:left}
.cf-launch-teaser .lt-label{display:block;margin:0 0 8px;font-size:1rem;font-weight:700;line-height:1.3;color:var(--label-ink,var(--ink))}
.cf-launch-teaser .lt-field{display:block;width:100%;min-height:56px;padding:0 16px;font-family:var(--font-body);font-size:1.0625rem;color:var(--field-ink);background:var(--field);border:1px solid var(--field-border,color-mix(in oklch,var(--ink) 22%,transparent));border-radius:var(--field-radius,var(--radius,12px));transition:border-color .16s ease,box-shadow .16s ease;-webkit-appearance:none;appearance:none}
.cf-launch-teaser .lt-field::placeholder{color:color-mix(in oklch,var(--field-ink) 65%,var(--field));opacity:1}
.cf-launch-teaser .lt-field:hover{border-color:color-mix(in oklch,var(--ink) 40%,transparent)}
.cf-launch-teaser .lt-field:focus{outline:none;border-color:var(--field-focus,var(--accent));box-shadow:0 0 0 3px oklch(from var(--field-focus,var(--accent)) l c h / .35)}
.cf-launch-teaser .lt-field[aria-invalid="true"]{border-color:var(--danger)}
.cf-launch-teaser .lt-field[aria-invalid="true"]:focus{box-shadow:0 0 0 3px oklch(from var(--danger) l c h / .25)}
.cf-launch-teaser .lt-field:read-only{cursor:default;background:color-mix(in oklch,var(--field-ink) 4%,var(--field))}
.cf-launch-teaser .lt-error{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:var(--danger-soft);color:var(--danger);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-launch-teaser .lt-inline-icon{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em}
.cf-launch-teaser .lt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:64px;margin-top:16px;padding:0 28px;border:0;cursor:pointer;
border-radius:var(--button-radius,var(--radius,12px));
font-family:var(--button-font,var(--font-display));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;
color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);
background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .02) c h));
box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--lt-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--lt-shadow) l c h / .45));
transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-launch-teaser .lt-btn:hover:not(:disabled),.cf-launch-teaser .lt-btn.is-hover:not(:disabled){
background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));
box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .2) c h),0 1px 2px oklch(from var(--lt-shadow) l c h / .34),0 10px 18px -6px oklch(from var(--lt-shadow) l c h / .55))}
.cf-launch-teaser .lt-btn:active:not(:disabled),.cf-launch-teaser .lt-btn.is-active:not(:disabled){
transform:translateY(1px);
background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .06) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .08) c h));
box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - .22) c h / .6),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--lt-shadow) l c h / .3)}
.cf-launch-teaser .lt-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-launch-teaser .lt-btn:disabled{cursor:not-allowed;transform:none;background:var(--button-2-bg,var(--secondary));color:var(--button-2-ink,var(--secondary-ink));text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(from var(--lt-shadow) l c h / .2)))}
.cf-launch-teaser .lt-spin{flex:0 0 auto;animation:lt-spin .8s linear infinite}
@keyframes lt-spin{to{transform:rotate(360deg)}}
.cf-launch-teaser .lt-privacy{margin:12px 0 0;text-align:center;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cf-launch-teaser .lt-ps{margin:24px 0 0;padding-top:20px;border-top:1px solid oklch(from var(--ink) l c h / .12);font-size:1.0625rem;line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-launch-teaser .lt-ps strong{color:var(--ink);font-weight:800}
@media (max-width:640px){
.cf-launch-teaser .lt-dateline{justify-content:center;text-align:center}
.cf-launch-teaser .lt-frame{margin-inline:calc(-1 * var(--lt-gutter));border-radius:0;aspect-ratio:1/1}
.cf-launch-teaser .lt-line{margin-bottom:16px}
.cf-launch-teaser .lt-close{padding:24px 20px}
.cf-launch-teaser .lt-recap{margin-bottom:20px}
}
@media (prefers-reduced-motion:reduce){
.cf-launch-teaser .lt-img,.cf-launch-teaser .lt-line{filter:none!important;transform:none!important;opacity:1!important;transition:none!important}
.cf-launch-teaser .lt-btn{transition:none}
.cf-launch-teaser .lt-spin{animation:none}
}
`;
pieces/content/launch-teaser/specimen.tsx 39 lines
import __studioImage804a8e51 from "../assets/e9e9f56340d35661.webp";
import __studioImage4727c5ba from "../assets/b1a9c8749fbc4153.webp";
import __studioImagebb745642 from "../assets/bc70da96c3a7bdf6.webp";
import LaunchTeaser from "../launch-teaser";
import type { LaunchTeaserProps } from "../launch-teaser";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled", "error"];
export default function LaunchTeaserSpecimen({ state }: { state?: LaunchTeaserProps["state"] }) {
return (
<LaunchTeaser
state={state}
brand="Arden Ironworks"
panels={[
{
line: "It starts as a shape you already know.",
image: slot("item-1", __studioImage804a8e51),
imageAlt: "A cast-iron skillet in silhouette against a dark backdrop",
imagePosition: "50% 50%",
},
{
line: "Look closer. The handle is where it gets good.",
image: slot("item-2", __studioImage4727c5ba),
imageAlt: "Close-up of the cast-iron skillet handle and its textured surface",
imagePosition: "55% 50%",
},
{
line: "Then the whole piece, fresh from the second pour.",
image: slot("product", __studioImagebb745642),
imageAlt: "The finished Arden cast-iron skillet on dark slate",
imagePosition: "50% 50%",
},
]}
privacy={defaults.sample.registration.privacy}
/>
);
}
| Name | Type | Details |
|---|---|---|
brand OptionalLaunchTeaser |
string |
|
datelineLeft OptionalLaunchTeaser |
string |
|
runLabel OptionalLaunchTeaser |
string |
|
launchDate OptionalLaunchTeaser |
string |
|
runSize OptionalLaunchTeaser |
string |
|
headlineLead OptionalLaunchTeaser |
React.ReactNode |
|
headlineEmphasis OptionalLaunchTeaser |
React.ReactNode |
|
lead OptionalLaunchTeaser |
React.ReactNode |
|
panels OptionalLaunchTeaser |
LaunchTeaserPanel[] |
|
closeHeadline OptionalLaunchTeaser |
React.ReactNode |
|
question OptionalLaunchTeaser |
React.ReactNode |
|
emailLabel OptionalLaunchTeaser |
string |
|
emailPlaceholder OptionalLaunchTeaser |
string |
|
buttonLabel OptionalLaunchTeaser |
string |
|
submittingLabel OptionalLaunchTeaser |
string |
|
showRecap OptionalLaunchTeaser |
boolean |
|
privacy OptionalLaunchTeaser |
string |
|
psLabel OptionalLaunchTeaser |
string |
|
ps OptionalLaunchTeaser |
React.ReactNode |
|
errors OptionalLaunchTeaser |
{ required?: string; invalid?: string } |
|
onSubmit OptionalLaunchTeaser |
(values: { email: string }) => void | Promise<unknown> |
|
state OptionalLaunchTeaser |
"default" | "hover" | "active" | "disabled" | "error" |
|
className OptionalLaunchTeaser |
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--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--field-border--field-focus--field-ink--field-radius- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
product- The main product shot or cover (ebook, kit, bottle).
-
519ba51280fa5716.webp
image/webp · 112 KB
-
b1a9c8749fbc4153.webp
image/webp · 81.4 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
bc70da96c3a7bdf6.webp
image/webp · 138 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
e9e9f56340d35661.webp
image/webp · 16.6 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB