Stack
Vertical flex layout. Stock Mantine Stack, with one change: the default
gap is the design system's sm step, not Mantine's own md.
Usage
Rad 1
Rad 2
Rad 3
gap
React
<Stack gap="sm">
{/* ... */}
</Stack>
Props
Only what this design system changes. Everything else is Mantine's — read the full props table there.
| Property | Type | Allowed values | Default | Description |
|---|---|---|---|---|
gap | MantineSpacing | xxs · xs · sm · smd · md · lg · xl · xxl · number | sm | Sets the space between children — 8px, a step tighter than Mantine's own default. align and justify are unchanged, still stretch and flex-start. |
Accessibility
Stack renders a plain <div> and carries no semantics of its own. Its only
job is spacing, so the elements placed inside it are what need labels,
headings and roles — and their DOM order should already match the reading
order the stacking produces.