PreCompose
941 stars
by Tlaster
Compose Multiplatform Navigation and ViewModel. Supports Android, iOS, macOS, Windows, Linux and Web.
View on GitHubDocumentation
PreCompose
Compose Multiplatform Navigation && ViewModel, inspired by Jetpack Navigation, ViewModel and Lifecycle, PreCompose provides similar (or even the same) components for you but in Kotlin, and it's Kotlin Multiplatform project.
Why PreCompose
- Write your business logic and UI code once in one
commonMain, and your application can be anywhere, powered by Kotlin and Compose! - If you familiar with Jetpack Lifecycle, ViewModel and Navigation, there will be nothing to learn.
- Super easy to set up.
- No need to write platform-specific code and UI.
- Lifecycle is handled by PreCompose, you don't need to worry about it.
- With Molecule integration, you can easily write your business logic in Kotlin Multiplatform project.
Setup
Components
Sample
Credits
Thanks JetBrains for supporting open source software

LICENSE
MIT License
Copyright (c) 2021 Tlaster
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Similar Libraries
Fragula
🧛 Fragula is a swipe-to-dismiss extension for navigation component library for Android
GestureLibrary
Showkase
🔦 Showkase is an annotation-processor based Android library that helps you organize, discover and search Jetpack Compose UI elements
LibraryDesign System
Accompanist
A collection of extension libraries for Jetpack Compose
LibraryImage Loading
Compose Backstack
Simple composable for rendering transitions between back stacks.
LibraryNavigation
Browse by Category

Be the first to discover new Compose libraries
Curated Insights
Digest in 5 minutes or less
Android Analysis
Entertaining takes on happenings
Insider Tips
From top Android developers
Hidden Gems
You won't find elsewhere
"
"I truly love this newsletter ❤️🔥 Spot on content and I know there's a lot of effort that goes behind it. Great work!"
— theapache64
Staff Software Engineer @ Disney+ Hotstar
Join thousands of Android devs who look forward to Dispatch every week
© 2026 All Rights Reserved | Made by Vinay Gaba
