the new #Preview macro does not support it but you can go back to the PreviewProvider struct and achieve exactly what you want:
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
.previewDevice(PreviewDevice(rawValue: "iPhone 16"))
.previewDisplayName("iPhone")
ContentView()
.previewDevice(PreviewDevice(rawValue: "iPad Air 5"))
.previewDisplayName("iPad")
}
}