{"id":21094976,"url":"https://github.com/eygraber/compose-material3-navigation","last_synced_at":"2025-04-13T01:42:52.080Z","repository":{"id":263238563,"uuid":"889754272","full_name":"eygraber/compose-material3-navigation","owner":"eygraber","description":"A library which provides Compose Material3 support for Jetpack Navigation Compose. This features composable bottom sheet destinations.","archived":false,"fork":false,"pushed_at":"2025-04-09T02:12:45.000Z","size":232,"stargazers_count":22,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T01:42:38.002Z","etag":null,"topics":["androidx-navigation","bottom-sheet","bottomsheet","compose","material3"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eygraber.png","metadata":{"files":{"readme":"README.md","changelog":"changelog_config.json","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-17T06:16:57.000Z","updated_at":"2025-04-08T22:47:03.000Z","dependencies_parsed_at":"2024-12-20T00:24:13.981Z","dependency_job_id":"8d1c3884-dbad-4749-867c-db9c199434cf","html_url":"https://github.com/eygraber/compose-material3-navigation","commit_stats":null,"previous_names":["eygraber/compose-material3-navigation"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eygraber%2Fcompose-material3-navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eygraber%2Fcompose-material3-navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eygraber%2Fcompose-material3-navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eygraber%2Fcompose-material3-navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eygraber","download_url":"https://codeload.github.com/eygraber/compose-material3-navigation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654030,"owners_count":21140235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["androidx-navigation","bottom-sheet","bottomsheet","compose","material3"],"created_at":"2024-11-19T22:21:42.701Z","updated_at":"2025-04-13T01:42:52.071Z","avatar_url":"https://github.com/eygraber.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compose Material3 Navigation\n\nA library which provides [Compose Material3](https://developer.android.com/jetpack/androidx/releases/compose-material3)\nsupport for [Jetpack Navigation Compose](https://developer.android.com/jetpack/compose/navigation).\nThis features composable bottom sheet destinations.\n\n## Usage\n\n### Bottom Sheet Destinations\n\n1. Create a `ModalBottomSheetNavigator` and add it to the `NavController`:\n```kotlin\n@Composable\nfun MyApp() {\n    val bottomSheetNavigator = rememberModalBottomSheetNavigator()\n    val navController = rememberNavController(bottomSheetNavigator)\n}\n```\n2. Wrap your `NavHost` in the `ModalBottomSheetLayout` composable that accepts a `ModalBottomSheetNavigator`.\n```kotlin\n@Composable\nfun MyApp() {\n    val bottomSheetNavigator = rememberModalBottomSheetNavigator()\n    val navController = rememberNavController(bottomSheetNavigator)\n    ModalBottomSheetLayout(bottomSheetNavigator) {\n        NavHost(navController, \"home\") {\n           // We'll define our graph here in a bit!\n        }\n    }\n}\n```\n3. Register a bottom sheet destination\n```kotlin\n@Composable\nfun MyApp() {\n    val bottomSheetNavigator = rememberModalBottomSheetNavigator()\n    val navController = rememberNavController(bottomSheetNavigator)\n    ModalBottomSheetLayout(bottomSheetNavigator) {\n        NavHost(navController, \"home\") {\n           composable(route = \"home\") {\n               ...\n           }\n           bottomSheet(route = \"sheet\") {\n               Text(\"This is a cool bottom sheet!\")\n           }\n        }\n    }\n}\n```\n\n## Setup\n\n```\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation(\"com.eygraber:compose-material3-navigation:0.0.7\")\n}\n```\n\nSnapshots can be found [here](https://s01.oss.sonatype.org/content/repositories/snapshots/com/eygraber/compose-material3-navigation).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feygraber%2Fcompose-material3-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feygraber%2Fcompose-material3-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feygraber%2Fcompose-material3-navigation/lists"}