Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Marketing Sections

Newsletter Section

Marketing Sections

Newsletter Section React block for Tailwind CSS v4

Marketing SectionPricing Section
Live props
Content
eyebrow
title
description
subscribers
privacyHref
headingAs
locale
Layout
layout
showBullets
showProof
showIssue
showNote
spacing
Appearance
size
tone
background
headingSize
Code
import { NewsletterSection } from "@/components/blocks/newsletter-section"

<NewsletterSection />
  1. Home
  2. Components
  3. Marketing Sections
  4. Newsletter Section
Pro

Newsletter Section React block for Tailwind CSS v4

v1.0.0·Added in 1.7.0

A React newsletter signup section for marketing pages: centered, split with the latest issue, a raised card or one compact row.

Type an email and press Subscribe or Enter. An invalid address shows an error under the field; a valid one turns the button into a spinner until onSubscribe settles (or 900 ms without it), then the form gives way to an inline success line and the reader count grows by one ("You and 12,400 others"). A rejected promise shows a retry message. The privacy line links to the privacy policy. On phones the field and button stack at full width with 44px targets. In the split layout the latest issue is one link card with a focus ring; the card layout puts the form in a raised card on a gray band with the benefits beside it; the inline layout fits icon, copy and form on one row from 1024px.

Newsletter Section is a Pro React block in the React marketing sections category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add newsletter-section, together with Marketing Section, Avatar, Navigation, Tones and UIProvider and the npm package lucide-react.

Built with

The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.

  • Marketing Sectionmarketing-section

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add newsletter-section

Newsletter Section is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans or unlock it free with an account

Usage

Import NewsletterSection from @/components/blocks/newsletter-section.

// app/(marketing)/page.tsx
"use client"

import Link from "next/link"
import { NewsletterSection } from "@/components/blocks/newsletter-section"

export default function Home() {
  return (
    <NewsletterSection
      layout="split"
      subscribers={12400}
      onSubscribe={async (email) => {
        const res = await fetch("/api/newsletter", { method: "POST", body: JSON.stringify({ email }) })
        if (!res.ok) throw new Error("Subscribe failed")
      }}
      linkComponent={Link}
    />
  )
}

Props

  • eyebrowdefault "Newsletter"
    ReactNode

    The small uppercase line over the title (not in the inline layout).

  • titledefault "Product notes, once a month"
    ReactNode

    The section title.

  • descriptiondefault "What we shipped, what we learned and how teams run their week in Acme. Five minutes to read."
    ReactNode

    The muted paragraph under the title.

  • layoutdefault "centered"
    "centered" | "split" | "card" | "inline"

    centered: heading, form and reader count in one column with the benefits in three columns below; split: copy and benefits left, the latest issue and the form in a panel right; card: a raised card on a muted band with the benefits in an inner panel; inline: icon, copy and form in one compact row.

  • bulletsdefault "NEWSLETTER_SECTION_SAMPLE"
    NewsletterBullet[]

    { icon?, title, description? } "what you get" points.

  • showBulletsdefault true
    boolean

    The "what you get" points (the inline layout never shows them).

  • subscribersdefault 12400
    number

    The reader count in the social proof line; 0 hides it.

  • avatarsdefault "NEWSLETTER_SECTION_AVATARS"
    string[]

    Names drawn as stacked initials next to the count (up to four).

  • showProofdefault true
    boolean

    The stacked avatars and reader count.

  • issuedefault "NEWSLETTER_SECTION_ISSUE"
    NewsletterIssue

    { title, excerpt?, date?, href? }: the latest issue, drawn as an email preview in the split layout.

  • showIssuedefault true
    boolean

    The latest issue card in the split layout.

  • showNotedefault true
    boolean

    The privacy line under the form.

  • privacyHrefdefault "/legal/privacy"
    string

    Where the privacy policy link goes.

  • onSubscribe
    (email: string) => (void | Promise<unknown>)

    Runs with the trimmed email. A returned promise keeps the button loading, a rejection shows labels.failed; without it the form waits 900 ms and succeeds.

  • sizedefault "lg"
    "md" | "lg"

    The field and button height: 40 or 48px (44px minimum on touch).

  • tonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The Subscribe button and the icon tiles.

  • backgrounddefault "auto"
    "auto" | "none" | "muted"

    The band behind the section; auto is muted for the card layout and none for the others.

  • headingSizedefault "md"
    "md" | "lg"

    lg when the section opens the page (a newsletter page); the inline layout keeps its compact title.

  • headingAsdefault "h2"
    "h1" | "h2" | "h3"

    The title element.

  • spacingdefault "md"
    "none" | "sm" | "md" | "lg"

    Vertical padding, from MarketingSection.

  • localedefault "en-US"
    string

    Intl locale for the reader count and the issue date; default the UIProvider's locale, then en-US.

  • linkComponentdefault ""a""
    (props: LinkComponentProps) => ReactNode

    The router link (or "a") for the privacy and issue links; default the LinkProvider's.

  • labels
    Partial<NewsletterSectionLabels>

    email, placeholder, submit, success, invalid, failed, note ({privacy}), privacy, proof ({count}), joined ({count}), readers, bulletsTitle, issueLabel, issueFrom, readIssue.

  • className
    string

    Classes for the <section>.

  • classNames
    Partial<Record<NewsletterSectionSlot, string>>

    Classes for heading, card, panel, icon, form, note, proof, bullets, bullet and issue.

