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

This is the snapshot of v0.8.4, the current version, as recorded on 2026-11-10. The live page runs its examples →

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