HeroRenderer

stable

Routes hero types to the appropriate hero component.

Source: packages/ui/src/components/hero/index.ts

Accessibility

No accessibility audit yet. Run the a11y pipeline to generate results.

Playground

Interactive playground coming soon for this component.
tsx
import { HeroRenderer } from "@itu/ui";
 
<HeroRenderer />
3 lines of tsx code

Props

PropTypeDefaultRequiredDescription
pagePageDataRequiredFull page data object; the hero field is extracted internally
localeenumRequiredBCP 47 locale string used for localizing hero content