Layout
Stack
No summary has been written for Stack. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { Stack } from '@happyvertical/smrt-ui/layout';- Import path
@happyvertical/smrt-ui/layout- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
Also accepts Omit<HTMLAttributes<HTMLDivElement>, 'class'>. The table lists the
component-specific contract.
NameTypeRequiredDescription
direction'vertical' | 'horizontal'NoStacking axis: `vertical` (a column) or `horizontal` (a row).gapGapNoSpace between children, from the spacing tokens.alignAlignNoCross-axis alignment. Omit for the browser default (stretch).justifyJustifyNoMain-axis distribution. Omit for the start of the axis.wrapbooleanNoLet children wrap onto further lines when they do not fit.classstringNoCSS classes appended to the stack.childrenSnippetNoStacked content.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.