{"id":17700772,"url":"https://github.com/wrathchaos/react-native-tab-bars","last_synced_at":"2025-05-08T07:42:18.796Z","repository":{"id":36200415,"uuid":"222257379","full_name":"WrathChaos/react-native-tab-bars","owner":"WrathChaos","description":"Fully customizable navigation tab bar for React Native","archived":false,"fork":false,"pushed_at":"2023-07-18T20:13:18.000Z","size":3344,"stargazers_count":18,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T17:59:46.374Z","etag":null,"topics":["android","apple","customizable","google","ios","library","mobile","mobile-app","mobile-development","react","react-native","reactjs","tab","tab-bar"],"latest_commit_sha":null,"homepage":"https://freakycoder.com","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/WrathChaos.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":"2019-11-17T14:05:16.000Z","updated_at":"2023-10-24T16:04:45.000Z","dependencies_parsed_at":"2024-10-24T21:24:30.118Z","dependency_job_id":"b3c50e4f-8c0c-495e-8999-8b0c68da6fe3","html_url":"https://github.com/WrathChaos/react-native-tab-bars","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":0.5121951219512195,"last_synced_commit":"e83a008b9632d0df52d86ae1608c3b774684212e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-tab-bars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-tab-bars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-tab-bars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-tab-bars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-tab-bars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253025320,"owners_count":21842407,"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":["android","apple","customizable","google","ios","library","mobile","mobile-app","mobile-development","react","react-native","reactjs","tab","tab-bar"],"created_at":"2024-10-24T17:43:04.394Z","updated_at":"2025-05-08T07:42:18.775Z","avatar_url":"https://github.com/WrathChaos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Tab Bars\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/WrathChaos/react-native-tab-bars)\n\n[![Fully customizable navigation tab bar for React Native](https://img.shields.io/badge/-Fully%20customizable%20navigation%20tab%20bar%20for%20React%20Native-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-tab-bars)\n\n[![npm version](https://img.shields.io/npm/v/react-native-tab-bars.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-tab-bars)\n[![npm](https://img.shields.io/npm/dt/react-native-tab-bars.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-tab-bars)\n![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"React Native Tab Bars\"\n        src=\"assets/Screenshots/example.gif\" width=\"49%\" /\u003e\n  \u003cimg alt=\"React Native Tab Bars\"\n        src=\"assets/Screenshots/example.png\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```ruby\nnpm i react-native-tab-bars\n```\n\n## Peer Dependencies\n\n###### IMPORTANT! You need install them\n\n```js\n\"react\": \"\u003e= 16.x.x\",\n\"react-native\": \"\u003e= 0.55.x\",\n\"react-native-androw\": \"\u003e= 0.0.34\"\n```\n\n# Usage\n\n## Import\n\n```js\nimport { SolidTabBar } from \"react-native-tab-bars\";\n```\n\n## Usage\n\n```jsx\n\u003cSolidTabBar\n  initial={0}\n  onChange={(data) =\u003e console.log(data)}\n  tabs={[\n    { id: 0, text: \"All\" },\n    { id: 1, text: \"Birds\" },\n    { id: 2, text: \"Fishes\" },\n    { id: 3, text: \"Tigers\" },\n  ]}\n/\u003e\n```\n\n## Tabs Object Array Format\n\n```js\n[\n  { id: 0, text: \"All\" },\n  { id: 1, text: \"Birds\" },\n  { id: 2, text: \"Fishes\" },\n  { id: 3, text: \"Tigers\" },\n];\n```\n\n# Configuration - Props\n\n| Property          |   Type    |   Default    | Description                                                       |\n| ----------------- | :-------: | :----------: | ----------------------------------------------------------------- |\n| tabs              |   array   | object array | you have to set your object array with formatted example as above |\n| initial           |  number   |     null     | default selected tab                                              |\n| onPress           | function  |   default    | set your own logic when a tab is pressed                          |\n| onChange          | function  |   default    | set your own logic when selected tab is changed                   |\n| tabWith           |  number   |      60      | change the each tab's width value                                 |\n| tabPadding        |  number   |      5       | change the each tab's padding value                               |\n| shadowStyle       |   style   |    shadow    | set your own shadow style for selected tab                        |\n| shadowColor       |   color   |   #757575    | change the current shadow color                                   |\n| activeColor       |   color   |   #fbd000    | change the selected tab's color                                   |\n| inActiveColor     |   color   | transparent  | change the unselected tabs' color                                 |\n| activeTextColor   |   color   |     #fff     | change the selected tab's text color                              |\n| inactiveTextColor |   color   |     #000     | change the unselected tabs' text color                            |\n| Container         | component |     View     | change the main container's component type                        |\n| style             |   style   |   default    | change or override the main container's style object              |\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n- [ ] Dotted Tab Bar Component Option\n- [ ] Animation\n- [x] ~~Typescript Challenge!~~\n- [ ] Write an article about the lib on Medium\n\n# Credits\n\nDesign inspired by [Sina Amiriyam](https://www.instagram.com/p/B4sJzZBAfGr/)\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Tab Bars is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-tab-bars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-tab-bars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-tab-bars/lists"}