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

Hero Section

Marketing Sections

Hero Section React block for Tailwind CSS v4

Feature ShowcaseIntegrations Section
Live props
Content
announcement
announcementHref
title
description
showMedia
socialProof
Layout
layout
width
spacing
Appearance
background
tone
ctaTone
headingAs
headingSize
Behavior
animateIn
Code
import { HeroSection } from "@/components/blocks/hero-section"

<HeroSection />
  1. Home
  2. Components
  3. Marketing Sections
  4. Hero Section
Pro

Hero Section React block for Tailwind CSS v4

v1.0.2·Updated in 1.9.0

A React hero section for a landing or product page: an announcement pill, a big title, two actions, social proof and a product shot drawn in code.

A static page header that rises in once when it mounts on the client (never during hydration, under reduced motion or with animateIn off). The announcement pill and both actions are links through your router. The default media is a browser frame with a mini Acme board drawn with tokens, so it follows the theme; it folds its sidebar, columns and chart with its own width, so it fits a split column and a 360px phone without scrolling sideways. On phones the actions stack full width and the split layout puts the media under the copy.

Hero 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 hero-section, together with Marketing Section, Avatar, Button, Motion presets, Navigation and 2 more and the npm packages motion and 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 hero-section

Hero 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 HeroSection from @/components/blocks/hero-section.

// app/(marketing)/page.tsx
import Link from "next/link"
import { HeroSection } from "@/components/blocks/hero-section"

export default function HomePage() {
  return (
    <HeroSection
      linkComponent={Link}
      layout="split"
      ctaTone="brand"
      announcement="Timelines are live"
      announcementHref="/changelog"
      hrefs={{ primary: "/sign-up", secondary: "/contact" }}
    />
  )
}

Props

  • announcementdefault "AI summaries for every doc"
    ReactNode

    The link pill above the title, after a New badge; an empty string hides it.

  • announcementHrefdefault "/changelog"
    string

    Where the pill links to.

  • titledefault "Plan, write and ship in one calm workspace"
    ReactNode

    The page title, on the shared marketing scale.

  • descriptiondefault "Acme brings your roadmap, docs and automations together, so small teams spend less time syncing and more time shipping."
    ReactNode

    The paragraph under the title.

  • actions
    ReactNode

    Replaces the primary and secondary buttons; they stack full width on phones.

  • mediadefault "<ProductMockup />"
    ReactNode

    The picture next to or under the copy (the drawn scene in media, the terminal in terminal, none by default in editorial); null hides it.

  • showMediadefault true
    boolean

    Shows the media.

  • socialProofdefault true
    boolean

    The avatars, five stars and the Loved by line under the actions; in editorial, the rule and the key facts.

  • factsdefault "HERO_SECTION_FACTS"
    HeroSectionFact[]

    The key facts ({ value, label }) under the rule in the editorial layout, up to four.

  • avatarsdefault "HERO_SECTION_AVATARS"
    string[]

    Names for the social proof avatars, drawn as initials.

  • layoutdefault "centered"
    "centered" | "split" | "stacked" | "editorial" | "media" | "terminal"

    centered: copy over a wide shot; split: copy left, media right; stacked: title and copy side by side over a wide shot; editorial: a magazine cover with huge start-aligned type, a narrow description column, plain buttons and key facts under a rule, no mockup; media: a full-width drawn workspace with the copy in a glass card at the bottom-start (under the scene on phones); terminal: copy beside a drawn terminal with a CLI install and an API call.

  • backgrounddefault "glow"
    "glow" | "grid" | "mesh" | "none"

    A soft radial light in the tone, faint grid lines that fade out, a soft multi-stop gradient mesh, or nothing. Unset, it is glow on its own (or under a plain PageBackdrop) and none inside a decorated PageBackdrop, so the hero never stacks its glow on the page's; an explicit value always wins.

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

    The glow, the New badge and the mockup's accent.

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

    The primary button; brand is the marketing orange.

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

    The title element: h1 when the hero opens the page.

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

    The title scale: lg for a page's first heading, md for a quieter header.

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

    The content width: lg 1200px, xl 1400px.

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

    Vertical padding, as in MarketingSection: sm 40 / 56px, md 56 / 96px, lg 80 / 128px.

  • animateIndefault true
    boolean

    Rises in once when mounted on the client; server markup is always final.

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

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

  • labels
    Partial<HeroSectionLabels>

    announcementBadge, primary, secondary, proof, rating, ratingLabel, people, scene and terminal (spoken descriptions of the drawn media), terminalTitle.

  • hrefs
    Partial<HeroSectionHrefs>

    primary (/sign-up) and secondary (/contact).

  • className
    string

    Classes for the <section>.

  • classNames
    Partial<Record<HeroSectionSlot, string>>

    Classes for container, background, announcement, heading, title, description, actions, proof, media, card (the glass card in media) and facts (editorial).

