ActionStack

fun ActionStack(modifier: Modifier = Modifier, maxWidth: Dp = Dp.Unspecified, alignment: Alignment.Horizontal = Alignment.CenterHorizontally, content: @Composable ColumnScope.() -> Unit)(source)

Stacks buttons vertically, each full width within the stack, with the theme's medium spacing between them. maxWidth caps the width on wide / web layouts (skill: ~480dp).

Parameters

alignment

Where a width-capped stack sits in the available width: centred by default, or e.g. Alignment.Start to line up with left-aligned content such as an article.