DEV Community

Cover image for Reusable SwiftUI Components – Compot
Lukas Soukup
Lukas Soukup

Posted on

Reusable SwiftUI Components – Compot

SwiftUI is a fantastic framework that enables rapid prototyping and the development of visually stunning apps. As an indie developer, my goal is to build beautiful and useful apps, and SwiftUI is a great tool for achieving that. However, being an indie dev also means I need to be both effective and efficient. Early on in my SwiftUI journey, I quickly realized the importance of saving components for reuse in future projects to save time and effort. Xcode offers a handy feature for saving code snippets, but I missed the visual design references and the possibility of having my components accessible outside of Xcode. I wanted to be able to brainstorm my apps over coffee or plan them on the go. And that's why I built Compot.

SwiftUI components for your next app

Compot is an iOS app where you can find SwiftUI components for your apps. It is designed to make it easy to browse predesigned components by keywords and copy or share the code you find useful. You can save components you like and organize them in custom collections. This way you can create a collection with components for your new app, or based on common themes like paywalls, or onboarding.

Crafted SwiftUI components

Compot is available for free on the Apple App Store and so far offers 100+ crafted SwiftUI components and templates, from buttons to welcome screens, product cards, or banners. There are no package dependencies – just pure vanilla SwiftUI code that you can copy and paste directly into your Xcode project.

Design & Develop Faster

Btw, I try to make Compot useful also by including links to valuable tools, podcasts, books, and other resources that can enhance your iOS app development journey.

Check out Compot and see if it can streamline your development process. If you find any components missing, have suggestions for new ones, or have any thoughts about the app, please let me know. I’m looking to improve and any feedback, that would help me make Compot better!

Visit the website: www.compotui.com or just download the app from the App Store: Compot on the App Store.

Happy coding!

Top comments (0)