Skip to main content

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.

Base
Mantine + override
Mantine
Import
{ Group } from '@mantine/core'
Source
src/themes/theme.ts

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.

PropertyTypeAllowed valuesDefaultDescription
gapMantineSpacingxxs · xs · sm · smd · md · lg · xl · xxl · numbersmSets 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.