Paul Krill
Editor at Large

JetBrains launches cross-platform UI framework for Kotlin

news
Dec 3, 20212 mins

Compose Multiplatform 1.0 allows developers to build user interfaces for the desktop, Android, and web from a single codebase.

smartphones tablet mobile devices
Credit: Thinkstock

JetBrains has officially launched Compose Multiplatform 1.0, a tool that promises to speed the development of user interfaces for desktop, Android, and web applications, using the company’s Kotlin programming language.

Compose Multiplatform has reached stable status and can be used for building production-level apps, the company said on December 2. The UI framework for Kotlin takes a declarative and reactive approach to building UIs, allowing UI code to be shared across platforms and sparing developers from dealing with UI update logic.

Compose Multiplatform allows parts of the UI to be previewed without building the entire app. A common API is shared with Jetpack Compose by Google, simplifying adoption. A Grade plug-in allows applications to be packaged for major operating systems while also offering interoperability with existing Java frameworks. Developers can use Compose Multiplatform in Java apps or use Java components in Compose Multiplatform apps.

In addition, developers can create web apps using Kotlin, with Compose Multiplatform providing a reactive Kotlin API for manipulating the DOM with CSS-in-JS support. Kotlin support is provided sans JavaScript interoperability mechanisms, thus providing more type safety and future proofing. Code for the UI and state management can be shared between Android, desktop, and web, with Jetpack Compose-based apps for Android being portable to the desktop.

Since the launch of Compose Multiplatform Alpha this summer, improvements have been made to make the framework more powerful and cover more edge cases, JetBrains said. The beta version was launched earlier this fall, with critical issues fixed and accessibility features added for Windows. The JetBrains Toolbox App application manager is now also built on Compose Multiplatform, leading to decreased memory consumption, better performance, and smaller installer size, JetBrains said.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author