Parts

  • ProductMockup

    component

    The default media: a browser frame holding a mini Acme board (sidebar, task columns, a weekly chart), drawn with tokens. It folds with its own width. Takes div props.

    • urldefault "app.acme.com/roadmap"
      string

      The address in the bar.

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

      The accent of the counts, progress bars and chart.

    • label
      string

      The spoken description of the picture.

  • BrowserFrame

    component

    A window chrome (three dots and an address bar) around any children: screenshots, videos, drawn UI. Takes div props.

    • urldefault "app.acme.com"
      string

      The address in the bar.

    • classNames
      Partial<Record<"bar" | "url" | "body", string>>

      Classes for the inner parts.

  • HERO_SECTION_FACTS

    constant

    The sample key facts for the editorial layout.

  • HeroSectionFact

    type

    One key fact: value and label.

  • HERO_SECTION_AVATARS

    constant

    The sample names for the social proof avatars.

  • DEFAULT_HERO_SECTION_LABELS

    constant

    The English strings.

  • DEFAULT_HERO_SECTION_HREFS

    constant

    The default action links.

  • HeroSectionProps

    type

    Props of HeroSection.

Examples

Open

Split, brand action

Copy on the left, the product on the right, the one orange button.

Open

Stacked on a grid

Title and copy side by side over a wide product shot, on faint grid lines.

Open

Your own media and actions

Any picture in a BrowserFrame, a video button, no social proof.

Open

Copy only

No media and no background: a quiet page header for an inner page.

Open

Editorial cover

Magazine-size type aligned to the start, a narrow description column and three key facts under a rule.

Open

Copy over a drawn workspace

A full-width scene of the app with the copy in a glass card; on phones the card sits under it.

Open

Terminal for developers

Copy beside a terminal that installs the CLI and calls the API, for a developer product page.

Open

Mesh background

A soft multi-stop gradient behind the centered hero, tinted by the info tone.

Dependencies

motionlucide-reactmarketing-sectionavatarbuttonmotionnavigationtonesui-config

Files

  • components/blocks/hero-section.tsx

FAQ

Is the React Hero Section block free?

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

How do I install Hero Section?

Run npx wingo-ui@latest add hero-section. It also adds the Wingo UI items it builds on (Marketing Section, Avatar, Button, Motion presets, Navigation and 2 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/hero-section.

How does Hero Section behave on phones?

On phones the actions stack full width and the split layout puts the media under the copy.

See also

Marketing SectionMarketing HeaderHero HeaderLanding PageButtonAvatar

Used in

About PageAccessibility PageAffiliate PageAI Product PageBug Bounty PageCompare PageCustomer Story PageCustomers PageDocs Home PageFeature PageHelp Center PageIntegrations Page

and 5 more.

More React marketing sections

Integrations SectionLogo CloudMarketing FooterNewsletter SectionPricing SectionStats Section
All 20 React marketing sections

Articles using this component

  • AI SaaS Landing Page Template: The 4 Sections It Needs

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

  • Mobile App Landing Page Template: QR Code and Store Links

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

  • Shadcn Hero Section: Six Layouts That Work at 390px

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

  • Claude Code Landing Page That Does Not Look AI-Made

    Building UI with AI agents · Nov 5, 2026 · 11 min read

New components by email

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

PreviousFeature ShowcaseNext Integrations Section