SwiftUI Field Guidebeta

VStack

VStackVStack

A VStack works exactly like an HStack, but in the vertical direction. In other words, while an HStack uses the horizontal axis as its main axis, the VStack uses the vertical axis as its main axis.

Refer to the HStack page for more details on how an HStack works.