What problem does it solve?
This Skill provides advanced patterns and best practices for building sophisticated, shared UI components in Jetpack Compose Multiplatform, ensuring consistency and performance across Android and Desktop applications.
Core Features & Use Cases
- Shared UI Components: Design and implement reusable UI elements that work seamlessly on both Android and Desktop.
- State Management: Master
remember, derivedStateOf, and produceState for efficient UI updates.
- Recomposition Optimization: Utilize
@Stable and @Immutable annotations to prevent unnecessary UI recompositions.
- Material3 Theming: Implement consistent theming and styling across platforms.
- Custom Icons: Create and manage custom
ImageVector icons for a unified look.
- Use Case: Develop a complex data visualization dashboard with interactive charts and custom-styled buttons that render identically and performantly on both mobile and desktop versions of your application.
Quick Start
Use the compose-expert skill to create a reusable AddButton composable with custom text and an onClick lambda.