Interface: StackProps
Defined in: components/Stack/Stack.tsx:47
Props for the Stack component.
Extends
Omit<React.HTMLAttributes<HTMLDivElement>,"style"|"className">
Properties
align?
optionalalign?:BoxAlignment
Defined in: components/Stack/Stack.tsx:64
Cross-axis alignment (align-items).
Default
'stretch'
children?
optionalchildren?:ReactNode
Defined in: components/Stack/Stack.tsx:70
The items to lay out.
Overrides
Omit.children
direction?
optionaldirection?:StackDirection
Defined in: components/Stack/Stack.tsx:56
Flow direction. vertical stacks children in a column (reads the
gap.stack scale); horizontal lays them in a row (reads gap.inline).
Default
'vertical'
gap?
optionalgap?:GapScaleStep
Defined in: components/Stack/Stack.tsx:62
Space between children, from the gap scale. There is no raw-length vocabulary — rhythm always comes from the scale.
Default
'md'
justify?
optionaljustify?:BoxDistribution
Defined in: components/Stack/Stack.tsx:66
Main-axis distribution (justify-content).
Default
'start'
wrap?
optionalwrap?:boolean
Defined in: components/Stack/Stack.tsx:68
Allow children to wrap onto multiple lines.
Default
false