JetBrains' declarative Kotlin UI framework for Android, iOS, desktop and web
open sourceApache-2.0free
Compose Multiplatform is JetBrains' framework for building one user interface in Kotlin that runs on Android, iOS, Windows, macOS and Linux desktops, and in the browser. It shares its API with Google's Jetpack Compose, so Android developers' state management, layouts, animations and Material components carry over, and it builds on Kotlin Multiplatform for sharing the rest of an app's code. Apps can call native platform APIs and mix Compose screens with existing SwiftUI, Android Views or Swing code. JetBrains calls it production-ready for mobile and desktop; web support, through Kotlin and WebAssembly, is in beta. Compose Hot Reload previews UI changes on desktop without a restart.
Problems it solves
- share one UI between my Android and iOS apps without leaving Kotlin
- use my Jetpack Compose skills to build a desktop app
- build a cross-platform app in Kotlin instead of Flutter or React Native
Features
- one Kotlin UI for Android, iOS, desktop and web
- the same API as Jetpack Compose, with Material 3 components
- access to native platform APIs
- mixes with existing SwiftUI, Android Views or Swing code
- Compose Hot Reload on desktop
- web support through Kotlin and WebAssembly (beta)
Limitations
- Web support is in beta; JetBrains calls only mobile and desktop production-ready1
Alternatives
The same job
These do what Compose Multiplatform does.
- Flutter Build apps for any screen
- Kotlin Multiplatform Go cross-platform without compromising performance, UX, or code quality
