Stack
Stack is a layout component that creates responsive horizontal and vertical flows.
On this page
Description
Stack is a layout component that creates responsive horizontal and vertical flows.
Arguments
Name | Type | Default | Description |
---|---|---|---|
tag | Symbol |
| Customize the element type of the rendered container. |
gap | Symbol |
| Specify the gap between children elements in the stack. One of |
direction | Symbol |
| Specify the direction for the stack container. One of |
align | Symbol |
| Specify the alignment between items in the cross-axis of the direction. One of |
wrap | Symbol |
| Specify whether items are forced onto one line or can wrap onto multiple lines. One of |
justify | Symbol |
| Specify how items will be distributed in the stacking direction. One of |
padding | Symbol |
| Specify the padding of the stack container. One of |
system_arguments | Hash | N/A |