{"id":4055,"url":"https://github.com/alinz/react-native-tabbar","last_synced_at":"2025-04-07T05:09:17.223Z","repository":{"id":34196219,"uuid":"38051077","full_name":"alinz/react-native-tabbar","owner":"alinz","description":"Tab bar with more freedom","archived":false,"fork":false,"pushed_at":"2017-04-26T03:00:24.000Z","size":1727,"stargazers_count":266,"open_issues_count":4,"forks_count":49,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-31T04:08:22.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/alinz.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}},"created_at":"2015-06-25T13:31:09.000Z","updated_at":"2025-03-23T11:33:45.000Z","dependencies_parsed_at":"2022-09-04T11:02:02.729Z","dependency_job_id":null,"html_url":"https://github.com/alinz/react-native-tabbar","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinz%2Freact-native-tabbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinz%2Freact-native-tabbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinz%2Freact-native-tabbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinz%2Freact-native-tabbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alinz","download_url":"https://codeload.github.com/alinz/react-native-tabbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595334,"owners_count":20963943,"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":[],"created_at":"2024-01-05T20:16:59.715Z","updated_at":"2025-04-07T05:09:17.197Z","avatar_url":"https://github.com/alinz.png","language":"JavaScript","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"## react-native-tabbar\n\nReact-Native Tab bar with more freedom\n\n### Introduction\n\nI have decided to remove all the abstraction from this module. Now there is only\none component, and that is `Tabbar`. All the children inside `Tabbar` component will\nbe rendered inside of it. There are no `TabItem`, `WithIcon` or anything else. what you put into `Tabbar` will be displayed as tabs. By doing that, you can attach it to your\nfavourite state managements such as `Redux`, or `Mobx`. This module should be use as a first base block for more sophisticated tabbar. Please take a look at examples folder as I added couple of common usage.\n\n### Installation\n\n```bash\nnpm install react-native-tabbar\n```\n\n### Methods\n\n| name | arguments | description |\n|----|----|----|\n| hide | duration | shows the tabbar with animations, default duration is 200 ms |\n| show | duration | shows the tabbar with animations, default duration is 200 ms |\n| updateHeight | scrollY position | pass the value of onScroll y position to show or hide tabbar |\n| recalculate | none | once your orientation changes, call this method to re calculate the correct position of tabbar |\n\n### Props\n\n| name | type | default value | description |\n|----|----|----|----|\n| height | number | 50 | the height of tabbar |\n| offset | number | 150 | how far you have to scroll before tabbar starts to disappear |\n| step | number | 0.25 | the lower the number the slower the tabbar disappear |\n| show | boolean | true | if you want to not show the tabbar at the start, pass false to this prop |\n| disable | boolean | false | disables the progress show/hide tabbar |\n\n### examples\n\n- Tabbar changes based on Orientation\n![](./tabbar-orientation.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falinz%2Freact-native-tabbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falinz%2Freact-native-tabbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falinz%2Freact-native-tabbar/lists"}