Parts

  • NEWSLETTER_SECTION_SAMPLE

    constant

    Three sample benefits: one email a month, early access, playbooks from real teams.

  • NEWSLETTER_SECTION_ISSUE

    constant

    The sample latest issue, "How Northwind cut planning time in half" (Oct 1, 2026).

  • NEWSLETTER_SECTION_AVATARS

    constant

    Four sample reader names for the stacked avatars.

  • DEFAULT_NEWSLETTER_SECTION_LABELS

    constant

    The English strings, including the form's.

  • NewsletterBullet

    type

    { icon?, title, description? }.

  • NewsletterIssue

    type

    { title, excerpt?, date?, href? }.

  • NewsletterSectionLayout

    type

    "centered" | "split" | "card" | "inline".

  • NewsletterSectionProps

    type

    Props of NewsletterSection.

Examples

Open

Split, with the latest issue

Copy and benefits on the left; an email preview of the last issue and the form on the right.

Open

Raised card on a gray band

The form in a card, the benefits and reader count in an inner panel. Addresses at example.com fail, to show the retry message.

Open

One compact row

Icon, copy, reader count and form on one line from 1024px, for the end of a blog post.

Open

Centered, brand tone

The default layout with the brand button, no avatars and a custom count line.

Open

Developer digest with the latest issue

The split layout for an engineering blog: custom benefits, the last issue as an email preview and a muted band.

Open

Release notes first

Breaking changes and deprecations a week before they ship.

Open

Working code

Every deep dive ends with a sample you can run.

Open

Open source picks

Three libraries the team used that month.

Open

Webhooks v2: retries, signatures and replay

Dependencies

lucide-reactmarketing-sectionavatarnavigationtonesui-config

Files

  • components/blocks/newsletter-section.tsx

FAQ

Is the React Newsletter Section block free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Newsletter Section?

Run npx wingo-ui@latest add newsletter-section. It also adds the Wingo UI items it builds on (Marketing Section, Avatar, Navigation, Tones and UIProvider) and the npm package lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/newsletter-section.

How does Newsletter Section behave on phones?

On phones the field and button stack at full width with 44px targets.

See also

Marketing SectionCTA SectionMarketing FooterAvatarInput

Used in

Storefront Page

More React marketing sections

Pricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline Section
All 20 React marketing sections

Articles using this component

  • Changelog Page Template in React: RSS, Email, Permalinks

    Build it: screens and apps · Nov 6, 2026 · 10 min read

New components by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

PreviousMarketing SectionNext Pricing Section