Behive Tech Component Registry

Hero Banner

v0.8.3Stable

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

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

Usage

Open in new tab

Properties

HeroBanner props

PropTypeDefaultDescription
align"center" | "right" | "left"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