Stack
Layout elements vertically and add space between them.
The container spans the whole line (because its width is auto). It uses a vertical flex under the hood. Items default to spread horizontally within the container.
Differences with a stock flex:
- It is vertical
- It sets a
gap(16px by default)
Other settings and their default:
justify: elements sit at the top by default (flex-start)align: elements fill the stack horizontally by default (stretch)