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

Marketing Section

Marketing Sections

Marketing Section React block for Tailwind CSS v4

Marketing HeaderNewsletter Section
Live props
Content
eyebrow
title
description
Layout
align
width
spacing
Appearance
background
divider
headingSize
Behavior
headingAs
Code
import { MarketingSection } from "@/components/blocks/marketing-section"

<MarketingSection />
  1. Home
  2. Components
  3. Marketing Sections
  4. Marketing Section
Free

Marketing Section React block for Tailwind CSS v4

v1.1.0·Updated in 1.9.0

The React marketing section frame every section sits in: an eyebrow, a title and a description on one shared scale, plus the page backdrop and a newsletter form.

A section is static: an eyebrow, a title (h2 by default, h1 for a page's first section), a description and actions, then your content under it. The column widths, paddings and type sizes are the ones every section and template uses, so pages built from parts line up. Wrap a page in PageBackdrop to give it a main background and a band look: sections with background muted then alternate with the page in that look, and the cards inside them are lifted above the band. The newsletter form checks the address when you submit, shows the error under the field, spins while onSubscribe runs and swaps itself for a confirmation; Enter submits.

Marketing Section is a free 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 marketing-section, together with Button, Input, Motion presets, Tones and UIProvider and the npm packages motion and lucide-react.

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 marketing-section

Usage

Import MarketingSection from @/components/blocks/marketing-section.

import { Button } from "@/components/ui/button"
import { MarketingSection, NewsletterForm, PageBackdrop } from "@/components/blocks/marketing-section"

export function Page() {
  return (
    <PageBackdrop background="aurora" bandBackground="tinted" className="min-h-dvh text-foreground">
      <MarketingSection title="Everything your team needs" />
      <MarketingSection title="Loved by teams" background="muted" />
    </PageBackdrop>
  )
}

export function Newsletter() {
  return (
    <MarketingSection
      eyebrow="Newsletter"
      title="Product notes, once a month"
      description="What shipped, what is next and one thing we learned."
      width="sm"
      background="muted"
    >
      <NewsletterForm
        note="No spam. Unsubscribe in one click."
        onSubscribe={(email) => fetch("/api/subscribe", { method: "POST", body: JSON.stringify({ email }) })}
      />
    </MarketingSection>
  )
}

export function Intro() {
  return (
    <MarketingSection
      title="Everything your team needs"
      actions={<Button size="lg">Get started</Button>}
    />
  )
}

Props

  • eyebrowdefault "Why Acme"
    ReactNode

    The small uppercase line over the title.

  • titledefault "Everything your team needs, nothing it doesn't"
    ReactNode

    The section title; it balances over two lines and caps at 22 characters per line.

  • descriptiondefault "Plan the work, write it down and ship it, in one calm workspace that stays fast at 10 or 10,000 tasks."
    ReactNode

    The muted paragraph under the title.

  • actions
    ReactNode

    Buttons under the description; they stack full width on phones.

  • children
    ReactNode

    The section's content, placed under the heading.

  • aligndefault "center"
    "start" | "center"

    Where the heading sits.

  • widthdefault "lg"
    "sm" | "md" | "lg" | "xl"

    The column: sm 720px (reading), md 960px, lg 1200px (the page width), xl 1400px.

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

    Vertical padding: sm 40 / 56px, md 56 / 96px, lg 80 / 128px (phone / desktop).

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

    muted makes the section a band, the secondary background: in the look its PageBackdrop sets (muted gray, tinted, gradient or dots), muted gray without one. A band is opaque and lifts surface and card fills one step above itself, so cards, fields and tiles inside never share its color.

  • dividerdefault false
    boolean

    A hairline above the section.

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

    md for sections (26 / 36px titles), lg for a page's first heading (34 / 56px).

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

    The title element.

  • id
    string

    The anchor; the title gets <id>-title and labels the section.

  • className
    string

    Classes for the <section>.

  • classNames
    Partial<Record<MarketingSectionSlot, string>>

    Classes for container, heading, eyebrow, title, description, actions and content.

Parts

  • SectionHeading

    component

    The heading on its own (eyebrow, title, description, actions), for a hero or a card. Takes div props.

    • eyebrow
      ReactNode

      The small uppercase line.

    • title
      ReactNode

      The title.

    • description
      ReactNode

      The muted paragraph.

    • actions
      ReactNode

      Buttons under it.

    • aligndefault "center"
      "start" | "center"

      Text alignment.

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

      Section or page scale.

    • asdefault "h2"
      "h1" | "h2" | "h3"

      The title element.

    • titleId
      string

      id of the title, for aria-labelledby.

    • classNames
      Partial<Record<"eyebrow" | "title" | "description" | "actions", string>>

      Classes for the parts.

  • NewsletterForm

    component

    An email field and a Subscribe button that validates, spins and confirms. Takes form props.

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

      Called with a valid address; a rejection shows labels.failed. Without it the form waits 900 ms and succeeds.

    • layoutdefault "inline"
      "inline" | "stacked"

      One row from 640px, or always stacked.

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

      Field and button height.

    • tonedefault "neutral"
      Tone

      The button.

    • note
      ReactNode

      A line under the form, the privacy promise.

    • labels
      Partial<NewsletterFormLabels>

      email, placeholder, submit, success, invalid, failed.

  • PageBackdrop

    component

    The root of a page: the main background (a tinted base plus a decoration over the first screen) and the band look of every background="muted" section inside. Takes div props.

    • backgrounddefault "glow"
      "plain" | "soft" | "glow" | "aurora" | "grid" | "dots"

      plain is the bare page color; the others tint the page with a few percent of backgroundColor (dark pages become a deep tinted black) and add a glow, an aurora, a grid or dots over the first screen.

    • backgroundColordefault "oklch(0.62 0.14 275)"
      string

      The tint and glow color of the main background, any CSS color.

    • bandBackgrounddefault "muted"
      "muted" | "tinted" | "gradient" | "dots"

      The secondary background, used by every background="muted" section inside.

    • bandColor
      string

      The tint of tinted and gradient bands; defaults to backgroundColor.

    • classNames
      Partial<Record<"layer", string>>

      Classes for the decoration layer.

  • bandClasses

    function

    bandClasses(band?) returns the classes of a band (muted by default), for a custom section that is not a MarketingSection: the opaque fill plus the lifted surface and card tokens. Pair with bandStyle(color) for tinted and gradient bands.

  • bandStyle

    function

    bandStyle(color?) returns the style that sets a band's tint (--band-color), or undefined without a color.

  • useBandBackground

    hook

    The band look of the nearest PageBackdrop (muted outside one), for custom band sections: cn(bandClasses(useBandBackground()), ...).

  • usePageBackground

    hook

    The main background of the nearest PageBackdrop, or null outside one. The hero uses it to skip its own glow on a decorated page.

  • DEFAULT_BACKDROP_COLOR

    constant

    The default tint of the page and the bands: oklch(0.62 0.14 275), a calm periwinkle that reads on white and on black.

  • PageBackground

    type

    "plain" | "soft" | "glow" | "aurora" | "grid" | "dots".

  • BandBackground

    type

    "muted" | "tinted" | "gradient" | "dots".

  • PageBackdropProps

    type

    Props of PageBackdrop.

  • DEFAULT_NEWSLETTER_LABELS

    constant

    The English strings of the newsletter form.

  • MarketingSectionProps

    type

    Props of MarketingSection.

  • SectionHeadingProps

    type

    Props of SectionHeading.

  • NewsletterFormProps

    type

    Props of NewsletterForm.

Examples

Open

Page backdrop with a band

A PageBackdrop with an aurora main background and tinted bands: a plain section, then a band whose cards are lifted above it.

Open

Newsletter band

A narrow muted section with the newsletter form; try an invalid address, then a real one.

Open

Page title, start aligned

headingSize lg with an h1, as the first section of a docs or legal page.

Open

Brand call to action

The orange tone on the one hero action, the rest stays neutral.

Open

Stacked newsletter, large

The stacked layout at lg, as it sits in a sidebar or a footer.

Open

Feature section, start aligned

A security section on a pricing page: start-aligned heading, a ghost link action and three points under it.

Dependencies

motionlucide-reactbuttoninputmotiontonesui-config

Files

  • components/blocks/marketing-section.tsx

FAQ

Is the React Marketing Section block free?

Yes. The source is free and needs no account: copy it from the Code tab or install it with the CLI.

How do I install Marketing Section?

Run npx wingo-ui@latest add marketing-section. It also adds the Wingo UI items it builds on (Button, Input, Motion presets, Tones and UIProvider) and the npm packages motion and lucide-react. With shadcn, run npx shadcn@latest add https://wingo-ui.com/r/marketing-section.json.

See also

Marketing HeaderMarketing FooterHero SectionCTA SectionNewsletter SectionPricing Page

Used in

Login PageApp Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterNewsletter Section

and 68 more.

More React marketing sections

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

New components by email

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

PreviousMarketing HeaderNext Newsletter Section