You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nikita Lipsky 3a9214c4fe
Update CMP benchmarks to Gradle 8.0 (#5161)
3 weeks ago
.github [gradle] Support new AGP with androidLibrary target (#5157) 4 weeks ago
.idea Update copyright notices 4 years ago
artwork Compose Multiplatform 1.4.0 docs (#3044) 2 years ago
benchmarks Update CMP benchmarks to Gradle 8.0 (#5161) 3 weeks ago
build-helpers Create destination dir if it does not exist (#1438) 3 years ago
ci Updated example's versions (#5155) 4 weeks ago
components Update Android target SDK to 35 (#5152) 2 months ago
compose Compose compiler version bump 1.5.14.1/1.5.15 (#5141) 2 months ago
docs Update links to docs on the new portal (#3897) 1 year ago
examples Updated example's versions (#5155) 4 weeks ago
experimental Delete experimental/examples/intellij-plugin-with-experimental-shared (#5006) 5 months ago
gradle-plugins [gradle] Skip resource configuration for androidLibrary target since it is done via AGP (#5158) 3 weeks ago
html fix html tests karma config 2 months ago
idea-plugin Support K2 mode in the IJ plugin (#5138) 3 weeks ago
license A third party license for NotoSans ttf fonts (#1870) 3 years ago
tooling Test Gradle plugin on relevant PRs (#2509) 2 years ago
tools Fix changelog path not found error (#5153) 4 weeks ago
tutorials Updated example's versions (#5155) 4 weeks ago
.gitignore Fix examples, templates (#2359) 2 years ago
CHANGELOG.md Changelog for 1.7.0 (#5154) 1 month ago
LICENSE.txt Update copyright notices 4 years ago
README.md Change issue tracker to YouTrack in readme (#5111) 4 months ago
VERSIONING.md Update links to docs on the new portal (#3897) 1 year ago
gradle.properties Enable official code style when root dir is opened in Intellij 4 years ago

README.md

official project Latest release Latest build

Compose Multiplatform

Compose Multiplatform is a declarative framework for sharing UIs across multiple platforms with Kotlin. It is based on Jetpack Compose and developed by JetBrains and open-source contributors.

You can choose the platforms across which to share your UIs using Compose Multiplatform:

For example, you can share UIs between iOS and Android or Windows and MacOS.

Shared UIs of the iOS, Android, desktop, and web apps

iOS

iOS support is in Beta. It is feature complete, and migration issues should be minimal. You may still encounter bugs, performance and developer experience issues, but not as much as in the Alpha stage. We would appreciate your feedback on it in the public Slack channel #compose-ios. If you face any issues, please report them on YouTrack.

Compose Multiplatform shares most of its API with Jetpack Compose, the Android UI framework developed by Google. You can use the same APIs to build user interfaces for both Android and iOS.

Since Compose is built on top of Kotlin Multiplatform, you can easily access native APIs, such as the Camera API, and embed complex native UI views, such as MKMapView.

Get started with Compose Multiplatform

Android

When Android is one of your targets, you can get the same experience for Android as if you were developing an Android app using Jetpack Compose.

Get started with Compose Multiplatform

Desktop

Compose Multiplatform targets the JVM and supports high-performance hardware-accelerated UI rendering on all major desktop platforms – macOS, Windows, and Linux.

It has desktop extensions for menus, keyboard shortcuts, window manipulation, and notification management.

Get started with Compose Multiplatform

We would appreciate your feedback on Compose Multiplatform in the public Slack channel #compose.

Web

Web support is in Alpha. It may change incompatibly and require manual migration in the future. We would appreciate your feedback on it in the public Slack channel #compose-web. If you face any issues, please report them on YouTrack.

You can experiment with sharing your mobile or desktop UIs with the web. Compose for Web is based on Kotlin/Wasm, the newest target for Kotlin Multiplatform projects. It allows Kotlin developers to run their code in the browser with all the benefits that WebAssembly has to offer, such as good and predictable performance for your applications.

Get started with Compose for Web

Libraries

Compose HTML

Compose HTML is a library targeting Kotlin/JS that provides Composable building blocks for creating web user interfaces with HTML and CSS.

Note that Compose HTML is not a multiplatform library. It can be used only with Kotlin/JS.

Learn more