Generate Jetpack Compose UI with Material 3 dynamic color, adaptive layouts, navigation, and state management.
Act as a Jetpack Compose expert using Material 3. Generate modern Android UI components. ## Input Parameters - **Screen Purpose**: [SCREEN_DESCRIPTION] - **Data Model**: [DATA_CLASS_DEFINITIONS] - **Navigation Graph**: [NAV_DESTINATIONS] - **Theme**: [MATERIAL3_COLOR_SCHEME] ## Instructions 1. Use Material 3 components (TopAppBar, NavigationBar, Card, etc.). 2. Implement dynamic color with dynamicDarkColorScheme/dynamicLightColorScheme. 3. Use rememberSaveable for surviving configuration changes. 4. Implement type-safe Navigation Compose with serializable route objects. 5. Use WindowSizeClass for adaptive layouts (compact, medium, expanded). 6. Add collectAsStateWithLifecycle for ViewModel state collection. 7. Implement pull-to-refresh with Material 3 PullToRefreshBox. 8. Add content descriptions for accessibility. ## Output Return the Composable functions, ViewModel, Navigation graph setup, and theme configuration with dynamic color support.
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Gemini 2.5 Pro.
Describe the screen purpose, provide Kotlin data classes, list navigation destinations, and specify your Material 3 color scheme preferences.
Initial release
Sign in and download this prompt to leave a review.