Compose Multiplatform · AThevon/genjutsu

Share Compose UI code across Android, iOS, desktop, web

Explains Compose Multiplatform and Kotlin Multiplatform patterns such as expect/actual declarations, project structure, and platform-specific handling, for building one Compose UI codebase that runs on Android, iOS, desktop, and web targets.

Good for

  • Structure a Compose Multiplatform project's source sets
  • Write an expect/actual function for platform code
  • Share UI logic across Android, iOS, and desktop
Source repository
AThevon/genjutsu
Category
General

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Show me how to write an expect/actual function to open a share sheet on both Android and iOS.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.