Compose Multiplatform Patterns helps an agent structure shared user interfaces across Android, iOS, Desktop, and Web using Jetpack Compose and Compose Multiplatform. It covers state management approaches like ViewModels with single state objects and event sinks, type-safe navigation, slot-based design, modifier ordering, and platform-specific UI rendering. Additionally, it addresses performance optimizations such as stable types and lazy list keying, Material 3 dynamic theming, and common anti-patterns to avoid. Reach for this skill when building or refactoring Compose UI components in a Kotlin Multiplatform project.
Key Features
ViewModel and single state object pattern
Type-safe navigation routing
Slot-based composable design
Skippable recomposition performance optimizations
Privacy & Security
Data Collection
This tool follows industry-standard security practices and only collects data necessary for functionality.