Luke UI
GitHub repository

Stack

Arrange direct children on the logical block axis.

Stack places direct children on the logical block axis. Read Layout to choose a layout component.

Stack: Basic
Loading Stack: Basic example

Alignment

alignItems defaults to stretch.

Stack: Alignment
Loading Stack: Alignment example

Choose the rendered element

Stack uses Box's elementType and render contract.

Stack: List
Loading Stack: List example

API

StackProps also accepts compatible DOM and ARIA attributes and event handlers for its rendered element.

Prop

Type