{"id":16639967,"url":"https://github.com/hrach/navigation-compose-ext","last_synced_at":"2026-04-07T19:31:14.568Z","repository":{"id":240295684,"uuid":"800192286","full_name":"hrach/navigation-compose-ext","owner":"hrach","description":"Extensions for Jetpack Navigation Compose: Material 3 BottomSheet, custom ModalSheet, Results and more.","archived":false,"fork":false,"pushed_at":"2026-02-13T20:27:23.000Z","size":295,"stargazers_count":35,"open_issues_count":13,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-03T08:13:25.039Z","etag":null,"topics":["bottomsheet","compose","modals","navigation","navigation-compose"],"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/hrach.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"hrach"}},"created_at":"2024-05-13T21:57:52.000Z","updated_at":"2026-01-18T08:06:17.000Z","dependencies_parsed_at":"2026-02-05T12:14:42.654Z","dependency_job_id":null,"html_url":"https://github.com/hrach/navigation-compose-ext","commit_stats":null,"previous_names":["hrach/navigation-compose","hrach/navigation-compose-ext"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/hrach/navigation-compose-ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrach%2Fnavigation-compose-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrach%2Fnavigation-compose-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrach%2Fnavigation-compose-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrach%2Fnavigation-compose-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrach","download_url":"https://codeload.github.com/hrach/navigation-compose-ext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrach%2Fnavigation-compose-ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bottomsheet","compose","modals","navigation","navigation-compose"],"created_at":"2024-10-12T07:07:30.405Z","updated_at":"2026-04-07T19:31:14.553Z","avatar_url":"https://github.com/hrach.png","language":"Kotlin","funding_links":["https://github.com/sponsors/hrach"],"categories":[],"sub_categories":[],"readme":"Extensions for Navigation Compose\n=================================\n\n[![CI Build](https://img.shields.io/github/actions/workflow/status/hrach/navigation-compose-ext/build.yml?branch=main)](https://github.com/hrach/navigation-compose-ext/actions/workflows/build.yml)\n[![GitHub release](https://img.shields.io/github/v/release/hrach/navigation-compose-ext)](https://github.com/hrach/navigation-compose-ext/releases)\n\nSee `demo` module.\n\nUse Maven Central and these dependencies:\n\n```kotlin\ndependencies {\n\timplementation(\"dev.hrach.navigation:bottomsheet:\u003cversion\u003e\")\n\timplementation(\"dev.hrach.navigation:modalsheet:\u003cversion\u003e\")\n\timplementation(\"dev.hrach.navigation:results:\u003cversion\u003e\")\n}\n```\n\nComponents:\n\n- **BottomSheet** - Connects the official Material 3 BottomSheet with Jetpack Navigation.\n- **ModalSheet** - A custom destination type for Jetpack Navigation that brings fullscreen content with modal animation.\n- **Results** - Passing a result simply between destinations.\n\nQuick setup:\n\n```kotlin\nval modalSheetNavigator = remember { ModalSheetNavigator() }\nval bottomSheetNavigator = remember { BottomSheetNavigator() }\nval navController = rememberNavController(modalSheetNavigator, bottomSheetNavigator)\n\nNavHost(\n\tnavController = navController,\n\tstartDestination = Destinations.Home,\n) {\n\tcomposable\u003cDestinations.Home\u003e { Home(navController) }\n\tmodalSheet\u003cDestinations.Modal\u003e { Modal(navController) }\n\tbottomSheet\u003cDestinations.BottomSheet\u003e { BottomSheet(navController) }\n}\nModalSheetHost(modalSheetNavigator, containerColor = MaterialTheme.colorScheme.background)\nBottomSheetHost(bottomSheetNavigator)\n```\n\nResults sharing:\n\n```kotlin\nobject Destinations {\n\t@Serializable\n\tdata object BottomSheet {\n\t\t@Serializable\n\t\tdata class Result(\n\t\t\tval id: Int,\n\t\t)\n\t}\n}\n\n@Composable\nfun Home(navController: NavController) {\n\tNavigationResultEffect\u003cDestinations.BottomSheet.Result\u003e(\n\t\tbackStackEntry = remember(navController) { navController.getBackStackEntry\u003cDestinations.Home\u003e() },\n\t\tnavController = navController,\n\t) { result -\u003e\n\t\t// process result -\n\t}\n}\n\n@Composable\nfun BottomSheet(navController: NavController) {\n\tOutlineButton(onClick = { navController.setResult(Destinations.BottomSheet.Result(42)) }) {\n\t\tText(\"Close\")\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrach%2Fnavigation-compose-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrach%2Fnavigation-compose-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrach%2Fnavigation-compose-ext/lists"}