Layout
Stack
Flexbox container for vertical or horizontal alignment.
Fundamental Layout
The primary tool for linear layouts. It handles alignment, distribution, and spacing between items automatically.
Alignment & Distribution
Control how children are aligned and distributed along the cross and main axes.
Centered Alignment
Perfect for list itemsNotification Status
EnabledResponsive Direction
Switch between column and row layouts based on screen size with a single prop.
Adaptive Media Object
This Stack is a column on mobile and a row on desktop. It's the perfect pattern for responsive feature blocks.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | — | Main descriptive text or overlay children layout |
direction | 'row' | 'column' | { xs?: 'row' | 'column' | 'column' | Direction of the stack or a responsive direction object |
sm | 'row' | 'column' | — | Configures the sm option |
md | 'row' | 'column' | — | Configures the md option |
lg | 'row' | 'column' | — | Configures the lg option |