layout
Layout primitives and section chrome: containers, stacks, rows, grids and section frames.
On this page
import { … } from '@poltura/theme-sdk/layout';
| Name | What it is |
|---|
Container | A centred box at the theme's content width, with the theme's side padding. |
Stack | Children stacked top to bottom with an even gap. |
Row | Children side by side with an even gap, optionally wrapping. |
Grid | Children in equal columns whose count can change at each breakpoint. |
SectionShell | The standard section frame: vertical rhythm, a hairline above, and a content-width container. |
SectionHeading | A section's heading with an optional subtitle; draws nothing when both are empty. |
SectionCta | A section's call-to-action button; draws nothing without a link and a label. |
PageHero | The opening band of a content page: its title, a description and optional extra content. |
Last updated