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 ↗
Modifiers
| Modifier | Effect |
|---|---|
horizontal | Arranges children in a row with equal width shares |
vertical | Stacks 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.