sigilUI

Newsletter Section

Centered email signup form with customizable title, description, and submit handler.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { NewsletterSection } from "@sigil-ui/components";

Usage

<NewsletterSection title="Follow new releases" description="Component additions and design-system updates." placeholder="you@example.com" buttonLabel="Subscribe" />

Custom labels

<NewsletterSection
  title="Join the waitlist"
  description="Be the first to know when we launch."
  placeholder="Enter your email"
  buttonLabel="Join"
  onSubmit={handleWaitlist}
/>

Props

PropTypeDefaultDescription
titlestring"Stay updated"Heading text
descriptionstring"Get the latest news delivered to your inbox."Supporting text
placeholderstring"you@example.com"Input placeholder
buttonLabelstring"Subscribe"Submit button text
onSubmit(email: string) => void—Callback with the email value
classNamestring—Additional CSS classes

Plus all standard <section> HTML attributes.