Group
Horizontal flex layout. Stock Mantine Group, with one change: the default
gap is the design system's sm step, not Mantine's own md.
Usage
Element A
Element B
Element C
gap
React
<Group gap="sm">
{/* ... */}
</Group>
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, justify, wrap and preventGrowOverflow are unchanged. |
Accessibility
Group renders a plain <div> and carries no semantics of its own. Its
default wrap: 'wrap' lets children reflow onto new lines as the row narrows
— that reflow is visual only, so the underlying DOM order (and therefore tab
order) stays exactly what it was before the wrap.