VStack
VStack is a layout container in Apple's SwiftUI framework that arranges its child views in a vertical sequence. It is a fundamental tool for building user interfaces in SwiftUI, offering a simple, declarative way to stack views such as text, images, and controls along a vertical axis.
The initializer of VStack accepts alignment and spacing parameters. Alignment is a HorizontalAlignment value that controls
VStack adapts to its surrounding layout. It can size to fit its content or expand to fill
Common usage patterns include creating vertical lists of controls or text blocks, grouping form fields, and
VStack was introduced as part of SwiftUI, first appearing in iOS 13/macOS Catalina, as a core primitive