Newsletter Signup 1
Newsletter signup band: a short interview answers what the reader gets, how often and how to leave, and the last answer is the email form, so the visitor joins with the objections already handled.
Use it in a prompt
Use forms/newsletter-signup 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/newsletter-signup.tsx. - Import it and pass your copy and images (Props tab):
import { NewsletterSignup } from "@/components/funneldna/forms/newsletter-signup"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/forms/newsletter-signup/component.tsx 404 lines
// layout: interview-qa
// Newsletter signup band: a short interview answers what the reader gets, how often and how to leave, and the last answer is the email form, so the visitor joins with the objections already handled.
import * as React from 'react';
import { AlertCircle, Loader2, Lock, Mail, Users } from 'lucide-react';
export type NewsletterQuestion = {
question: string;
/** One-sentence lines, each set as its own paragraph. */
answers: string[];
/** Optional single-word line for emphasis, e.g. 'Gone.' */
punch?: string;
};
export type NewsletterSignupProps = {
headline?: string;
/** Phrase inside the headline that gets the marker stroke. */
highlight?: string;
lead?: string;
/** Who answers the questions, shown beside the photo. */
authorName?: string;
authorRole?: string;
/** Slot: presenter. */
presenterImage?: string;
presenterAlt?: string;
questions?: NewsletterQuestion[];
/** The last question; its answer is the signup form. */
finalQuestion?: string;
/** Plain instruction that ends the copy, right above the field. */
instruction?: string;
emailLabel?: string;
emailPlaceholder?: string;
buttonLabel?: string;
/** Button label while the promise returned by onSubmit is pending. */
busyLabel?: string;
privacy?: string;
/** Supplied subscriber count only; empty hides the proof line. */
subscriberCount?: string;
/** Proof line template; {count} is replaced by subscriberCount. */
proofTemplate?: string;
requiredError?: string;
invalidError?: string;
defaultEmail?: string;
disabled?: boolean;
/** Called with the validated email. Return a promise to show the busy state. Never sends data itself. */
onSubmit?: (values: { email: string }) => void | Promise<unknown>;
state?: 'default' | 'hover' | 'active' | 'disabled' | 'error';
className?: string;
};
export function NewsletterSignup({
headline = 'Get one funnel fix in your inbox every Tuesday',
highlight = 'one funnel fix',
lead = 'Short, practical notes on offers, page copy and follow-up. Five minutes to read. Ready to use the same day.',
authorName = '',
authorRole = '',
presenterImage = '',
presenterAlt = '',
questions = DEFAULT_QUESTIONS,
finalQuestion = 'How do I get the next one?',
instruction = 'Type your email address, then click the button below to get the next issue.',
emailLabel = 'Email address',
emailPlaceholder = 'you@example.com',
buttonLabel = 'Count Me In',
busyLabel = 'Signing you up…',
privacy = 'We respect your inbox. Unsubscribe anytime.',
subscriberCount = '',
proofTemplate = 'Join {count} readers already on the list.',
requiredError = 'Enter your email address so we know where to send it.',
invalidError = 'That email looks incomplete. Check it and try again.',
defaultEmail = '',
disabled = false,
onSubmit,
state = 'default',
className,
}: NewsletterSignupProps) {
const uid = React.useId();
const headingId = uid + '-heading';
const emailId = uid + '-email';
const errorId = uid + '-error';
const noteId = uid + '-note';
const inputRef = React.useRef<HTMLInputElement>(null);
const mounted = React.useRef(true);
const [email, setEmail] = React.useState(defaultEmail);
const [error, setError] = React.useState<string | null>(state === 'error' ? requiredError : null);
const [pending, setPending] = React.useState(false);
const isDisabled = disabled || state === 'disabled';
React.useEffect(() => {
mounted.current = true;
return () => {
mounted.current = false;
};
}, []);
// Reveal once when the band enters view. Content is never hidden: it waits at .82 opacity, and nothing moves under reduced motion.
const rootRef = React.useRef<HTMLElement>(null);
const [reveal, setReveal] = React.useState<'idle' | 'wait' | 'in'>('idle');
useIsoLayoutEffect(() => {
const node = rootRef.current;
if (!node || typeof window === 'undefined' || typeof IntersectionObserver === 'undefined') return;
if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
const rect = node.getBoundingClientRect();
if (rect.top < window.innerHeight * 0.9) {
setReveal('in');
return;
}
setReveal('wait');
const observer = new IntersectionObserver(
(entries) => {
if (entries.some((entry) => entry.isIntersecting)) {
setReveal('in');
observer.disconnect();
}
},
{ threshold: 0.12 },
);
observer.observe(node);
return () => observer.disconnect();
}, []);
React.useEffect(() => {
setError(state === 'error' ? requiredError : null);
}, [state, requiredError]);
const validate = (value: string) => {
const trimmed = value.trim();
if (!trimmed) return requiredError;
if (!EMAIL_PATTERN.test(trimmed)) return invalidError;
return null;
};
const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
if (isDisabled || pending) return;
const message = validate(email);
setError(message);
if (message) {
inputRef.current?.focus();
return;
}
const result = onSubmit?.({ email: email.trim() });
if (result && typeof (result as Promise<unknown>).then === 'function') {
setPending(true);
const done = () => {
if (mounted.current) setPending(false);
};
(result as Promise<unknown>).then(done, done);
}
};
const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
const next = event.target.value;
setEmail(next);
if (error && !validate(next)) setError(null);
};
const hasByline = Boolean(authorName || presenterImage);
const proof = subscriberCount ? fillCount(proofTemplate, subscriberCount) : null;
const describedBy = [error ? errorId : '', privacy ? noteId : ''].filter(Boolean).join(' ');
const finalIndex = questions.length + 1;
return (
<section
ref={rootRef}
className={join('cf-newsletter-signup', className)}
aria-labelledby={headingId}
data-reveal={reveal}
>
<style>{CSS}</style>
<div className='cf-newsletter-signup__inner'>
<header className='cf-newsletter-signup__head' style={{ '--i': 0 } as React.CSSProperties}>
<h2 id={headingId} className='cf-newsletter-signup__title'>
{markPhrase(headline, highlight)}
</h2>
{lead ? <p className='cf-newsletter-signup__lead'>{lead}</p> : null}
{hasByline ? (
<div className='cf-newsletter-signup__byline'>
{presenterImage ? (
<img
className='cf-newsletter-signup__avatar'
src={presenterImage}
alt={presenterAlt || authorName}
width={56}
height={56}
loading='lazy'
/>
) : null}
<p className='cf-newsletter-signup__byline-text'>
{authorName ? <strong>{authorName}</strong> : null}
{authorRole ? <span>{authorRole}</span> : null}
</p>
</div>
) : null}
</header>
<div className='cf-newsletter-signup__interview'>
{questions.map((item, index) => (
<div
key={item.question}
className='cf-newsletter-signup__row'
style={{ '--i': index + 1 } as React.CSSProperties}
>
<h3 className='cf-newsletter-signup__q'>{item.question}</h3>
<div className='cf-newsletter-signup__a'>
{item.answers.map((line) => (
<p key={line}>{line}</p>
))}
{item.punch ? <p className='cf-newsletter-signup__punch'>{item.punch}</p> : null}
</div>
</div>
))}
<div
className='cf-newsletter-signup__row cf-newsletter-signup__row--final'
style={{ '--i': finalIndex } as React.CSSProperties}
>
<h3 className='cf-newsletter-signup__q'>{finalQuestion}</h3>
<div className='cf-newsletter-signup__a'>
<div className='cf-newsletter-signup__card'>
<form className='cf-newsletter-signup__form' noValidate onSubmit={handleSubmit}>
{instruction ? <p className='cf-newsletter-signup__instruction'>{instruction}</p> : null}
<label htmlFor={emailId} className='cf-newsletter-signup__label'>
{emailLabel}
</label>
<div className='cf-newsletter-signup__fieldrow'>
<div className='cf-newsletter-signup__field'>
<Mail className='cf-newsletter-signup__field-icon' size={20} strokeWidth={2.5} aria-hidden='true' />
<input
ref={inputRef}
id={emailId}
className='cf-newsletter-signup__input'
type='email'
name='email'
inputMode='email'
autoComplete='email'
placeholder={emailPlaceholder}
value={email}
onChange={handleChange}
disabled={isDisabled}
required
aria-invalid={error ? true : undefined}
aria-describedby={describedBy || undefined}
/>
</div>
<button
type='submit'
className={join(
'cf-newsletter-signup__button',
state === 'hover' && 'is-hover',
state === 'active' && 'is-active',
pending && 'is-pending',
)}
disabled={isDisabled}
aria-busy={pending || undefined}
>
{pending ? (
<Loader2 className='cf-newsletter-signup__spin' size={20} strokeWidth={2.5} aria-hidden='true' />
) : null}
<span>{pending ? busyLabel : buttonLabel}</span>
</button>
</div>
{error ? (
<p id={errorId} className='cf-newsletter-signup__error' role='alert'>
<AlertCircle size={16} strokeWidth={2.5} aria-hidden='true' />
{error}
</p>
) : null}
</form>
{privacy || proof ? (
<div className='cf-newsletter-signup__notes'>
{privacy ? (
<p id={noteId} className='cf-newsletter-signup__note'>
<Lock size={16} strokeWidth={2.5} aria-hidden='true' />
{privacy}
</p>
) : null}
{proof ? (
<p className='cf-newsletter-signup__note cf-newsletter-signup__note--proof'>
<Users size={16} strokeWidth={2.5} aria-hidden='true' />
{proof}
</p>
) : null}
</div>
) : null}
</div>
</div>
</div>
</div>
</div>
</section>
);
}
export default NewsletterSignup;
const DEFAULT_QUESTIONS: NewsletterQuestion[] = [
{
question: 'What lands in my inbox?',
answers: [
'One idea you can put to work on your funnel this week.',
'One headline, rewritten, with the thinking behind the change.',
'One question to answer before you hit publish.',
],
},
{
question: 'How often will you email me?',
answers: ['Once a week, on Tuesday morning.', 'No daily blasts. No surprise sequences.'],
punch: 'Simple.',
},
{
question: 'What if it stops being useful?',
answers: ['Click unsubscribe at the bottom of any email.'],
punch: 'Gone.',
},
];
const EMAIL_PATTERN = /^[^@ ]+@[^@ ]+[.][^@ .]{2,}$/;
const useIsoLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
function join(...parts: Array<string | false | null | undefined>) {
return parts.filter(Boolean).join(' ');
}
function markPhrase(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='cf-newsletter-signup__mark'>{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
function fillCount(template: string, count: string) {
const [before, ...rest] = template.split('{count}');
if (!rest.length) return template;
return (
<>
{before}
<strong>{count}</strong>
{rest.join(count)}
</>
);
}
const CSS = `
.cf-newsletter-signup{box-sizing:border-box;width:100%;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px);--cf-ns-marker:color-mix(in oklch,var(--marker,#fae37c) 78%,transparent);--cf-ns-shadow:var(--shadow,oklch(0.22 0.03 260));}
.cf-newsletter-signup *,.cf-newsletter-signup *::before,.cf-newsletter-signup *::after{box-sizing:border-box}
.cf-newsletter-signup__inner{max-width:1120px;margin:0 auto}
.cf-newsletter-signup__head{max-width:46rem}
.cf-newsletter-signup__title{margin:0;font-family:var(--font-display);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);color:var(--ink);text-wrap:balance}
.cf-newsletter-signup__mark{background-image:linear-gradient(transparent 50%,var(--cf-ns-marker) 50%,var(--cf-ns-marker) 92%,transparent 92%);border-radius:.14em .3em .2em .34em;padding:0 .08em;margin:0 -.02em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-newsletter-signup__lead{margin:16px 0 0;max-width:60ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-newsletter-signup__byline{display:flex;align-items:center;gap:12px;margin-top:24px}
.cf-newsletter-signup__avatar{display:block;flex:none;width:56px;height:56px;border-radius:12px;object-fit:cover;object-position:50% 25%}
.cf-newsletter-signup__byline-text{margin:0;display:grid;gap:2px;min-width:0}
.cf-newsletter-signup__byline-text strong{font-size:1.0625rem;line-height:1.3;font-weight:700;color:var(--ink)}
.cf-newsletter-signup__byline-text span{font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted)}
.cf-newsletter-signup__interview{margin-top:clamp(24px,4vw,40px)}
.cf-newsletter-signup__row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,72px);align-items:baseline;padding-block:clamp(24px,3vw,32px)}
.cf-newsletter-signup__row--final{padding-top:clamp(32px,4vw,48px)}
.cf-newsletter-signup__row+.cf-newsletter-signup__row{border-top:1px solid oklch(from var(--ink) l c h / .12)}
.cf-newsletter-signup__row:last-child{padding-bottom:0}
.cf-newsletter-signup__q{margin:0;font-family:var(--font-display);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);color:var(--ink);text-wrap:balance}
.cf-newsletter-signup__a{display:grid;gap:8px;min-width:0}
.cf-newsletter-signup__a>p{margin:0;max-width:60ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-newsletter-signup__a>p.cf-newsletter-signup__punch{margin-top:4px;font-family:var(--font-display);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;font-weight:var(--display-weight,800);letter-spacing:-0.01em}
.cf-newsletter-signup__card{background:var(--card);color:var(--ink);border:1px solid color-mix(in oklch,var(--accent-fill,var(--accent)) 30%,var(--card));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / .22),0 12px 24px -8px oklch(0.22 0.03 260 / .32)));padding:clamp(20px,3vw,32px);transition:border-color .16s ease}
.cf-newsletter-signup__card:focus-within{border-color:color-mix(in oklch,var(--accent) 55%,var(--card))}
.cf-newsletter-signup__form{margin:0}
.cf-newsletter-signup__instruction{margin:0 0 16px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;font-weight:600;color:var(--ink);text-wrap:pretty}
.cf-newsletter-signup__label{display:block;margin:0 0 8px;font-size:1.0625rem;line-height:1.3;font-weight:700;color:var(--label-ink,var(--ink))}
.cf-newsletter-signup__fieldrow{display:flex;flex-wrap:wrap;gap:12px}
.cf-newsletter-signup__field{position:relative;flex:999 1 15rem;min-width:0}
.cf-newsletter-signup__field-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:color-mix(in oklch,var(--field-ink) 60%,var(--field));pointer-events:none}
.cf-newsletter-signup__input{display:block;width:100%;height:56px;margin:0;padding:0 16px 0 48px;font-family:var(--font-body);font-size:1.0625rem;line-height:1.2;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));box-shadow:inset 0 1px 2px oklch(from var(--cf-ns-shadow) l c h / .08);-webkit-appearance:none;appearance:none;transition:border-color .16s ease,box-shadow .16s ease}
.cf-newsletter-signup__input::placeholder{color:color-mix(in oklch,var(--field-ink) 65%,var(--field));opacity:1}
.cf-newsletter-signup__input:hover:not(:disabled){border-color:color-mix(in oklch,var(--field-ink) 40%,var(--field))}
.cf-newsletter-signup__input: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-newsletter-signup__input[aria-invalid='true']{border-color:var(--danger)}
.cf-newsletter-signup__input[aria-invalid='true']:focus{box-shadow:0 0 0 3px oklch(from var(--danger) l c h / .3)}
.cf-newsletter-signup__input:disabled{cursor:not-allowed;background:color-mix(in oklch,var(--field-ink) 6%,var(--field))}
.cf-newsletter-signup__button{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;margin:0;padding:0 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));font-family:var(--button-font,var(--font-display));font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;font-weight:var(--button-weight,800);letter-spacing:-0.005em;text-transform:var(--button-case,none);white-space:nowrap;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(--cf-ns-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--cf-ns-shadow) l c h / .42));cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-newsletter-signup__button svg{flex:none}
.cf-newsletter-signup__button:not(:disabled):hover,.cf-newsletter-signup__button.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: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(--cf-ns-shadow) l c h / .34),0 10px 18px -6px oklch(from var(--cf-ns-shadow) l c h / .52)}
.cf-newsletter-signup__button:not(:disabled):active,.cf-newsletter-signup__button.is-active:not(:disabled){transform:translateY(1px);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 - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - .22) c h / .5),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--cf-ns-shadow) l c h / .3)}
.cf-newsletter-signup__button:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-newsletter-signup__button.is-pending{cursor:progress}
.cf-newsletter-signup__button:disabled{cursor:not-allowed;color:var(--button-2-ink,var(--secondary-ink));text-shadow:none;background:var(--button-2-bg,var(--secondary));box-shadow:var(--button-2-shadow, var(--shadow-sm));transform:none}
.cf-newsletter-signup__error{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--danger);text-wrap:pretty}
.cf-newsletter-signup__error svg,.cf-newsletter-signup__note svg{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em}
.cf-newsletter-signup__notes{display:grid;gap:8px;margin-top:16px}
.cf-newsletter-signup__note{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-newsletter-signup__note--proof svg{color:var(--accent)}
.cf-newsletter-signup__note--proof strong{font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
@media (max-width:860px){.cf-newsletter-signup__row{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.cf-newsletter-signup__row--final{gap:16px}}
@media (prefers-reduced-motion:no-preference){.cf-newsletter-signup[data-reveal='wait'] :is(.cf-newsletter-signup__head,.cf-newsletter-signup__row){opacity:.82;transform:translateY(8px)}.cf-newsletter-signup[data-reveal='in'] :is(.cf-newsletter-signup__head,.cf-newsletter-signup__row){animation:cf-ns-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:min(calc(var(--i,0) * .07s),.28s)}.cf-newsletter-signup__spin{animation:cf-ns-spin .8s linear infinite}}
@keyframes cf-ns-rise{from{opacity:.82;transform:translateY(8px)}}
@keyframes cf-ns-spin{to{transform:rotate(360deg)}}
`;
pieces/forms/newsletter-signup/specimen.tsx 27 lines
import __studioImage48e21e7a from "../assets/31934e7f2f72a553.webp";
import * as React from 'react';
import { NewsletterSignup } from '../newsletter-signup';
import defaults from '../../studio-defaults.json';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled', 'error'];
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled' | 'error';
export default function NewsletterSignupSpecimen({ state = 'default' }: { state?: SpecimenState }) {
const sample = defaults.sample;
return (
<NewsletterSignup
state={state}
headline='Get one funnel fix in your inbox every Tuesday'
highlight='one funnel fix'
lead={'Short notes on offers, page copy and follow-up from the makers of ' + sample.name + '. Five minutes to read. Ready to use the same day.'}
authorName='Maya Chen'
authorRole='Editor, Funnel Starter Notes'
presenterImage={slot('presenter', __studioImage48e21e7a)}
presenterAlt='Maya Chen, editor of Funnel Starter Notes'
privacy={sample.registration.privacy}
subscriberCount='12,400'
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalNewsletterSignup |
string |
Default 'Get one funnel fix in your inbox every Tuesday'
|
highlight OptionalNewsletterSignup |
string |
Default 'one funnel fix'
|
lead OptionalNewsletterSignup |
string |
Default 'Short, practical notes on offers, page copy and follow-up. Five minutes to read. Ready to use the same day.'
|
authorName OptionalNewsletterSignup |
string |
Default ''
|
authorRole OptionalNewsletterSignup |
string |
Default ''
|
presenterImage OptionalNewsletterSignup |
string |
Default ''
|
presenterAlt OptionalNewsletterSignup |
string |
Default ''
|
questions OptionalNewsletterSignup |
NewsletterQuestion[] |
Default DEFAULT_QUESTIONS
|
finalQuestion OptionalNewsletterSignup |
string |
Default 'How do I get the next one?'
|
instruction OptionalNewsletterSignup |
string |
Default 'Type your email address, then click the button below to get the next issue.'
|
emailLabel OptionalNewsletterSignup |
string |
Default 'Email address'
|
emailPlaceholder OptionalNewsletterSignup |
string |
Default 'you@example.com'
|
buttonLabel OptionalNewsletterSignup |
string |
Default 'Count Me In'
|
busyLabel OptionalNewsletterSignup |
string |
Default 'Signing you up…'
|
privacy OptionalNewsletterSignup |
string |
Default 'We respect your inbox. Unsubscribe anytime.'
|
subscriberCount OptionalNewsletterSignup |
string |
Default ''
|
proofTemplate OptionalNewsletterSignup |
string |
Default 'Join {count} readers already on the list.'
|
requiredError OptionalNewsletterSignup |
string |
Default 'Enter your email address so we know where to send it.'
|
invalidError OptionalNewsletterSignup |
string |
Default 'That email looks incomplete. Check it and try again.'
|
defaultEmail OptionalNewsletterSignup |
string |
Default ''
|
disabled OptionalNewsletterSignup |
boolean |
Default false
|
onSubmit OptionalNewsletterSignup |
(values: { email: string }) => void | Promise<unknown> |
|
state OptionalNewsletterSignup |
'default' | 'hover' | 'active' | 'disabled' | 'error' |
Default 'default'
|
className OptionalNewsletterSignup |
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-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.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter- A photo of the host, coach or founder.
-
31934e7f2f72a553.webp
image/webp · 119 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB