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.
 
 
 
 
Igor Demin fd53f9c8b6 Revert "Remove tutorials from FEATURES.md" 2 years ago
.idea
artwork
benchmarks
benchmarks-intellij Intellij performance benchmark (#2009) 3 years ago
build-helpers
ci
components Update SplitPaneDSL.kt (#2196) 2 years ago
compose Update compose submodule 2 years ago
examples Fix compile error: "cli.isMultipleCompiler is not a function" (#2159) 2 years ago
experimental Check experimental flags in gradle.properties (#2268) 2 years ago
gradle-plugins remove deprecated compose.web.web-widgets from the source code (#2294) 2 years ago
idea-plugin Allow IJ plugin to work with 2022.2 (#2162) 3 years ago
license
templates Revert Kotlin to 1.6.10 3 years ago
tooling
tools
tutorials Add a "next steps" section to getting started docs (#2250) 2 years ago
web Add support for transition in CSS api. (#2228) 2 years ago
.gitignore add kotlin-js-store/yarn.lock 3 years ago
.gitmodules
CHANGELOG.md
FEATURES.md Revert "Remove tutorials from FEATURES.md" 2 years ago
LICENSE.txt
README.md Update README.md 2 years ago
gradle.properties

README.md

official project Latest release Latest build

Compose Multiplatform, by JetBrains

Compose Kotlin UI framework port for desktop platforms (macOS, Linux, Windows) and Web, components outside of the core Compose repository at https://android.googlesource.com/platform/frameworks/support.

Preview functionality (check your application UI without building/running it) for desktop platforms is available via IDEA plugin (https://plugins.jetbrains.com/plugin/16541-compose-multiplatform-ide-support).

Tutorials

Compose for Desktop

Also, see Foundation and Design docs from Google. They were originally written for Android, but most of information applies to Compose for Desktop as well.

Compose for Web

Jetpack Compose for Android

Compose Multiplatform uses Jetpack Compose developed by Google when you target Android platform. See more info about it here.

The docs published by Google are great and decribe how to develop on Compose for Android.

Note that when you use Compose Multiplatform, you setup your project differently. You can create a multiplatform project with Android support via IDEA Project Wizard, or by copying multiplatform template. In androidMain source set you can use almost all information from the docs, and in commonMain source set you can use information from Foundation and Design sections.

Examples

  • codeviewer - File Browser and Code Viewer application for Android and Desktop
  • imageviewer - Image Viewer application for Android and Desktop
  • issues - GitHub issue tracker with an adaptive UI and ktor-client
  • game - Simple game
  • game - Simple game for web target
  • compose-bird - A flappy bird clone using Compose for Web
  • notepad - Notepad, using the new experimental Composable Window API
  • todoapp - TODO items tracker with persistence and multiple screens
  • todoapp-lite - A simplified version of todoapp, fully based on Compose
  • widgets gallery - Gallery of standard widgets
  • IDEA plugin - Plugin for IDEA using Compose for Desktop

Other

Getting latest version of Compose Multiplatform

See https://github.com/JetBrains/compose-jb/releases/latest for the latest stable release or https://github.com/JetBrains/compose-jb/releases for all stable and dev releases.