ZStack | NativeBase | Universal Components for React and React Native

Nativebase logo
NativeBase
3.4.x
🎉 Prompt to React Native UI
→
Search
⌘
K
Hire us
If you are starting a new project, please try gluestack-ui for better performance and new design.
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
Gluestack logo
gluestack-ui