ZStack | NativeBase | Universal Components for React and React Native

Search
K
Hire us
IMPORTANT MESSAGE — If you are starting a new project with NativeBase, we recommend using gluestack-ui instead.
Explore gluestack-ui
ZStack
ZStack aligns items to the z-axis.
Examples
Basic
Playground
Items Centered
You can pass alignItems="center" justifyContent="center" to vertically and horizontally center the children.
Playground
Props
reversed
The direction to stack the elements.
Type: boolean
Nativebase logo
MadeWithNativeBase