stack Layout

A container that stacks children vertically by default. Use `horizontal` to arrange them in a row. Replaces the deprecated `content` keyword.

Live example Open in editor ↗
Actions Item saved. Here is the detail view. Save Cancel Delete Made with Wiremark

Modifiers

ModifierEffect
horizontalArranges children in a row with equal width shares
verticalStacks children vertically (default)

Children

Accepts any component as a child.

Notes

`content` is a deprecated alias for `stack` — it still renders but emits a DeprecationWarning.