Stylish Button Group
A flexible, connected container for related actions.
Unlike a segmented control, a button group does not impose selection semantics: each child can be an independent StylishButton, an icon button, or a custom slot. This makes it suitable for edit toolbars, pagination actions, and destructive/secondary action pairs on both desktop and mobile layouts. The group owns the clipping, border, and background while callers retain full control of each child.
Parameters
Modifier applied to the group surface.
Direction in which children are arranged.
Shape used for the outer container and clipping.
Background color behind the children.
Border drawn around the group. Pass null to omit it.
Padding between the outer border and children.
Space between children. Defaults to zero for a connected appearance; use StylishTheme.dimensions.inlineSpacing for separated actions.
Child actions. The slot is independent of orientation so the same content can be reused in responsive layouts.