ZStack | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
Please opt in to our enterprise plan (coming soon) for priority support with NativeBase. 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.
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