There are 2 repositories under preivew-device topic.
PreviewDevice - is a library with type-safe syntax sugar for preview device on SwiftUI. Preview for UIKit and Cocoa.
frontendmentor.io