Rectangle

A rectangular shape aligned inside the frame of the view containing it.

ComponentiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Rectangle in SwiftUI