Version: Next

ZStack

ZStack aligns items absolutely in the z-axis.

Examples#

Basic#

Items Centered#

You can pass alignItems="center" justifyContent="center" to vertically and horizontally center the children.

Props#

Name Type Description Default
reversed boolean The direction to stack the elements. -

ZStack implements Box