ZStack | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
IMPORTANT MESSAGE — If you are starting a new project with NativeBase, we recommend using gluestack instead.
ZStack
ZStack aligns items to the z-axis.
Show Code
Playground
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