I have this code to display a list of custom rows.
struct ContentView : View { var body: some View { VStack(alignment: .leading) { List(1
Use a ScrollView?
Some state that represents your list
@State var menuItems: [String] = ["One", "Two", "Three"]
The a SwiftUI ForEach loop inside a ScrollView
SwiftUI
ForEach
ScrollView
ScrollView { ForEach(self.menuItems, id: \.self) { item in Text(item) } }