Shorthand for alignItems style prop
Stack
Stack is a layout component used to group elements together and apply a space between them.
Props#
align
alignResponsiveValue<AlignItems>direction
directionThe direction to stack the items.
StackDirectioncolumndivider
dividerIf true, each stack item will show a divider
ReactElement<any, string | JSXElementConstructor<any>>isInline
isInlineIf true the items will be stacked horizontally.
booleanfalsejustify
justifyShorthand for justifyContent style prop
ResponsiveValue<JustifyContent>shouldWrapChildren
shouldWrapChildrenIf true, the children will be wrapped in a Box with
`display: inline-block`, and the Box will take the spacing props
booleanfalsespacing
spacingThe space between each stack item
ResponsiveValue<string | number | (string & {})>0.5remwrap
wrapShorthand for flexWrap style prop
ResponsiveValue<FlexWrap>Props#
align
alignShorthand for alignItems style prop
ResponsiveValue<AlignItems>direction
directionThe direction to stack the items.
StackDirectioncolumndivider
dividerIf true, each stack item will show a divider
ReactElement<any, string | JSXElementConstructor<any>>isInline
isInlineIf true the items will be stacked horizontally.
booleanfalsejustify
justifyShorthand for justifyContent style prop
ResponsiveValue<JustifyContent>shouldWrapChildren
shouldWrapChildrenIf true, the children will be wrapped in a Box with
`display: inline-block`, and the Box will take the spacing props
booleanfalsespacing
spacingThe space between each stack item
ResponsiveValue<string | number | (string & {})>0.5remwrap
wrapShorthand for flexWrap style prop
ResponsiveValue<FlexWrap>