To create a carousel view in SwiftUI, with multiple pages, use the TabView with .tabViewSyle set to PageTabViewStyle