sigilUI

Newsletter Section

Invite readers to subscribe with an email form.

@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" />

Props

PropTypeDefaultDescription
titlestring—Heading displayed in the component.
descriptionstring—Supporting text below the heading.
placeholderstring—Hint shown before a value is entered.
buttonLabelstring—Button Label configuration.
onSubmit(email: string) => void—Called when the form is submitted.

Token integration

CSS VariablePurpose
--s-section-pySection py
--s-page-marginPage margin
--s-font-displayFont display
--s-textText
--s-text-mutedText muted
--s-radius-inputRadius input
--s-borderBorder
--s-backgroundBackground
--s-primaryPrimary
--s-radius-buttonRadius button
--s-primary-contrastPrimary contrast
--s-duration-fastDuration fast