Neon Webinar Registration 1
Webinar registration block: dark mesh-lit event pitch with grounded host portrait beside an overhanging local-time session picker and registration form.
Use it in a prompt
Use forms/neon-webinar-registration 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/forms/neon-webinar-registration.tsx. - Import it and pass your copy and images (Props tab):
import { NeonWebinarRegistration } from "@/components/funneldna/forms/neon-webinar-registration"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/forms/neon-webinar-registration/component.tsx 1378 lines
// layout: split-contrast
// Webinar registration block: dark mesh-lit event pitch with grounded host portrait beside an overhanging local-time session picker and registration form.
import * as React from "react";
import { AlertCircle, Check, Clock, Globe, Lock } from "lucide-react";
import { FX_HOST, Mesh } from "../fx/fx";
export type WebinarSession = {
/** Stable identifier returned on submit. */
id: string;
/** ISO-8601 timestamp with offset or UTC (e.g. 2024-12-03T12:00:00-05:00) used to render the visitor's local time. */
iso: string;
/** Fallback day label if Intl formatting is unavailable (e.g. "Tue, Dec 3"). */
fallbackDay: string;
/** Fallback broadcast time label (e.g. "12:00 PM"). */
fallbackTime: string;
/** Source broadcast time zone abbreviation shown when the visitor is in another zone (e.g. "ET"). */
sourceZoneLabel?: string;
/** Optional per-session duration note (e.g. "45 min"). */
duration?: string;
};
export type NeonWebinarRegistrationValues = {
firstName: string;
email: string;
sessionId: string;
session: WebinarSession | null;
};
export type NeonWebinarRegistrationCopy = {
/** Inline error when submitted without a selected session. */
sessionRequired?: string;
/** Inline error when first name is blank. */
firstNameRequired?: string;
/** Inline error when email is blank. */
emailRequired?: string;
/** Inline error when email format is invalid. */
emailInvalid?: string;
/** Accessible label for the session radio group. */
sessionsAriaLabel?: string;
/** Prefix before the host's name in the attribution row. */
hostPrefix?: string;
/** Template for the local timezone caption; supports {zone}. */
timezoneTemplate?: string;
/** Accessible label for the registration region. */
regionAriaLabel?: string;
};
export type NeonWebinarRegistrationProps = {
/** Event title set as the main headline. */
headline?: React.ReactNode;
/** One-line promise directly under the headline. */
promise?: string;
/** Optional single-word emphasis line following the promise. */
promisePunch?: string;
/** Three short outcome lines of what attendees will learn. */
learnItems?: string[];
/** Transparent cut-out portrait URL for the host (slot: presenter-cutout). */
presenterImage?: string;
/** Accessible alt text for the host portrait. */
presenterImageAlt?: string;
/** Host display name. */
hostName?: string;
/** Optional organization or company hosting the workshop. */
hostOrganization?: string;
/** Single factual credential for the host (defaults to empty so proof is never invented). */
hostCredential?: string;
/** Short factual workshop duration line (e.g. "45-minute free live workshop"). */
durationLabel?: string;
/** Selling heading inside the registration card above the session picker. */
formHeading?: string;
/** Supplied live sessions converted into the visitor's local time zone. */
sessions?: WebinarSession[];
/** Initially selected session id (defaults to the first session). */
defaultSessionId?: string;
/** Label for the first-name field. */
firstNameLabel?: string;
/** Example placeholder for the first-name field. */
firstNamePlaceholder?: string;
/** Label for the email field. */
emailLabel?: string;
/** Example placeholder for the email field. */
emailPlaceholder?: string;
/** Plain instruction shown directly above the CTA button. */
actionInstruction?: string;
/** Primary one-line button label. */
ctaLabel?: string;
/** Short reassurance or privacy line beneath the CTA button. */
privacyNote?: string;
/** Custom validation and accessible label copy. */
copy?: NeonWebinarRegistrationCopy;
/** Called with validated registration values on submit. */
onSubmit?: (values: NeonWebinarRegistrationValues) => void;
/** Fallback action handler invoked only when onSubmit is omitted. */
onAction?: (values: NeonWebinarRegistrationValues) => void;
/** Preview or controlled visual state. */
state?: "default" | "hover" | "active" | "disabled" | "error";
/** Optional className on the section root. */
className?: string;
};
const DEFAULT_SESSIONS: WebinarSession[] = [
{
id: "session-tue",
iso: "2024-12-03T12:00:00-05:00",
fallbackDay: "Tue, Dec 3",
fallbackTime: "12:00 PM",
sourceZoneLabel: "ET",
duration: "45 min",
},
{
id: "session-wed",
iso: "2024-12-04T19:00:00-05:00",
fallbackDay: "Wed, Dec 4",
fallbackTime: "7:00 PM",
sourceZoneLabel: "ET",
duration: "45 min",
},
{
id: "session-sat",
iso: "2024-12-07T10:00:00-05:00",
fallbackDay: "Sat, Dec 7",
fallbackTime: "10:00 AM",
sourceZoneLabel: "ET",
duration: "45 min",
},
];
const DEFAULT_LEARN_ITEMS = [
"Map every page your offer needs on a single sheet",
"Write a headline and call to action visitors grasp in five seconds",
"Run a pre-launch check so links, forms, and follow-up work first time",
];
const DEFAULT_COPY: Required<NeonWebinarRegistrationCopy> = {
sessionRequired: "Choose a live session time to continue.",
firstNameRequired: "Enter your first name so we know who to address your seat to.",
emailRequired: "Enter your email address so we can send your workshop link.",
emailInvalid: "Enter a valid email address, such as jordan@example.com.",
sessionsAriaLabel: "Available live workshop times",
hostPrefix: "Hosted by",
timezoneTemplate: "Times shown in your local time ({zone})",
regionAriaLabel: "Live workshop registration",
};
const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
type FormattedSession = {
dayLine: string;
timeLine: string;
zoneShort: string;
sourceNote: string;
};
function detectVisitorTimeZone(): string | undefined {
try {
if (typeof Intl !== "undefined" && typeof Intl.DateTimeFormat === "function") {
return Intl.DateTimeFormat().resolvedOptions().timeZone || undefined;
}
} catch {
return undefined;
}
return undefined;
}
function formatSessionForVisitor(
session: WebinarSession,
timeZone?: string
): FormattedSession {
const parsed = new Date(session.iso);
if (Number.isNaN(parsed.getTime()) || typeof Intl === "undefined") {
return {
dayLine: session.fallbackDay,
timeLine: session.fallbackTime,
zoneShort: session.sourceZoneLabel ?? "",
sourceNote: "",
};
}
try {
const dayLine = new Intl.DateTimeFormat(undefined, {
weekday: "short",
month: "short",
day: "numeric",
...(timeZone ? { timeZone } : {}),
}).format(parsed);
const timeLine = new Intl.DateTimeFormat(undefined, {
hour: "numeric",
minute: "2-digit",
...(timeZone ? { timeZone } : {}),
}).format(parsed);
const zoneParts = new Intl.DateTimeFormat(undefined, {
hour: "numeric",
timeZoneName: "short",
...(timeZone ? { timeZone } : {}),
}).formatToParts(parsed);
const zoneShort =
zoneParts.find((part) => part.type === "timeZoneName")?.value ?? "";
const sourceTimeStr = session.sourceZoneLabel
? `${session.fallbackTime} ${session.sourceZoneLabel}`
: session.fallbackTime;
const normalizedLocal = `${timeLine} ${zoneShort}`.trim().toLowerCase();
const normalizedSource = sourceTimeStr.trim().toLowerCase();
const isEasternEquivalent =
session.sourceZoneLabel === "ET" &&
(zoneShort === "EST" || zoneShort === "EDT" || zoneShort === "ET") &&
timeLine.toLowerCase() === session.fallbackTime.toLowerCase();
const sourceNote =
!isEasternEquivalent && normalizedLocal !== normalizedSource && session.sourceZoneLabel
? sourceTimeStr
: "";
return { dayLine, timeLine, zoneShort, sourceNote };
} catch {
return {
dayLine: session.fallbackDay,
timeLine: session.fallbackTime,
zoneShort: session.sourceZoneLabel ?? "",
sourceNote: "",
};
}
}
function formatFriendlyZone(timeZone: string | undefined, fallbackShort: string): string {
if (timeZone) {
const cleaned = timeZone.replace(/_/g, " ");
return fallbackShort && !cleaned.includes(fallbackShort)
? `${cleaned} · ${fallbackShort}`
: cleaned;
}
return fallbackShort || "Local";
}
export function NeonWebinarRegistration({
headline = "Map out your first funnel in one live session",
promise = "Walk through your offer, page copy, and launch checklist in 45 focused minutes.",
promisePunch = "Done.",
learnItems = DEFAULT_LEARN_ITEMS,
presenterImage,
presenterImageAlt = "Workshop host portrait",
hostName = "",
hostOrganization = "",
hostCredential = "",
durationLabel = "45-minute free live workshop",
formHeading = "Pick the live session that fits your week",
sessions = DEFAULT_SESSIONS,
defaultSessionId,
firstNameLabel = "First name",
firstNamePlaceholder = "Jordan",
emailLabel = "Email address",
emailPlaceholder = "jordan@northsidegoods.com",
actionInstruction = "Click the button below to lock in your live workshop link.",
ctaLabel = "Save my seat",
privacyNote = "Free live training. Unsubscribe anytime.",
copy,
onSubmit,
onAction,
state = "default",
className = "",
}: NeonWebinarRegistrationProps) {
const mergedCopy = { ...DEFAULT_COPY, ...copy };
const uid = React.useId();
const headingId = `${uid}-heading`;
const formHeadingId = `${uid}-form-heading`;
const firstNameId = `${uid}-first-name`;
const firstNameErrId = `${uid}-first-name-err`;
const emailId = `${uid}-email`;
const emailErrId = `${uid}-email-err`;
const sessionErrId = `${uid}-session-err`;
const isDisabled = state === "disabled";
const isForcedError = state === "error";
const initialSessionId =
defaultSessionId && sessions.some((s) => s.id === defaultSessionId)
? defaultSessionId
: sessions[0]?.id ?? "";
const [selectedId, setSelectedId] = React.useState<string>(initialSessionId);
const [firstName, setFirstName] = React.useState<string>("");
const [email, setEmail] = React.useState<string>(
isForcedError ? "jordan@incomplete" : ""
);
const [submittedOnce, setSubmittedOnce] = React.useState<boolean>(isForcedError);
React.useEffect(() => {
if (isForcedError) {
setSubmittedOnce(true);
if (!email) setEmail("jordan@incomplete");
} else {
setSubmittedOnce(false);
}
}, [isForcedError]);
React.useEffect(() => {
if (sessions.length > 0 && !sessions.some((s) => s.id === selectedId)) {
setSelectedId(sessions[0].id);
}
}, [sessions, selectedId]);
const slotRefs = React.useRef<Array<HTMLButtonElement | null>>([]);
const visitorTimeZone = React.useMemo(() => detectVisitorTimeZone(), []);
const formattedSessions = React.useMemo(
() =>
sessions.map((session) => ({
session,
formatted: formatSessionForVisitor(session, visitorTimeZone),
})),
[sessions, visitorTimeZone]
);
const zoneSummary = React.useMemo(() => {
const firstShort = formattedSessions[0]?.formatted.zoneShort ?? "";
const zoneText = formatFriendlyZone(visitorTimeZone, firstShort);
return mergedCopy.timezoneTemplate.replace("{zone}", zoneText);
}, [formattedSessions, visitorTimeZone, mergedCopy.timezoneTemplate]);
const sessionError =
submittedOnce && !selectedId ? mergedCopy.sessionRequired : "";
const firstNameError =
submittedOnce && firstName.trim().length === 0
? mergedCopy.firstNameRequired
: "";
const emailTrimmed = email.trim();
const emailError = submittedOnce
? emailTrimmed.length === 0
? mergedCopy.emailRequired
: !EMAIL_PATTERN.test(emailTrimmed)
? mergedCopy.emailInvalid
: ""
: "";
function handleSlotKeyDown(
event: React.KeyboardEvent<HTMLButtonElement>,
index: number
) {
if (isDisabled || sessions.length === 0) return;
let nextIndex = -1;
if (event.key === "ArrowDown" || event.key === "ArrowRight") {
nextIndex = (index + 1) % sessions.length;
} else if (event.key === "ArrowUp" || event.key === "ArrowLeft") {
nextIndex = (index - 1 + sessions.length) % sessions.length;
} else if (event.key === "Home") {
nextIndex = 0;
} else if (event.key === "End") {
nextIndex = sessions.length - 1;
}
if (nextIndex >= 0) {
event.preventDefault();
const nextSession = sessions[nextIndex];
setSelectedId(nextSession.id);
slotRefs.current[nextIndex]?.focus();
}
}
function handleFormSubmit(event: React.FormEvent<HTMLFormElement>) {
event.preventDefault();
if (isDisabled) return;
setSubmittedOnce(true);
const trimmedFirst = firstName.trim();
const trimmedEmail = email.trim();
const valid =
Boolean(selectedId) &&
trimmedFirst.length > 0 &&
EMAIL_PATTERN.test(trimmedEmail);
if (!valid) {
return;
}
const chosenSession =
sessions.find((s) => s.id === selectedId) ?? null;
const payload: NeonWebinarRegistrationValues = {
firstName: trimmedFirst,
email: trimmedEmail,
sessionId: selectedId,
session: chosenSession,
};
if (onSubmit) {
onSubmit(payload);
} else if (onAction) {
onAction(payload);
}
}
const showHostBlock = Boolean(
presenterImage || hostName || hostOrganization || hostCredential
);
const buttonStateClass =
state === "hover"
? " is-hover"
: state === "active"
? " is-active"
: "";
return (
<section
className={`cf-neon-webinar-registration${className ? ` ${className}` : ""}`}
aria-labelledby={headingId}
aria-label={mergedCopy.regionAriaLabel}
>
<style>{CSS}</style>
{/* The dark band is a background layer that stops short of the root's bottom, so the card overhangs it in normal flow and is never clipped. */}
<div
className="cf-nwr-band"
style={{ ...FX_HOST, position: "absolute" }}
aria-hidden="true"
>
<Mesh variant="dark" />
</div>
<div className="cf-nwr-stage">
<div className="cf-nwr-shell">
<div className="cf-nwr-pitch">
<div className="cf-nwr-pitch-top">
{durationLabel ? (
<p className="cf-nwr-meta">
<Clock
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{durationLabel}
</p>
) : null}
<h2 id={headingId} className="cf-nwr-headline">
{headline}
</h2>
{promise || promisePunch ? (
<p className="cf-nwr-promise">
{promise}
{promisePunch ? (
<span className="cf-nwr-punch">{promisePunch}</span>
) : null}
</p>
) : null}
{learnItems.length > 0 ? (
<ul className="cf-nwr-list">
{learnItems.map((item, idx) => (
<li key={`${idx}-${item}`} className="cf-nwr-list-item">
<span className="cf-nwr-check" aria-hidden="true">
<Check size={14} strokeWidth={3} />
</span>
<span className="cf-nwr-list-text">{item}</span>
</li>
))}
</ul>
) : null}
</div>
{showHostBlock ? (
<div
className={`cf-nwr-host${presenterImage ? " has-portrait" : ""}`}
>
{presenterImage ? (
<div className="cf-nwr-portrait-wrap">
<img
src={presenterImage}
alt={presenterImageAlt}
className="cf-nwr-portrait"
loading="eager"
decoding="async"
/>
</div>
) : null}
<div className="cf-nwr-host-body">
{hostName ? (
<p className="cf-nwr-host-name">
<span className="cf-nwr-host-prefix">
{mergedCopy.hostPrefix}{" "}
</span>
{hostName}
</p>
) : null}
{hostOrganization ? (
<p className="cf-nwr-host-org">{hostOrganization}</p>
) : null}
{hostCredential ? (
<p className="cf-nwr-host-cred">{hostCredential}</p>
) : null}
</div>
</div>
) : null}
</div>
<div className="cf-nwr-card">
<div className="cf-nwr-card-head">
<h3 id={formHeadingId} className="cf-nwr-card-title">
{formHeading}
</h3>
<p className="cf-nwr-tz">
<Globe
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{zoneSummary}
</p>
</div>
<form
className="cf-nwr-form"
onSubmit={handleFormSubmit}
noValidate
>
<div className="cf-nwr-slots-wrap">
<div
className="cf-nwr-slots"
role="radiogroup"
aria-labelledby={formHeadingId}
aria-label={mergedCopy.sessionsAriaLabel}
aria-describedby={sessionError ? sessionErrId : undefined}
>
{formattedSessions.map(({ session, formatted }, index) => {
const isSelected = session.id === selectedId;
const tabIndex =
isSelected || (!selectedId && index === 0) ? 0 : -1;
const metaParts = [
formatted.sourceNote,
session.duration,
].filter(Boolean);
return (
<button
key={session.id}
ref={(el) => {
slotRefs.current[index] = el;
}}
type="button"
role="radio"
aria-checked={isSelected}
tabIndex={isDisabled ? -1 : tabIndex}
disabled={isDisabled}
className={`cf-nwr-slot${isSelected ? " is-selected" : ""}`}
onClick={() => setSelectedId(session.id)}
onKeyDown={(e) => handleSlotKeyDown(e, index)}
>
<span className="cf-nwr-slot-left">
<span className="cf-nwr-radio" aria-hidden="true">
{isSelected ? (
<Check size={13} strokeWidth={3} />
) : null}
</span>
<span className="cf-nwr-slot-day-group">
<span className="cf-nwr-slot-day">
{formatted.dayLine}
</span>
{metaParts.length > 0 ? (
<span className="cf-nwr-slot-meta">
{metaParts.join(" · ")}
</span>
) : null}
</span>
</span>
<span className="cf-nwr-slot-time-group">
<span className="cf-nwr-slot-time">
{formatted.timeLine}
</span>
{formatted.zoneShort ? (
<span className="cf-nwr-slot-zone">
{formatted.zoneShort}
</span>
) : null}
</span>
</button>
);
})}
</div>
{sessionError ? (
<p
id={sessionErrId}
className="cf-nwr-field-error"
role="alert"
>
<AlertCircle
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{sessionError}
</p>
) : null}
</div>
<div className="cf-nwr-fields">
<div className="cf-nwr-field">
<label htmlFor={firstNameId} className="cf-nwr-label">
{firstNameLabel}
</label>
<input
id={firstNameId}
name="firstName"
type="text"
autoComplete="given-name"
placeholder={firstNamePlaceholder}
value={firstName}
disabled={isDisabled}
aria-invalid={Boolean(firstNameError)}
aria-describedby={firstNameError ? firstNameErrId : undefined}
className={`cf-nwr-input${firstNameError ? " has-error" : ""}`}
onChange={(e) => setFirstName(e.target.value)}
/>
{firstNameError ? (
<p
id={firstNameErrId}
className="cf-nwr-field-error"
role="alert"
>
<AlertCircle
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{firstNameError}
</p>
) : null}
</div>
<div className="cf-nwr-field">
<label htmlFor={emailId} className="cf-nwr-label">
{emailLabel}
</label>
<input
id={emailId}
name="email"
type="email"
inputMode="email"
autoComplete="email"
placeholder={emailPlaceholder}
value={email}
disabled={isDisabled}
aria-invalid={Boolean(emailError)}
aria-describedby={emailError ? emailErrId : undefined}
className={`cf-nwr-input${emailError ? " has-error" : ""}`}
onChange={(e) => setEmail(e.target.value)}
/>
{emailError ? (
<p
id={emailErrId}
className="cf-nwr-field-error"
role="alert"
>
<AlertCircle
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{emailError}
</p>
) : null}
</div>
</div>
<div className="cf-nwr-action-block">
{actionInstruction ? (
<p className="cf-nwr-instruction">{actionInstruction}</p>
) : null}
<button
type="submit"
disabled={isDisabled}
className={`cf-nwr-cta${buttonStateClass}`}
>
{ctaLabel}
</button>
{privacyNote ? (
<p className="cf-nwr-privacy">
<Lock
size={16}
strokeWidth={2.5}
className="cf-nwr-inline-icon"
aria-hidden="true"
/>
{privacyNote}
</p>
) : null}
</div>
</form>
</div>
</div>
</div>
</section>
);
}
export default NeonWebinarRegistration;
const CSS = `
.cf-neon-webinar-registration {
--nwr-overhang: 56px;
--nwr-tail: clamp(20px, 3vw, 32px);
position: relative;
isolation: isolate;
width: 100%;
background: var(--band, oklch(0.27 0.067 256));
color: var(--ink, oklch(0.21 0.034 263));
font-family: var(--font-body, 'Open Sans', Arial, sans-serif);
padding-bottom: var(--nwr-tail);
box-sizing: border-box;
}
/* The root carries the band colour so the pitch text always sits on --band. This pseudo layer paints the page surface under the card's overhang and tail, where the band layer stops. */
.cf-neon-webinar-registration::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: calc(var(--nwr-tail) + var(--nwr-overhang));
background: var(--surface, oklch(1 0 none));
pointer-events: none;
z-index: 0;
}
.cf-neon-webinar-registration *,
.cf-neon-webinar-registration *::before,
.cf-neon-webinar-registration *::after {
box-sizing: border-box;
}
/* Dark band layer: ends --nwr-overhang above the card's bottom edge, so the card overhangs it without any clipping. */
.cf-neon-webinar-registration .cf-nwr-band {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: calc(var(--nwr-tail) + var(--nwr-overhang));
background: var(--band, oklch(0.27 0.067 256));
overflow: hidden;
pointer-events: none;
z-index: 0;
}
.cf-neon-webinar-registration .cf-nwr-stage {
position: relative;
z-index: 1;
width: 100%;
color: var(--band-ink, oklch(1 0 none));
padding: clamp(56px, 7.5vw, 96px) clamp(16px, 5vw, 48px) 0;
}
.cf-neon-webinar-registration .cf-nwr-shell {
position: relative;
z-index: 2;
max-width: 1120px;
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
gap: clamp(32px, 4.5vw, 64px);
align-items: stretch;
}
.cf-neon-webinar-registration .cf-nwr-pitch {
display: flex;
flex-direction: column;
justify-content: space-between;
min-width: 0;
margin-bottom: var(--nwr-overhang);
animation: cf-nwr-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cf-neon-webinar-registration .cf-nwr-pitch-top {
padding-top: 4px;
}
.cf-neon-webinar-registration .cf-nwr-meta {
margin: 0 0 16px;
font-size: 0.9375rem;
font-weight: 600;
line-height: 1.4;
color: oklch(from var(--band-ink, oklch(1 0 none)) l c h / 0.88);
}
.cf-neon-webinar-registration .cf-nwr-headline {
margin: 0;
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-size: clamp(2rem, 3.6vw, 3.25rem);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.025em);
line-height: 1.06;
color: var(--band-ink, oklch(1 0 none));
text-wrap: balance;
}
.cf-neon-webinar-registration .cf-nwr-promise {
margin: 18px 0 0;
max-width: 56ch;
font-size: clamp(1.125rem, 1.5vw, 1.375rem);
font-weight: 500;
line-height: 1.42;
color: oklch(from var(--band-ink, oklch(1 0 none)) l c h / 0.92);
text-wrap: pretty;
}
.cf-neon-webinar-registration .cf-nwr-punch {
display: block;
margin-top: 6px;
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-weight: var(--display-weight, 800);
letter-spacing: -0.015em;
color: var(--band-ink, oklch(1 0 none));
}
.cf-neon-webinar-registration .cf-nwr-list {
list-style: none;
margin: 28px 0 0;
padding: 0;
display: grid;
gap: 14px;
max-width: 56ch;
}
.cf-neon-webinar-registration .cf-nwr-list-item {
display: flex;
align-items: flex-start;
gap: 12px;
}
.cf-neon-webinar-registration .cf-nwr-check {
width: 24px;
height: 24px;
border-radius: 999px;
background: var(--success, oklch(0.5 0.138 150));
color: var(--status-ink, #fff);
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 24px;
margin-top: 2px;
}
.cf-neon-webinar-registration .cf-nwr-list-text {
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
font-weight: 500;
line-height: 1.45;
color: var(--band-ink, oklch(1 0 none));
text-wrap: pretty;
}
.cf-neon-webinar-registration .cf-nwr-host {
display: flex;
align-items: flex-end;
gap: 20px;
margin-top: 32px;
padding-bottom: 32px;
}
.cf-neon-webinar-registration .cf-nwr-host.has-portrait {
padding-bottom: 0;
}
.cf-neon-webinar-registration .cf-nwr-portrait-wrap {
flex: 0 0 auto;
width: 176px;
height: 212px;
display: flex;
align-items: flex-end;
justify-content: center;
}
.cf-neon-webinar-registration .cf-nwr-portrait {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: bottom center;
border-radius: 0;
filter:
drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.32))
drop-shadow(0 12px 16px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.28));
}
.cf-neon-webinar-registration .cf-nwr-host-body {
min-width: 0;
padding-bottom: 28px;
}
.cf-neon-webinar-registration .cf-nwr-host:not(.has-portrait) .cf-nwr-host-body {
padding-bottom: 0;
}
.cf-neon-webinar-registration .cf-nwr-host-name {
margin: 0;
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-size: clamp(1.25rem, 1.7vw, 1.5rem);
font-weight: var(--display-weight, 800);
letter-spacing: -0.01em;
line-height: 1.2;
color: var(--band-ink, oklch(1 0 none));
}
.cf-neon-webinar-registration .cf-nwr-host-prefix {
font-weight: 500;
color: oklch(from var(--band-ink, oklch(1 0 none)) l c h / 0.82);
}
.cf-neon-webinar-registration .cf-nwr-host-org {
margin: 4px 0 0;
font-size: 0.9375rem;
font-weight: 700;
line-height: 1.35;
color: var(--band-ink, oklch(1 0 none));
}
.cf-neon-webinar-registration .cf-nwr-host-cred {
margin: 4px 0 0;
font-size: 0.9375rem;
font-weight: 500;
line-height: 1.4;
color: oklch(from var(--band-ink, oklch(1 0 none)) l c h / 0.86);
text-wrap: pretty;
}
/* Overhanging contrasting registration card (overlap-edge, in normal flow) */
.cf-neon-webinar-registration .cf-nwr-card {
position: relative;
z-index: 3;
align-self: start;
min-width: 0;
background: var(--card, oklch(1 0 none));
color: var(--ink, oklch(0.21 0.034 263));
border: 1px solid var(--card-border, oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.14));
border-radius: var(--card-radius, var(--radius, 14px));
box-shadow: var(
--card-shadow,
var(
--shadow-lg,
0 2px 4px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.22),
0 12px 24px -8px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.32)
)
);
padding: clamp(22px, 3vw, 32px);
animation: cf-nwr-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.07s both;
}
.cf-neon-webinar-registration .cf-nwr-card-head {
margin-bottom: 20px;
}
.cf-neon-webinar-registration .cf-nwr-card-title {
margin: 0;
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
font-weight: var(--display-weight, 800);
letter-spacing: -0.015em;
line-height: 1.15;
color: var(--ink, oklch(0.21 0.034 263));
text-wrap: balance;
}
.cf-neon-webinar-registration .cf-nwr-tz {
margin: 8px 0 0;
font-size: 0.9375rem;
font-weight: 500;
line-height: 1.4;
color: var(--muted, oklch(0.45 0.03 258));
text-wrap: pretty;
}
.cf-neon-webinar-registration .cf-nwr-inline-icon {
display: inline-block;
vertical-align: -0.15em;
margin-inline-end: 0.4em;
flex: 0 0 auto;
}
.cf-neon-webinar-registration .cf-nwr-form {
display: grid;
gap: 20px;
}
.cf-neon-webinar-registration .cf-nwr-slots-wrap {
display: grid;
gap: 8px;
}
.cf-neon-webinar-registration .cf-nwr-slots {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.cf-neon-webinar-registration .cf-nwr-slot {
width: 100%;
min-height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 12px 16px;
border-radius: min(var(--button-radius, calc(var(--radius, 12px) - 2px)), 14px);
border: 1.5px solid oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.12);
background: color-mix(in oklch, var(--ink, oklch(0.21 0.034 263)) 4%, var(--card, oklch(1 0 none)));
color: var(--button-2-ink, var(--ink, oklch(0.21 0.034 263)));
font-family: inherit;
text-align: left;
cursor: pointer;
transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.cf-neon-webinar-registration .cf-nwr-slot:hover:not(:disabled) {
background: color-mix(in oklch, var(--ink, oklch(0.21 0.034 263)) 7%, var(--card, oklch(1 0 none)));
border-color: oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.26);
}
.cf-neon-webinar-registration .cf-nwr-slot.is-selected {
background: color-mix(in oklch, var(--accent, oklch(0.5 0.17 257)) 10%, var(--card, oklch(1 0 none)));
border-color: var(--accent, oklch(0.5 0.17 257));
}
.cf-neon-webinar-registration .cf-nwr-slot:focus-visible {
outline: 3px solid oklch(from var(--field-focus, var(--accent, oklch(0.5 0.17 257))) l c h / 0.35);
outline-offset: 2px;
}
.cf-neon-webinar-registration .cf-nwr-slot:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.cf-neon-webinar-registration .cf-nwr-slot-left {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.cf-neon-webinar-registration .cf-nwr-radio {
width: 22px;
height: 22px;
border-radius: 999px;
border: 2px solid oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.32);
background: var(--card, oklch(1 0 none));
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 22px;
transition: background 0.16s ease, border-color 0.16s ease;
}
.cf-neon-webinar-registration .cf-nwr-slot.is-selected .cf-nwr-radio {
border-color: var(--accent-fill, var(--accent, oklch(0.5 0.17 257)));
background: var(--accent-fill, var(--accent, oklch(0.5 0.17 257)));
color: var(--accent-fill-ink, var(--card, oklch(1 0 none)));
}
.cf-neon-webinar-registration .cf-nwr-slot-day-group {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.cf-neon-webinar-registration .cf-nwr-slot-day {
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-size: 1.0625rem;
font-weight: var(--display-weight, 800);
line-height: 1.2;
color: var(--ink, oklch(0.21 0.034 263));
}
.cf-neon-webinar-registration .cf-nwr-slot-meta {
font-size: 0.875rem;
font-weight: 500;
line-height: 1.25;
color: var(--muted, oklch(0.45 0.03 258));
}
.cf-neon-webinar-registration .cf-nwr-slot.is-selected .cf-nwr-slot-meta {
color: var(--ink, oklch(0.21 0.034 263));
}
.cf-neon-webinar-registration .cf-nwr-slot-time-group {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
flex: 0 0 auto;
text-align: right;
}
.cf-neon-webinar-registration .cf-nwr-slot-time {
font-family: var(--font-display, 'Open Sans', Arial, sans-serif);
font-size: 1.125rem;
font-weight: var(--display-weight, 800);
line-height: 1.15;
font-variant-numeric: tabular-nums;
color: var(--ink, oklch(0.21 0.034 263));
}
.cf-neon-webinar-registration .cf-nwr-slot-zone {
font-size: 0.875rem;
font-weight: 700;
line-height: 1.2;
color: var(--muted, oklch(0.45 0.03 258));
}
.cf-neon-webinar-registration .cf-nwr-slot.is-selected .cf-nwr-slot-zone {
color: var(--accent, oklch(0.5 0.17 257));
}
.cf-neon-webinar-registration .cf-nwr-fields {
display: grid;
gap: 14px;
}
.cf-neon-webinar-registration .cf-nwr-field {
display: grid;
gap: 6px;
}
.cf-neon-webinar-registration .cf-nwr-label {
font-size: 1rem;
font-weight: 700;
line-height: 1.3;
color: var(--label-ink, var(--ink, oklch(0.21 0.034 263)));
}
.cf-neon-webinar-registration .cf-nwr-input {
width: 100%;
min-height: 56px;
padding: 0 16px;
font-family: inherit;
font-size: 1.0625rem;
font-weight: 500;
line-height: 1.4;
background: var(--field, oklch(1 0 none));
color: var(--field-ink, var(--ink, oklch(0.21 0.034 263)));
border: 1.5px solid var(--field-border, oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.22));
border-radius: var(--field-radius, var(--radius, 12px));
transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cf-neon-webinar-registration .cf-nwr-input::placeholder {
color: color-mix(in oklch, var(--field-ink, oklch(0.21 0.034 263)) 65%, var(--field, oklch(1 0 none)));
opacity: 1;
}
.cf-neon-webinar-registration .cf-nwr-input:focus {
outline: none;
border-color: var(--field-focus, var(--accent, oklch(0.5 0.17 257)));
box-shadow: 0 0 0 3px oklch(from var(--field-focus, var(--accent, oklch(0.5 0.17 257))) l c h / 0.35);
}
.cf-neon-webinar-registration .cf-nwr-input.has-error {
border-color: var(--danger, oklch(0.5 0.17 27));
}
.cf-neon-webinar-registration .cf-nwr-input.has-error:focus {
border-color: var(--danger, oklch(0.5 0.17 27));
box-shadow: 0 0 0 3px oklch(from var(--danger, oklch(0.5 0.17 27)) l c h / 0.28);
}
.cf-neon-webinar-registration .cf-nwr-input:disabled {
opacity: 0.62;
cursor: not-allowed;
}
.cf-neon-webinar-registration .cf-nwr-field-error {
margin: 2px 0 0;
padding: 6px 10px;
border-radius: 8px;
background: var(--danger-soft, oklch(0.93 0.024 27));
color: var(--danger, oklch(0.5 0.17 27));
font-size: 0.9375rem;
font-weight: 600;
line-height: 1.35;
text-wrap: pretty;
}
.cf-neon-webinar-registration .cf-nwr-action-block {
display: grid;
gap: 12px;
margin-top: 2px;
}
.cf-neon-webinar-registration .cf-nwr-instruction {
margin: 0;
font-size: 0.9375rem;
font-weight: 500;
line-height: 1.4;
color: var(--muted, oklch(0.45 0.03 258));
text-align: center;
text-wrap: pretty;
}
.cf-neon-webinar-registration .cf-nwr-cta {
width: 100%;
min-height: 64px;
padding: 0 28px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: var(--button-radius, var(--radius, 12px));
font-family: var(--button-font, var(--font-display, 'Open Sans', Arial, sans-serif));
font-size: clamp(1.125rem, 1.55vw, 1.375rem);
font-weight: var(--button-weight, 800);
text-transform: var(--button-case, none);
line-height: 1.15;
color: var(--button-ink, var(--cta-ink, oklch(1 0 none)));
text-shadow: var(--button-text-shadow, none);
background: linear-gradient(
180deg,
oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l + 0.04) c h) 0%,
oklch(from var(--button-bg-2, var(--cta-2, oklch(0.506 0.206 29.5))) calc(l - 0.02) c h) 100%
);
box-shadow: var(
--button-shadow,
inset 0 1px 0 oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l + 0.14) c h / 0.7),
inset 0 -3px 0 oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l - 0.16) c h),
0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.28),
0 8px 16px -6px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.34)
);
cursor: pointer;
transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.cf-neon-webinar-registration .cf-nwr-cta:hover:not(:disabled),
.cf-neon-webinar-registration .cf-nwr-cta.is-hover:not(:disabled) {
background: linear-gradient(
180deg,
oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l - 0.01) c h) 0%,
oklch(from var(--button-bg-2, var(--cta-2, oklch(0.506 0.206 29.5))) calc(l - 0.07) c h) 100%
);
box-shadow: var(
--button-shadow,
inset 0 1px 0 oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l + 0.12) c h / 0.65),
inset 0 -3px 0 oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l - 0.2) c h),
0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.32),
0 10px 20px -6px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4)
);
transform: translateY(-1px);
}
.cf-neon-webinar-registration .cf-nwr-cta:active:not(:disabled),
.cf-neon-webinar-registration .cf-nwr-cta.is-active:not(:disabled) {
background: linear-gradient(
180deg,
oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l - 0.05) c h) 0%,
oklch(from var(--button-bg-2, var(--cta-2, oklch(0.506 0.206 29.5))) calc(l - 0.1) c h) 100%
);
box-shadow:
inset 0 2px 4px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.3),
inset 0 -1px 0 oklch(from var(--button-bg, var(--cta, oklch(0.576 0.209 29.5))) calc(l - 0.18) c h),
0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.24);
transform: translateY(1px);
}
.cf-neon-webinar-registration .cf-nwr-cta:focus-visible {
outline: 3px solid oklch(from var(--field-focus, var(--accent, oklch(0.5 0.17 257))) l c h / 0.45);
outline-offset: 3px;
}
.cf-neon-webinar-registration .cf-nwr-cta:disabled {
opacity: 0.6;
cursor: not-allowed;
box-shadow: var(--shadow-sm, 0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.18));
transform: none;
}
.cf-neon-webinar-registration .cf-nwr-privacy {
margin: 0;
font-size: 0.9375rem;
font-weight: 500;
line-height: 1.4;
color: var(--muted, oklch(0.45 0.03 258));
text-align: center;
text-wrap: pretty;
}
@keyframes cf-nwr-rise {
from {
opacity: 0.82;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 900px) {
.cf-neon-webinar-registration {
--nwr-overhang: 64px;
--nwr-tail: 20px;
}
.cf-neon-webinar-registration .cf-nwr-stage {
padding: clamp(48px, 8vw, 64px) clamp(16px, 4.5vw, 28px) 0;
}
.cf-neon-webinar-registration .cf-nwr-shell {
grid-template-columns: 1fr;
gap: 28px;
}
/* Stacked: the band is anchored to the card's bottom, so the pitch needs no spacer. */
.cf-neon-webinar-registration .cf-nwr-pitch {
margin-bottom: 0;
}
.cf-neon-webinar-registration .cf-nwr-host {
margin-top: 28px;
gap: 16px;
padding-bottom: 0;
border-bottom: 1px solid oklch(from var(--band-ink, oklch(1 0 none)) l c h / 0.16);
}
.cf-neon-webinar-registration .cf-nwr-host:not(.has-portrait) {
padding-bottom: 20px;
}
.cf-neon-webinar-registration .cf-nwr-portrait-wrap {
width: 118px;
height: 146px;
}
.cf-neon-webinar-registration .cf-nwr-host-body {
padding-bottom: 16px;
}
.cf-neon-webinar-registration .cf-nwr-card {
padding: 20px;
}
.cf-neon-webinar-registration .cf-nwr-slot {
padding: 12px 14px;
gap: 10px;
}
}
@media (prefers-reduced-motion: reduce) {
.cf-neon-webinar-registration .cf-nwr-pitch,
.cf-neon-webinar-registration .cf-nwr-card {
animation: none;
}
.cf-neon-webinar-registration .cf-nwr-slot,
.cf-neon-webinar-registration .cf-nwr-radio,
.cf-neon-webinar-registration .cf-nwr-input,
.cf-neon-webinar-registration .cf-nwr-cta {
transition: none;
}
.cf-neon-webinar-registration .cf-nwr-cta:hover:not(:disabled),
.cf-neon-webinar-registration .cf-nwr-cta.is-hover:not(:disabled),
.cf-neon-webinar-registration .cf-nwr-cta:active:not(:disabled),
.cf-neon-webinar-registration .cf-nwr-cta.is-active:not(:disabled) {
transform: none;
}
}
`;
pieces/forms/neon-webinar-registration/specimen.tsx 82 lines
import __studioImage7fb33f91 from "../assets/cef7099167a2be70.webp";
import * as React from "react";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
import {
NeonWebinarRegistration,
type NeonWebinarRegistrationProps,
type WebinarSession,
} from "../neon-webinar-registration";
const presenterPortrait = __studioImage7fb33f91;
const GILDMARSH_SESSIONS: WebinarSession[] = [
{
id: "tue-3-dec",
iso: "2024-12-03T12:00:00-05:00",
fallbackDay: "Tue, Dec 3",
fallbackTime: "12:00 PM",
sourceZoneLabel: "ET",
duration: "45 min",
},
{
id: "wed-4-dec",
iso: "2024-12-04T19:00:00-05:00",
fallbackDay: "Wed, Dec 4",
fallbackTime: "7:00 PM",
sourceZoneLabel: "ET",
duration: "45 min",
},
{
id: "sat-7-dec",
iso: "2024-12-07T10:00:00-05:00",
fallbackDay: "Sat, Dec 7",
fallbackTime: "10:00 AM",
sourceZoneLabel: "ET",
duration: "45 min",
},
];
export const states: Array<NonNullable<NeonWebinarRegistrationProps["state"]>> = [
"default",
"hover",
"active",
"disabled",
"error",
];
export default function NeonWebinarRegistrationDemo({
state = "default",
}: {
state?: NeonWebinarRegistrationProps["state"];
}) {
return (
<NeonWebinarRegistration
state={state}
durationLabel="Free 45-minute live workshop · Gildmarsh Bookkeeping"
headline="Books Ready Before Tax Season: the 30-minute monthly close"
promise="Close your shop's books on the first Friday of every month so tax prep takes an afternoon, not three weekends."
promisePunch="Done."
learnItems={[
"The 3-folder receipt habit that ends end-of-year paper hunting",
"How to reconcile bank and card feeds cleanly in 15 minutes flat",
"The 5-line monthly summary your tax preparer actually asks for",
]}
presenterImage={slot("presenter-cutout", presenterPortrait)}
presenterImageAlt="Elena Marsh, workshop host at Gildmarsh Bookkeeping"
hostName="Elena Marsh"
hostOrganization="Gildmarsh Bookkeeping"
hostCredential="Bookkeeper for 140 small shops"
formHeading="Choose your live workshop time"
sessions={GILDMARSH_SESSIONS}
firstNameLabel="First name"
firstNamePlaceholder="Hannah"
emailLabel="Email address"
emailPlaceholder="hannah@oakstreetbakery.com"
actionInstruction="Click the button below to reserve your free workshop link."
ctaLabel="Save my seat"
privacyNote={defaults.sample.registration.privacy}
onSubmit={() => {}}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalNeonWebinarRegistration |
React.ReactNode |
Default "Map out your first funnel in one live session"
|
promise OptionalNeonWebinarRegistration |
string |
Default "Walk through your offer, page copy, and launch checklist in 45 focused minutes."
|
promisePunch OptionalNeonWebinarRegistration |
string |
Default "Done."
|
learnItems OptionalNeonWebinarRegistration |
string[] |
Default DEFAULT_LEARN_ITEMS
|
presenterImage OptionalNeonWebinarRegistration |
string |
|
presenterImageAlt OptionalNeonWebinarRegistration |
string |
Default "Workshop host portrait"
|
hostName OptionalNeonWebinarRegistration |
string |
Default ""
|
hostOrganization OptionalNeonWebinarRegistration |
string |
Default ""
|
hostCredential OptionalNeonWebinarRegistration |
string |
Default ""
|
durationLabel OptionalNeonWebinarRegistration |
string |
Default "45-minute free live workshop"
|
formHeading OptionalNeonWebinarRegistration |
string |
Default "Pick the live session that fits your week"
|
sessions OptionalNeonWebinarRegistration |
WebinarSession[] |
Default DEFAULT_SESSIONS
|
defaultSessionId OptionalNeonWebinarRegistration |
string |
|
firstNameLabel OptionalNeonWebinarRegistration |
string |
Default "First name"
|
firstNamePlaceholder OptionalNeonWebinarRegistration |
string |
Default "Jordan"
|
emailLabel OptionalNeonWebinarRegistration |
string |
Default "Email address"
|
emailPlaceholder OptionalNeonWebinarRegistration |
string |
Default "jordan@northsidegoods.com"
|
actionInstruction OptionalNeonWebinarRegistration |
string |
Default "Click the button below to lock in your live workshop link."
|
ctaLabel OptionalNeonWebinarRegistration |
string |
Default "Save my seat"
|
privacyNote OptionalNeonWebinarRegistration |
string |
Default "Free live training. Unsubscribe anytime."
|
copy OptionalNeonWebinarRegistration |
NeonWebinarRegistrationCopy |
|
onSubmit OptionalNeonWebinarRegistration |
(values: NeonWebinarRegistrationValues) => void |
|
onAction OptionalNeonWebinarRegistration |
(values: NeonWebinarRegistrationValues) => void |
|
state OptionalNeonWebinarRegistration |
"default" | "hover" | "active" | "disabled" | "error" |
Default "default"
|
className OptionalNeonWebinarRegistration |
string |
Default ""
|
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-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.
--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.
presenter-cutout- The presenter on a transparent background.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
cef7099167a2be70.webp
image/webp · 60.3 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB