Skip to content
GetUrUI

Hero Sections

5 variantsPro
.md

Five landing heroes — a drifting aurora over a live workflow run, a split hero with a clickable product demo, a terminal that installs then renders a component, a cited answer engine and a search-first marketplace with floating listings.

herolandingmarketingheadlineaurorademoterminalsearchmarketplaceaicitations

Aurora workflow

aurora-workflow.tsx

Centered hero over blurred, drifting volt and ember blobs, with a glass workflow strip whose steps run one after another.

$npx shadcn@latest add @geturui-pro/hero-sections-aurora-workflow
PropTypeDefaultDescription
eyebrowstring—Glass pill above the headline.
headlinestring—Main h1.
subcopystring—Supporting paragraph.
primaryAction{ label: string; href?: string; onClick?: () => void }—Volt button. Renders a link when href is set.
secondaryAction{ label: string; href?: string; onClick?: () => void } | null—Secondary button. null hides it.
stepsAuroraWorkflowStep[]—{ kind, title, meta, icon?: "trigger" | "ai" | "branch" | "action" }.
stepDurationnumber1300Milliseconds each step spends running.
classNamestring—Classes for the section.

Split demo

split-demo.tsx

Copy on the left and a working expense-approval inbox on the right: approve, flag or switch on an auto-approve rule until you hit inbox zero.

$npx shadcn@latest add @geturui-pro/hero-sections-split-demo
PropTypeDefaultDescription
eyebrowstring—Ember chip above the headline.
headlinestring—Main h1.
subcopystring—Supporting paragraph.
primaryAction{ label: string; href?: string; onClick?: () => void }—Volt button.
secondaryAction{ label: string; href?: string; onClick?: () => void } | null—Ghost button. null hides it.
proofstring | null—Rating line under the buttons.
expensesSplitDemoExpense[]—{ id, person, merchant, category, amount } with amount in cents.
autoApproveLimitnumber5000Cents at or under which the rule auto-approves.
classNamestring—Classes for the section.

Code demo

code-demo.tsx

A terminal types the install command and streams its output, then the installed plan card springs into a live preview you can click.

$npx shadcn@latest add @geturui-pro/hero-sections-code-demo
PropTypeDefaultDescription
eyebrowstring—Mono label above the headline.
headlinestring—Main h1.
subcopystring—Supporting paragraph.
primaryAction{ label: string; href?: string; onClick?: () => void }—Volt button.
secondaryAction{ label: string; href?: string; onClick?: () => void } | null—Outline button. null hides it.
commandstring"npx geturui add plan-card"Typed into the terminal and offered in the copy pill.
outputstring[]—Lines printed after the command, one per beat; the last is highlighted.
fileNamestring"plan-card.tsx"Shown above the preview.
typingSpeednumber45Milliseconds per typed character.
classNamestring—Classes for the section.

Centered cited

centered-cited.tsx

Answer-engine hero: a question types itself, sources load one by one, then the answer streams in with citation markers that light up their source.

$npx shadcn@latest add @geturui-pro/hero-sections-centered-cited
PropTypeDefaultDescription
eyebrowstring—Pill above the headline.
headlinestring—Main h1.
subcopystring—Supporting paragraph.
primaryAction{ label: string; href?: string; onClick?: () => void }—Button beside the example chips.
examplesCitedExample[]—{ label, question, answer: { text, cites? }[], sources: { id, title, site, snippet }[] }. The first plays on mount.
classNamestring—Classes for the section.

Marketplace

marketplace.tsx

Search-first hero with a big search bar, category chips under a sliding highlight and listing cards that float around the headline and refilter live.

$npx shadcn@latest add @geturui-pro/hero-sections-marketplace
PropTypeDefaultDescription
eyebrowstring—Line above the headline.
headlinestring—Main h1.
subcopystring—Supporting paragraph.
citystring"Lisbon"Shown in the search bar.
listingsMarketplaceListing[]—{ id, title, area, category: "photo" | "podcast" | "kitchen" | "rooftop" | "workshop", price, rating, href? }.
onSearch(query: string, category: MarketplaceCategory | "all") => void—Called when the search form is submitted.
classNamestring—Classes for the section.

Install the whole set

Installs every hero sections variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/hero-sections

Also installs: Button, Copy Button

Accessibility

  • Headlines are real h1 elements; decorative aurora, product art and floating cards are aria-hidden.
  • Interactive demos use real buttons with labels (approve, flag, billing radios, citation markers) and announce results through polite live regions.
  • Typing, looping and drifting animations stop under reduced motion and show their finished state instead.

Related