A container lays out its items through one layout config. The same six items sit under seven layouts here. align, pack and flex change the three flex layouts as they run; Next item steps the card and turns the cube.
One item fills the whole container: the first of the six.
A row. align places the items across it, pack along it.
A column, with the same align and pack.
A row that wraps when its items run out of room.
A CSS grid. Its three columns come from the container's stylesheet.
One item at a time. activeIndex picks it.
The six items as the faces of a cube. activeIndex turns it to one.