Version: 3.0.0-next.36

Stack

Stack aligns items vertically.

Implements#

Example#

If you want to pass custom components (not a nativebase imported component) as direct Children of Stack, VStack, HStack, or ZStack you must wrap that in a Box for Stacks to work as expected.

Props#

NameTypeDescriptionDefault
dividerJSX.ElementThe divider element to use between elements.-
spaceMarginPropsThe space between each stack item.-
reversedbooleanThe direction to stack the elements-
childrenJSX.ElementThe elements to be stacked.-