Component libraryNewsletter signup
Newsletter signup
ProA native newsletter email block with consumer-owned submission, status, consent, and delivery behavior.
npx shadcn@latest add @tidal-pro/newsletter-signupInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/newsletter-signup.css, components/ui/form-field.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
title required. Native form attributes/ref are forwarded, including action, method, target, noValidate, onSubmit, and onReset. Optional description, eyebrow, headingLevel, email label/description/error, native emailInputProps, emailRef, consumer-owned idle/pending/error/success status and statusMessage, focusable error statusRef, native status action attributes/ref/callback, submit labels/ref and native submitButtonProps including formAction/formMethod/formTarget/name/value, consent ReactNode, and footer ReactNode. Email uses the form-field registry dependency with fixed type=email, default name=email, autocomplete=email, and required=true unless overridden. Pending only marks aria-busy and disables the submitter. The component performs no request, storage, logging, subscription, consent decision, or backend validation.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.