Compot: Building a SwiftUI Component Library and AI Coding Tools

Compot app main screen

Project overview

Compot brings a SwiftUI component library, code editor and AI coding tools into one iOS app. Developers can browse examples, preview components and copy code into their own projects.

Project duration

May 2024 – Present

My role

I designed and built Compot in SwiftUI. My work includes product research, interface design, AI integration, testing, the App Store launch, support and marketing.

The problem

I wanted a place to find reusable UI code and work on it without moving between a component website, a notes app and an AI chat. The code also needed to be available to copy into Xcode.

What I built

  • A library of SwiftUI components, including buttons, modals, onboarding screens and paywalls.
  • Component previews and an editor for adjusting code.
  • AI code generation from text descriptions and design screenshots.
  • A coding assistant for questions, debugging and changes to existing snippets.
  • Collections for saving and organising code.
  • A feed of SwiftUI articles, newsletters and repositories.

Design decisions

I organised the interface around browsing, previewing and copying code. Saved collections let people return to a component without having to find it again. The editor and AI tools sit alongside that library, so a snippet can be adjusted before it is used in a project.

I also handle the App Store listing and support. That work feeds into decisions about the next release.

Compot on the App Store.

Lukas Soukup

Have a product in mind?

My work covers product management, UX/UI design, and iOS development. Get in touch if you’d like to talk about a project.