ZStack | NativeBase | Universal Components for React and React Native

Search
K
Hire us
If you are starting a new project, we recommend using gluestack-ui. For your existing projects, you can utilize @gluestack-ui/themed-native-base (beta).
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