Layout · Group

Group

Inline cluster of children. Supports grow (equal-width children) and attached (edge-merged children).

Default

Attached (segmented control)

Grow (equal widths)

Props

Prop Default Notes
direction 'row' row · column
grow false children get flex: 1 1 0
attached false collapses inner radii + overlaps 1px to merge borders
gap 0 if attached defaults to 0 when attached is on
… plus FlexProps minus wrap

Reference