compose-multiplatform
Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
A Kotlin UI framework from JetBrains that lets you write one app interface and share it across Android, iOS, desktop, and web without rebuilding a separate UI for each platform.
Compose Multiplatform is a UI framework made by JetBrains that lets you write the visual design of an app once in Kotlin and share it across Android, iOS, desktop (Windows, macOS, Linux), and web — instead of building a separate interface for each platform.
It is based on Jetpack Compose, the modern UI toolkit Google uses for Android apps. You describe what the screen should look like using declarative code (meaning you describe the desired result, not a sequence of steps), and the framework handles the rendering. Because the same UI code runs on multiple targets, you reduce duplication and keep your app's look consistent everywhere. For mobile, it can access native platform APIs like the device camera. For desktop, it renders with hardware-accelerated graphics and supports menus, keyboard shortcuts, and system notifications. Web support (via Kotlin/Wasm — a format that runs near-native-speed code in browsers) is in Beta.
You would use Compose Multiplatform if you are a Kotlin developer building an app that needs to run on more than one platform and you want to avoid writing and maintaining completely separate UIs. It requires Kotlin as the programming language and works well with JetBrains tools.
Where it fits
- Build an Android app and reuse the same UI code for a Windows and macOS desktop version without rewriting it
- Ship a single Kotlin codebase to iOS and Android with a shared interface and native device camera access
- Deploy a Kotlin app to the browser via WebAssembly without rewriting the interface in JavaScript