Cheat-Sheet for SwiftUI shows all UI elements and the needed source code. Each UI element is presented in one or more variations. You can try the control and check the functionality. Below the example you see the corresponding code to get this result. It's easy, try it!
To allow experienced coders an easier changeover to SwiftUI, all elements from UIKit are assigned to the corresponding SwiftUI elements.