StylishSingleChoiceSegmentedButtonRow

fun StylishSingleChoiceSegmentedButtonRow(modifier: Modifier = Modifier, space: Dp = SegmentedButtonDefaults.BorderWidth, content: @Composable SingleChoiceSegmentedButtonRowScope.() -> Unit)

A row of mutually exclusive segmented buttons, wrapping the Material 3 SingleChoiceSegmentedButtonRow with Stylish defaults.

Use this to pick exactly one option from a small set. Place StylishSegmentedButton instances inside content; the row overlaps their borders so the group reads as one connected control.

Parameters

modifier

Modifier applied to the SingleChoiceSegmentedButtonRow root.

space

The overlap between adjacent buttons. Defaults to SegmentedButtonDefaults.BorderWidth, matching the stroke width.

content

The buttons, typically a sequence of StylishSegmentedButton in the SingleChoiceSegmentedButtonRowScope.

See also