Compose for DesktopAlpha
Fast reactive desktop UIs for Kotlin, based on Google's modern toolkit and brought to you by JetBrains.
Compose for Desktop simplifies and accelerates UI development for desktop applications, and allows extensive UI code sharing between Android and desktop applications. Currently in alpha.
Explore on GitHubFast reactive desktop UIs for Kotlin, based on Google's modern toolkit and brought to you by JetBrains.
Compose for Desktop simplifies and accelerates UI development for desktop applications, and allows extensive UI code sharing between Android and desktop applications. Currently in alpha.
Explore on GitHubBuild better desktop apps
Compose for Desktop provides a declarative and reactive approach to creating user interfaces with Kotlin. Combine composable functions to build your user interface, and enjoy full tooling support from your IDE and build system – no XML or templating language required.
Compose for Desktop targets the JVM, and supports high-performance, hardware-accelerated UI rendering on all major desktop platforms (macOS, Windows, and Linux/x64) by leveraging the powerful native Skia graphics library.
Windows
macOS
Linux/x64
Features
Hardware accelerated rendering with Skia.
Powerful text rendering and layout for many languages.
Desktop extensions for menus, keyboard shortcuts, window manipulation, notification management, and more.
Excellent AWT and Swing interoperability.
Code sharing with Jetpack Compose Android applications via Kotlin Multiplatform.
Android Compose compatibility at the UI element level.
Support for creating standalone application bundles.
Get started with Compose for Desktop
Work through our tutorials to learn about the features Compose for Desktop has to offer.
Start tutorial here
In this tutorial we will see how to create a simple desktop UI application using Compose for Desktop.
Image viewer application
An example of an image gallery showing images from a remote server, using Compose for Desktop and Android.
Issue browser example
GitHub issues viewer example written with Compose for Desktop.
Please note that Compose for Desktop is currently in early alpha development stage and may not be fit for production applications.
Example application
This cross-platform file viewer application is developed with Compose for Desktop. It manifests most elements typically found in a desktop application:
- File tree navigation
- Multiline text with formatting
- Scrollbars
Explore the source code on GitHub.
Feel free to join the #compose-desktop channel on Kotlin Slack to discuss Compose for Desktop, or #compose for general Compose and Android Compose discussions.