Skip to content
Confirmation state, light
Light
Confirmation state, dark
Dark

Every state

  • Confirmation state, default, light
    Confirmation state, default, dark

    default

  • Confirmation state, hover, light
    Confirmation state, hover, dark

    hover

  • Confirmation state, focus, light
    Confirmation state, focus, dark

    focus

  • Confirmation state, sending, light
    Confirmation state, sending, dark

    sending

  • Confirmation state, cooldown, light
    Confirmation state, cooldown, dark

    cooldown

  • Confirmation state, resend-error, light
    Confirmation state, resend-error, dark

    resend-error

  • Confirmation state, change, light
    Confirmation state, change, dark

    change

  • Confirmation state, change-invalid, light
    Confirmation state, change-invalid, dark

    change-invalid

  • Confirmation state, changed, light
    Confirmation state, changed, dark

    changed

  • Confirmation state, no-hint, light
    Confirmation state, no-hint, dark

    no-hint

Props

PropTypeDefaultWhat it does
idstring;"newsletter-confirm"Prefix for the ids inside.
emailstring;"maren.vos@example.com"The address the link went to.
titlestring;"Check your inbox"Title text.
sentTextstring;"We sent a link to"Before the address.
instructionstring;After the address: what to do with the email.
spamHintstring | null;Where else to look. Null: no hint.
resendLabelstring;"Send the link again"Resend label.
resendingLabelstring;"Sending…"Resending label.
cooldownLabelstring;"Send again in {time}"The button while it waits; `{time}` becomes the time left, as 0:28.
cooldownSecondsnumber;30Seconds to wait after a resend before the next one.
resentTextstring;"A new link is on its way to {email}."Said once a new link is on its way; `{email}` becomes the address.
resendErrorTextstring;"We couldn’t send it just now. Try again in a moment."Said when sending again failed.
changeLabelstring;"Change the address"Change label.
newEmailLabelstring;"New email address"New email label.
saveLabelstring;"Send to this address"Save label.
savingLabelstring;"Sending…"Saving label.
cancelLabelstring;"Cancel"Cancel label.
invalidTextstring;"Enter an email address, like name@example.com."Shown when the new address is empty or not an address.
changeErrorTextstring;"We couldn’t change it just now. Try again in a moment."Shown when changing the address failed.
resend(email: string) => Promise<void>;waitLocallySends the link again; reject (or throw) when it failed. Default: a short local wait.
changeEmail(email: string, previous: string) => Promise<void>;waitLocallyMoves the signup to a new address and sends the link there; reject when it failed. Default: a short local wait.
onEmailChange(email: string) => void;–Called with the address once it changed.
classNamestring;–Extra classes on the outer element.

More newsletter fields

All 3
newsletter-field-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans