https://github.com/kotlin/kmp-app-template
Kotlin Multiplatform app template with shared UI
https://github.com/kotlin/kmp-app-template
android compose-multiplatform ios kotlin kotlin-multiplatform
Last synced: 6 months ago
JSON representation
Kotlin Multiplatform app template with shared UI
- Host: GitHub
- URL: https://github.com/kotlin/kmp-app-template
- Owner: Kotlin
- License: apache-2.0
- Created: 2023-10-16T08:35:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-02T10:43:22.000Z (6 months ago)
- Last Synced: 2025-07-02T11:43:38.381Z (6 months ago)
- Topics: android, compose-multiplatform, ios, kotlin, kotlin-multiplatform
- Language: Kotlin
- Homepage: https://kmp.jetbrains.com
- Size: 2 MB
- Stars: 518
- Watchers: 11
- Forks: 79
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kotlin Multiplatform app template
[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
[](https://opensource.org/licenses/Apache-2.0)
This is a basic Kotlin Multiplatform app template for Android and iOS. It includes shared business logic and data handling, and a shared UI implementation using Compose Multiplatform.
> The template is also available [with native UI written in Jetpack Compose and SwiftUI](https://github.com/kotlin/KMP-App-Template-Native).
>
> The [`amper` branch](https://github.com/Kotlin/KMP-App-Template/tree/amper) showcases the same project configured with [Amper](https://github.com/JetBrains/amper).

### Technologies
The data displayed by the app is from [The Metropolitan Museum of Art Collection API](https://metmuseum.github.io/).
The app uses the following multiplatform dependencies in its implementation:
- [Compose Multiplatform](https://jb.gg/compose) for UI
- [Compose Navigation](https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-navigation-routing.html)
- [Ktor](https://ktor.io/) for networking
- [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization) for JSON handling
- [Coil](https://github.com/coil-kt/coil) for image loading
- [Koin](https://github.com/InsertKoinIO/koin) for dependency injection
> These are just some of the possible libraries to use for these tasks with Kotlin Multiplatform, and their usage here isn't a strong recommendation for these specific libraries over the available alternatives. You can find a wide variety of curated multiplatform libraries in the [kmp-awesome](https://github.com/terrakok/kmp-awesome) repository.