Comment on How to pass a Swift Type into an Generic SwiftUI View? Thank you for your answer! Unluckily, this is not possible, since the computed var returns an any Component and the Generic View is expecting a Component (GenericView<C: Component>). Any idea on how to workaround this? UI Frameworks SwiftUI Aug ’22