Prodular UI

Hero section

Pro

The first section of a landing page: announcement, h1, lead, actions and a note, with the product beside or below it over a quiet backdrop. Parts rise in one after another.

npx prodular-ui add hero-section

Part of Prodular UI Pro. Preview and read the docs freely, install with a license. See pricing

Split hero

Text beside the media on wide screens, stacked on phones. The SaaS landing block shows the centered variant with a tilted product frame.

Close the month in days, not weeks

Relay matches every payment to its invoice and posts it to your ledger, every hour.

Works with NetSuite, QuickBooks and Xero.

Reconciled today1,284All matched, 0 to review

Anatomy

<HeroSection  announcement={<Announcement badge="New" href="/blog">...</Announcement>}  title="..."  lead="..."  actions={<Button size="lg">Start free trial</Button>}  media={<ProductFrame tilt fade>...</ProductFrame>}/>

Guidance

Use it when

  • The top of a landing page, once.
  • centered with a wide ProductFrame; split when the media is a card or an illustration.

Avoid

  • More than two actions.
  • Long leads. Two sentences at most.

Rules for AI agents

Published in llms-full.txt, the registry and the MCP server, so coding agents follow them when they build with this component.

  • Title is the promise in one sentence; lead says how in one or two.
  • Put the primary action first and a quiet secondary one second.
  • note is for reassurance like a free trial line, not features.

API

HeroSection

PropTypeDefaultDescription
variant"centered" | "split""centered"Layout.
announcement / title / lead / actions / noteReactNodeThe text parts.
mediaReactNodeThe product.
backdropBackdrop variant or "none""grid-glow"The pattern behind it.

Installation

The Prodular UI CLI adds the source to components/ui with everything it depends on. In a project that already uses shadcn/ui, the shadcn CLI installs it from the Prodular registry too. See Installation for the first setup.

npx prodular-ui add hero-section# or, with the registry in components.jsonnpx shadcn@latest add @prodular/hero-section

Used in these screens