Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
Konstantin a20021879e
Change dependency on the foundation to the ui and update coroutines version to avoid resolve issues. (#4660)
5 timmar sedan
.github [gradle] Update gradle and AGP in test runs. (#4542) 4 veckor sedan
.idea Update copyright notices 3 år sedan
artwork Compose Multiplatform 1.4.0 docs (#3044) 1 år sedan
benchmarks build(kn-performance): use compose 1.5.10 to fix the build (#4173) 2 månader sedan
build-helpers Create destination dir if it does not exist (#1438) 2 år sedan
ci Compose 1.6.2 1 vecka sedan
components Change dependency on the foundation to the ui and update coroutines version to avoid resolve issues. (#4660) 5 timmar sedan
compose Merge remote-tracking branch 'origin/release/1.6.1' 1 månad sedan
docs Update links to docs on the new portal (#3897) 5 månader sedan
examples Compose 1.6.2 1 vecka sedan
experimental Updated example of building using the CLI to Kotlin 1.9.23 and Compose 1.6.1 (#4488) 4 veckor sedan
gradle-plugins [gradle] Explicit ignore empty resource dirs 7 timmar sedan
html Add opportunity to use custom prefixes in StyleSheet (#3015) 3 månader sedan
idea-plugin Tooling maintenance (#3606) 8 månader sedan
license A third party license for NotoSans ttf fonts (#1870) 2 år sedan
tooling Test Gradle plugin on relevant PRs (#2509) 1 år sedan
tools Update replaceVersion.sh (#4142) 3 månader sedan
tutorials Compose 1.6.2 1 vecka sedan
.gitignore Fix examples, templates (#2359) 2 år sedan
CHANGELOG.md Add a note about known issue with Java 11 compatibility (#4650) 20 timmar sedan
LICENSE.txt Update copyright notices 3 år sedan
README.md Update links to docs on the new portal (#3897) 5 månader sedan
VERSIONING.md Update links to docs on the new portal (#3897) 5 månader sedan
gradle.properties Enable official code style when root dir is opened in Intellij 4 år sedan

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 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-ios. If you face any issues, please report them on GitHub.

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 Experimental and may be changed at any time. Use it only for evaluation purposes. We would appreciate your feedback on it in the public Slack channel #compose-web. If you face any issues, please report them on GitHub.

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