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 21f74f92df
Remove experimental templates, update READMEs with templates new locations (#2847)
2 years ago
.github Update enhancement.md 2 years ago
.idea Update copyright notices 4 years ago
artwork Add uikit to experimental/examples/imageviewer (#2571) 2 years ago
benchmarks Modify replace.sh for replacing Compose version (#1511) 3 years ago
benchmarks-intellij Intellij performance benchmark (#2009) 3 years ago
build-helpers Create destination dir if it does not exist (#1438) 3 years ago
ci Fix gradle tests (#2708) 2 years ago
components UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800) 2 years ago
compose update submodule compose/frameworks/support to latest jb-main 2 years ago
examples Disable validation of todoapp-lite until update to Compose 1.4.0 (#2842) 2 years ago
experimental Remove experimental templates, update READMEs with templates new locations (#2847) 2 years ago
gradle-plugins Add resources library to dependencies declared by compose gradle plugin (#2793) 2 years ago
idea-plugin Intellij compatibility fixes (#2733) 2 years ago
license A third party license for NotoSans ttf fonts (#1870) 3 years ago
templates Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
tooling Test Gradle plugin on relevant PRs (#2509) 2 years ago
tools Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
tutorials Remove experimental templates, update READMEs with templates new locations (#2847) 2 years ago
web Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
.gitignore Fix examples, templates (#2359) 2 years ago
.gitmodules Remove golden submodule (#2824) 2 years ago
CHANGELOG.md Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
LICENSE.txt Update copyright notices 4 years ago
README.md Remove experimental templates, update READMEs with templates new locations (#2847) 2 years ago
VERSIONING.md Update VERSIONING.md (#2681) 2 years 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, by JetBrains

Compose Kotlin UI framework port for desktop platforms (macOS, Linux, Windows) and Web, components outside of the core Compose repository.

Preview functionality (check your application UI without building/running it) for desktop platforms is available via IDEA plugin.

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 HTML

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.

Experimental targets

The other targets (iOS, Compose for Web Canvas) are experimental and under development. Use them at your own risk.

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
  • Falling Balls - Simple game
  • notepad - Notepad, using the new experimental Composable Window API
  • todoapp - TODO items tracker with persistence and multiple screens, written with external navigation library
  • 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
  • compose-bird - A flappy bird clone using Compose for Web
  • web-landing - A landing page built using Compose for Web (HTML composable api)
  • compose-web-with-react - Using compose-in-react and react-in-compose
  • compose-web-in-js - Using Html based composables in js

Other

Versions