GridBlockRenderer
stableRenders link grids with 8 layout variants.
Source: packages/ui/src/components/blocks/GridBlockRenderer.tsx
Accessibility
No accessibility audit yet. Run the a11y pipeline to generate results.
Playground
Interactive playground coming soon for this component.
tsx
import { GridBlockRenderer } from "@itu/ui"; <GridBlockRenderer />
3 lines of tsx code
Props
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| block | GridBlockData | — | Required | The grid block data from Payload CMS |
| locale | string | — | Required | BCP 47 locale string used for localizing content |
| renderRichText | ((data: any) => ReactNode) | — | Optional | Custom render function for rich text content |