ZStack

ZStack is used to stack child elements in depth.

Box
Box
Box
Box

Usage

import { ZStack } from "@yamada-ui/react"
<ZStack />

Changing Direction

To change the direction, set direction to "start", "end-end", etc.

Box
Box
Box
Box

Reversing Direction

To reverse the direction, set reverse to true.

Box
Box
Box
Box

Props