Skip to content
You're viewing documentation for Draftbit Classic (v1), our previous platform. See the current Draftbit docs.

Z Stack

The Z Stack arranges its children on top of each other

The Z Stack is a convenience component that is just a View with default flex styling to arrange its children on top of each other. You can nest other components inside of it.

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

NameDescription
Component nameThe name of the component as it appears in the Screen’s component tree
ReverseWhether the Z arrangement of the children should be reversed or not.

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.