Color Picker in SwiftUI
Color picker was introduced with the release of SwiftUI 2 and iOS 14. It’s a control used to select a color from the system color picker UI.
Color picker view has label and a circular button to show current color selection, as shown below. Here, “pick a color” is label for the picker view and button on right hand side of UI shows selected color.