A full-width hero section: a background image behind a headline, subtext and call-to-action links, aligned left, centre or right.

pnpm add @behivetech/organisms.hero-banner

You are viewing Hero Banner v0.8.3, snapshotted 2026-11-09. The latest is v0.8.4. Go to the latest →

A full-width hero section: a background image behind a headline, subtext and call-to-action links, aligned left, centre or right.

Usage

1import { HeroBanner } from "@behivetech/organisms.hero-banner";
2
3<HeroBanner>Content</HeroBanner>;

Properties

HeroBanner props

PropTypeDefaultDescription
align"left" | "center" | "right"centerHorizontal alignment of the content; defaults to center
childrenReactNode—Additional content rendered after the CTA
classNamestring—Additional class names to merge with the component root element
ctaButtonsHeroBannerCta[]—Call-to-action links. When present these render instead of `ctaLabel`/`ctaHref`
ctaHrefstring—Destination URL for the call-to-action link; requires `ctaLabel` to render. Superseded by `ctaButtons`
ctaLabelstring—Label for the call-to-action link; requires `ctaHref` to render. Superseded by `ctaButtons`, kept so existing content keeps rendering
headlinestring—Main heading text
imageUrlstring—Background image URL rendered behind the content
subtextstring—Supporting text shown below the headline