HeroRenderer
stableRoutes 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
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| page | PageData | — | Required | Full page data object; the hero field is extracted internally |
| locale | enum | — | Required | BCP 47 locale string used for localizing hero content |