Behive Tech Registry

Hero Banner

v0.7.0

TODO: Add component description.

pnpm add @behivetech/organisms.hero-banner

TODO: Add component description.

Usage

Props

PropTypeDefaultDescription
childrenReactNode—Component content
classNamestring—Additional class names

Compositions

Open all 2 →

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