rainbow icon
🍔

Stack

Arranges children vertically with equal spacing between them, plus an optional separator element. Items can be aligned with alignHorizontal.
If there is only a single child node, no space or separators will be rendered.

Basic usage

Playroom

Nested

Stacks can be nested within each other for layouts with differing amounts of space between groups of content.
Playroom

With center alignment

Playroom

With text

Lorem ipsum
Lorem ipsum
Lorem ipsum
Playroom