Visually joins multiple buttons into a single connected unit.
No toggle / selection semantics — for that, use SegmentedControl.
Supports horizontal (default) and vertical orientations.
Injects data-position (first / middle / last) on each child for
CSS-side radius stripping on web.
v2 note: Middle-button corner-radius adjustment is applied via
data-position CSS selectors on web. On native, the group renders with
standard per-button radius — this will be improved in a follow-up.
The size prop is forwarded to each child Button to enforce a uniform size across
the group. Accepts the same values as Button's size prop (sm, md, lg).
Omit it to let each child Button use its own size.
Flex direction for the group.
@defaultValue 'horizontal'
size
enum
—
Size hint passed to children via `data-group-size`. Buttons inside
the group can read this to self-size consistently. When omitted, each
Button retains its own `size` prop.