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 Header

Marketing Sections

Marketing Header React block for Tailwind CSS v4

Marketing FooterMarketing Section
Live props
Content
announcement
announcementHref
State
currentPath
Layout
layout
width
Appearance
variant
bordered
indicator
ctaTone
Behavior
sticky
skipTo
Code
import { MarketingHeader } from "@/components/blocks/marketing-header"

<MarketingHeader />
  1. Home
  2. Components
  3. Marketing Sections
  4. Marketing Header
Free

Marketing Header React block for Tailwind CSS v4

v1.0.0·Added in 1.6.0

A React marketing header for a SaaS site: a sticky navbar with logo, dropdown panels, Sign in, Get started, a news strip and a phone menu.

The bar sticks to the top and blurs the page under it. Hover or focus Product, Solutions or Resources and one shared panel morphs between their link lists (with a featured card); Escape closes it and arrow keys move between the links. The link for the current page is marked. Tab starts with a Skip to content link. The announcement strip above the bar is one link. Below 1024px the links fold into a menu button that opens a bottom sheet with every link, the panels as groups, and Sign in and Get started as full-width buttons; drag it down, tap outside or press Escape to close.

Marketing Header 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-header, together with Button, Nav Menu, Navigation, Tones and UIProvider and the npm package 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-header

Usage

Import MarketingHeader from @/components/blocks/marketing-header.

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

import Link from "next/link"
import { usePathname } from "next/navigation"
import { MarketingHeader } from "@/components/blocks/marketing-header"
import { MarketingFooter } from "@/components/blocks/marketing-footer"

export default function MarketingLayout({ children }: { children: React.ReactNode }) {
  return (
    <>
      <MarketingHeader
        linkComponent={Link}
        currentPath={usePathname()}
        announcement="Acme 3.0 is here: timelines and AI summaries"
        announcementHref="/changelog"
      />
      <main id="main">{children}</main>
      <MarketingFooter linkComponent={Link} />
    </>
  )
}

Props

  • itemsdefault "MARKETING_NAV"
    NavMenuItem[]

    The links; an item with items opens a dropdown panel (icons, descriptions, columns, a featured card).

  • logodefault "<MarketingLogo />"
    ReactNode

    Replaces the sample brand; it links to hrefs.home.

  • actions
    ReactNode

    Replaces Sign in and Get started (in the bar and in the phone menu).

  • mobileActions
    ReactNode

    Replaces actions in the phone menu, where they stack full width.

  • announcementdefault ""
    ReactNode

    A strip above the bar for launch news; a link when announcementHref is set.

  • announcementHrefdefault "/changelog"
    string

    Where the announcement links to; empty for plain text.

  • currentPathdefault ""
    string

    The current pathname, so its link is marked; default the LinkProvider's.

  • layoutdefault "default"
    "default" | "centered" | "pill"

    default is a full-width bar; centered puts the links on the left, the logo in the middle and the actions on the right; pill floats a rounded bar inset from the edges. Phones keep the bar with the menu sheet in every layout.

  • variantdefault "glass"
    "glass" | "solid" | "transparent"

    glass blurs the page under the sticky bar, solid is opaque, transparent sits on a hero (the pill layout keeps a light blur so its links stay readable).

  • stickydefault true
    boolean

    Sticks to the top while the page scrolls.

  • bordereddefault true
    boolean

    A hairline under the bar.

  • widthdefault "lg"
    "lg" | "xl"

    The content width: lg 1200px (like MarketingSection), xl 1400px.

  • indicatordefault "pill"
    "pill" | "underline" | "none"

    The highlight that slides between the links.

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

    The Get started button; brand is the marketing orange.

  • skipTodefault "main"
    string

    The id the Skip to content link jumps to; an empty string removes the link.

  • modaldefault true
    boolean

    The phone menu traps focus and locks the page; false for inline previews.

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

    The router link for every link (next/link in an app); default the LinkProvider's.

  • labels
    Partial<MarketingHeaderLabels>

    brand, home, signIn, getStarted, skipLink and the menu's aria labels.

  • hrefs
    Partial<MarketingHeaderHrefs>

    home, signIn and signUp.

  • className
    string

    Classes for the <header>.

  • classNames
    Partial<Record<MarketingHeaderSlot, string>>

    Classes for announcement, bar, container, logo and actions.

Parts

  • MarketingLogo

    component

    The sample brand: a mark on the neutral fill and the name. Takes span props.

    • namedefault "Acme"
      ReactNode

      The wordmark.

    • mark
      ReactNode

      Replaces the mountain glyph.

  • MarketingHeaderLayout

    type

    "default" | "centered" | "pill".

  • MARKETING_NAV

    constant

    The sample navigation: Product and Resources panels, Solutions, Pricing, Customers, Contact.

  • DEFAULT_MARKETING_HEADER_LABELS

    constant

    The English strings.

  • MarketingHeaderProps

    type

    Props of MarketingHeader.

Examples

Open

Launch announcement, brand action

The strip links to the changelog; Get started takes the marketing orange.

Open

Your own brand and links

A custom logo, three plain links and one action.

Open

Solid, wide

An opaque bar at 1400px, for content-heavy sites.

Open

Centered logo

Links on the left, the logo in the middle and the actions on the right; phones keep the menu sheet.

Open

Floating pill

A rounded glass bar inset from the edges, under the launch announcement.

Dependencies

lucide-reactbuttonnav-menunavigationtonesui-config

Files

  • components/blocks/marketing-header.tsx

FAQ

Is the React Marketing Header 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 Header?

Run npx wingo-ui@latest add marketing-header. It also adds the Wingo UI items it builds on (Button, Nav Menu, Navigation, Tones and UIProvider) and the npm package lucide-react. With shadcn, run npx shadcn@latest add https://wingo-ui.com/r/marketing-header.json.

How does Marketing Header behave on phones?

Below 1024px the links fold into a menu button that opens a bottom sheet with every link, the panels as groups, and Sign in and Get started as full-width buttons; drag it down, tap outside or press Escape to close.

See also

Nav MenuMarketing FooterMarketing SectionNavigationlib

Used in

Marketing FooterAbout PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers Page

and 47 more.

More React marketing sections

Newsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials Section
All 20 React marketing sections

Articles using this component

  • SaaS Website Template: The 7 Pages Beyond the Home Page

    Build it: screens and apps · Nov 5, 2026 · 20 min read

  • Shadcn Navbar: Mega Menu, Mobile Menu, Sticky Header

    Build it: screens and apps · Nov 5, 2026 · 9 min read

New components by email

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

PreviousMarketing FooterNext Marketing Section