Kotlin Multiplatform samples | Kotlin Multiplatform Development (original) (raw)
This is a curated list of projects that aims to show robust and unique applications of Kotlin Multiplatform.
Some projects share almost all their code using Compose Multiplatform for the user interface. Others use native code for the user interface and share, for example, only the data model and algorithms. To create your own brand new Kotlin Multiplatform application, we recommend using the web wizard.
You can find even more sample projects on GitHub via the kotlin-multiplatform-sample topic. To explore the ecosystem as a whole, check out the kotlin-multiplatform topic.
JetBrains official samples
Name | Description | What's shared? | Noteworthy libraries | User interface |
---|---|---|---|---|
Image Viewer | An application for capturing, viewing, and storing pictures. Includes support for maps. Uses Compose Multiplatform for the UI. Introduced at KotlinConf 2023. | UIModelNetworkingAnimationData storage | kotlinx-serializationkotlinx-datetimekotlinx-coroutinesplay-services-mapsplay-services-locationsandroid-maps-composeaccompanist-permissions | Jetpack Compose on AndroidCompose Multiplatform on iOS, desktop, and web |
Chat | A demonstration of how to embed Compose Multiplatform components within a SwiftUI interface. The use case is online messaging. | UIModelNetworking | Jetpack Compose on AndroidCompose Multiplatform on iOS, desktop, and webSwiftUI on iOS | |
KMM RSS Reader | A sample application for consuming RSS feeds designed to show how Kotlin Multiplatform can be used in production. The UI is implemented natively, but there is an experimental branch showing how Compose Multiplatform could be used on iOS and desktop. Networking is accomplished using the Ktor HTTP Client, while XML parsing is implemented natively. The Redux architecture is used for sharing UI State. | ModelNetworkingUI stateData storage | kotlinx-serializationkotlinx-coroutinesktor-clientvoyagercoilmultiplatform-settingsnapierSQLDelight | Jetpack Compose on AndroidCompose Multiplatform on iOS and desktop (on experimental branch)SwiftUI on iOS |
Kotlin Multiplatform Sample | A simple calculator application. Showing how to integrate Kotlin and native code using expected and actual declarations. | Algorithms | Jetpack Compose on AndroidSwiftUI |
Recommended samples
Name | Description | What's shared? | Noteworthy libraries | User interface |
---|---|---|---|---|
Confetti | A showcase of many different aspects of Kotlin Multiplatform and Compose Multiplatform. The use case is an application for fetching and displaying information about conference schedules. Includes support for the Wear and Auto platforms. Uses GraphQL for client-server communications. The architecture is discussed in-depth at KotlinConf 2023. | UIModelNetworkingData storageNavigation | kotlinx-serializationkotlinx-datetimekotlinx-coroutinesdecomposekoinjsonpathkt-kotlinxhorologistgoogle-cloudfirebasebare-graphqlapolloaccompanist | Jetpack Compose on Android, Auto, and WearCompose Multiplatform on iOS, desktop, and web |
People In Space | A showcase of the many different platforms on which Kotlin Multiplatform can run. The use case is to show the number of people currently in space and the position of the International Space Station. | ModelNetworkingData storage | kotlinx-serializationkotlinx-coroutineskotlinx-datetimektor-clientkoinmultiplatform-settingsSQLDelight | Jetpack Compose on AndroidCompose Multiplatform on iOS, desktop, and webSwiftUI on iOS, macOS, and watchOS |
Sessionize / Droidcon | An application for viewing the agenda at Droidcon events using the Sessionize API. Can be customized for use with any event that stores talks in Sessionize. Integrates with Firebase and so requires a Firebase account to run. | UIModelNetworkingData storage | kotlinx-coroutineskotlinx-datetimektor-clientkoinmultiplatform-settingsfirebasekermitaccompanisthyperdrive-multiplatformxSQLDelight | Jetpack Compose on AndroidCompose Multiplatform on iOS |
KaMPKit | A collection of code and tools for Kotlin Multiplatform development. Designed to showcase libraries, architectural choices, and best practices when building Kotlin Multiplatform applications. The use case is downloading and displaying information about dog breeds. Introduced in this video tutorial. | ModelNetworkingViewModelData storage | ktor-clientkoinmultiplatform-settingskermitSQLDelight | Jetpack Compose on AndroidSwiftUI on iOS |
Name | Description | What's shared? | Noteworthy libraries | User interface |
---|---|---|---|---|
NYTimes KMP | A Compose Multiplatform based version of the New York Times application. Allows the user to browse and read articles. Note that to build and run the application, you will need an API key from the New York Times. | UIModelNetworking | kotlinx-serializationkotlinx-datetimekotlinx-coroutinesktor-clientmoleculedecomposehorologist | Jetpack Compose on Android and WearCompose Multiplatform on iOS, desktop, and web |
Focus Bloom | A productivity and time management application. Allows users to schedule tasks and provides feedback on their accomplishments. | UIModelAnimationData storage | kotlinx.serializationkotlinx.coroutineskotlinx.datetimekoinnavigation-composemultiplatform-settingsSQLDelight | Compose Multiplatform on Android, iOS, and desktop |
Recipe App | A demonstration application for viewing recipes. Showcases the use of animations. | UIModelData storage | kotlinx-coroutines | Jetpack Compose on AndroidCompose Multiplatform on iOS, desktop, and web |
D-KMP-sample | A sample application for the Declarative UIs with Kotlin MultiPlatform architecture. The use case is retrieving and displaying vaccination statistics for different countries. | NetworkingData storageViewModelNavigation | ktor-clientmultiplatform-settingsSQLDelight | Jetpack Compose on AndroidSwiftUI on iOS |
Notflix | An application that consumes data from The Movie Database to display current trending, upcoming, and popular movies and TV shows. Requires that you create an API key with The Movie Database. | ModelNetworkingCachingViewModel | kotlinx-coroutineskotlinx-serializationkotlinx-datetimektor-clientmultiplatform-settingsnapier | Jetpack Compose on AndroidSwiftUI on iOS |
Twine - RSS Reader | Twine is a multiplatform RSS reader app built using Kotlin and Compose Multiplatform. It features a nice user interface and experience to browse through the feeds and supports Material 3 content-based dynamic theming. | ModelNetworkingData StorageUI | kotlinx-coroutineskotlinx-serializationkotlinx-datetimektor-clientnapierdecompose | Compose Multiplatform on Android and iOS |
Shopping By KMP | A cross-platform application that is built using Jetpack Compose Multiplatform, a declarative framework for sharing UIs across multiple platforms with Kotlin. The application allows users to browse, search, and purchase products from a shopping catalog on Android, iOS, web, desktop, and Android TV. | ModelNetworkingData StorageUIViewModelAnimationNavigationUI stateUse CaseUnit TestUI Test | kotlinx-coroutineskotlinx-serializationkotlinx-datetimektor-clientdatastorekoingoogle-mapnavigation-composecoilkotest | Compose Multiplatform on Android, iOS, web, desktop, and Android TV |
Music App KMP | An application showcasing how to interact with native APIs like MediaPlayer on different platforms. It uses Spotify API to fetch data. | ModelNetworkingUI | kotlinx-coroutineskotlinx-serializationktor-clientdecompose | Compose Multiplatform on Android, iOS, desktop, and web |
Rijksmuseum | Rijksmuseum is a multimodular Kotlin and Compose Multiplatform app that offers an immersive way to explore the art collection of the renowned Rijksmuseum in Amsterdam. It utilizes the Rijksmuseum API to fetch and display detailed information about various artworks, including images and descriptions. | UIModelNetworkingNavigationViewModel | kotlinx-coroutineskotlinx-serializationktor-clientkoinnavigation-composeCoilJetpack ViewModel | Compose Multiplatform on Android, iOS, desktop, and web |
Last modified: 16 April 2025