{"id":13776558,"url":"https://github.com/timomeh/react-native-android-bottom-navigation","last_synced_at":"2025-05-11T10:31:06.755Z","repository":{"id":73992100,"uuid":"82503450","full_name":"timomeh/react-native-android-bottom-navigation","owner":"timomeh","description":"Native UI Component of Android's BottomNavigation for react-native","archived":false,"fork":false,"pushed_at":"2017-02-24T01:44:16.000Z","size":238,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T23:54:58.199Z","etag":null,"topics":["react-native","react-native-component"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/timomeh.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-02-20T01:22:29.000Z","updated_at":"2024-08-03T18:10:26.699Z","dependencies_parsed_at":null,"dependency_job_id":"b4b5b8ad-9fb7-46cc-a632-7d4d89f831c2","html_url":"https://github.com/timomeh/react-native-android-bottom-navigation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timomeh%2Freact-native-android-bottom-navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timomeh%2Freact-native-android-bottom-navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timomeh%2Freact-native-android-bottom-navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timomeh%2Freact-native-android-bottom-navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timomeh","download_url":"https://codeload.github.com/timomeh/react-native-android-bottom-navigation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551595,"owners_count":21926320,"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":["react-native","react-native-component"],"created_at":"2024-08-03T18:00:28.903Z","updated_at":"2025-05-11T10:31:05.571Z","avatar_url":"https://github.com/timomeh.png","language":"Java","readme":"# Native BottomNavigation for react-native\n\n### Note: Development switched to [timomeh/react-native-material-bottom-navigation](https://github.com/timomeh/react-native-material-bottom-navigation)**\n\nThis is a bridge to Android's native [BottomNavigation](https://material.io/guidelines/components/bottom-navigation.html). Because this is a Native Component, it only works with Android, not with iOS.\n\nHeavily inspired by react-native's implementation of ToolbarAndroid.\n\n![with 3 tabs](.github/demo-3tabs.gif) ![with 4 tabs](.github/demo-4tabs.gif)\n\n\n## Example\n\n```js\n\u003cBottomNavigation\n  style={{ backgroundColor: '#009688', height: 56, position: 'absolute', bottom: 0, left: 0, right: 0 }}\n  activeTab={0}\n  tabs={[\n    { title: 'Tab 1', icon: require('./icon1.png') },\n    { title: 'Tab 2', icon: require('./icon2.png') },\n    { title: 'Tab 3', icon: require('./icon3.png'), disabled: true }\n  ]}\n  labelColors={{\n    default: 'white',\n    active: 'red',\n    disabled: 'black'\n  }}\n  iconTint={{\n    default: 'white',\n    active: 'red',\n    disabled: 'black'\n  }}\n  onTabSelected={activeTab =\u003e console.log(activeTab)}\n/\u003e\n```\n\n## Options\n\nAll currently available options are used in the example above.\n\n- `activeTab` sets the active Tab.\n- `tabs` is the configuration for the rendered Tabs.\n  - Up to 5 Tabs possible.\n- `labelColors` sets the color of the Tab's Label for the given state.\n- `iconTint` sets the tintColor of the Tab's Icon for the given state. (DOESN'T WORK CURRENTLY)\n- `onTabSelected` is a click listener with one parameter, which returns the index of the pressed Tab.\n\n## TODO\n\n- Get `iconTint` to work. Maybe it has something to do with Fresco? Don't know.\n","funding_links":[],"categories":["\u003ca name=\"UI:-Native-Modules\"\u003eUI: Native Modules\u003c/a\u003e"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimomeh%2Freact-native-android-bottom-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimomeh%2Freact-native-android-bottom-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimomeh%2Freact-native-android-bottom-navigation/lists"}