{"id":17700787,"url":"https://github.com/wrathchaos/react-native-bottom-menu","last_synced_at":"2025-05-07T08:44:22.564Z","repository":{"id":35065071,"uuid":"200250752","full_name":"WrathChaos/react-native-bottom-menu","owner":"WrathChaos","description":"Fully customizable Bottom Menu for React Native.","archived":false,"fork":false,"pushed_at":"2023-10-21T00:16:24.000Z","size":17619,"stargazers_count":19,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-02T11:44:04.064Z","etag":null,"topics":["android","apple","application","design","freakycoder","front-end","front-end-development","google","ios","jsx","kuray","library","mobile","mobile-app-development","react","react-native","reactjs"],"latest_commit_sha":null,"homepage":"https://www.freakycoder.com","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/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-08-02T14:40:48.000Z","updated_at":"2025-03-30T10:49:07.000Z","dependencies_parsed_at":"2024-10-24T21:24:31.235Z","dependency_job_id":"b871623c-3071-4096-bd15-6361f87edffc","html_url":"https://github.com/WrathChaos/react-native-bottom-menu","commit_stats":{"total_commits":59,"total_committers":4,"mean_commits":14.75,"dds":0.5423728813559322,"last_synced_commit":"a153a39386400423916a9dc2f51480cde8195c08"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-bottom-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-bottom-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-bottom-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-bottom-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-bottom-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252846128,"owners_count":21813380,"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","application","design","freakycoder","front-end","front-end-development","google","ios","jsx","kuray","library","mobile","mobile-app-development","react","react-native","reactjs"],"created_at":"2024-10-24T17:43:07.632Z","updated_at":"2025-05-07T08:44:22.546Z","avatar_url":"https://github.com/WrathChaos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Bottom Menu\" src=\"https://github.com/WrathChaos/react-native-bottom-menu/blob/master/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-bottom-menu)\n\n[![Fully customizable Bottom Menu for React Native](https://img.shields.io/badge/-Fully%20customizable%20Bottom%20Menu%20for%20React%20Native-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-bottom-menu)\n\n[![npm version](https://img.shields.io/npm/v/react-native-bottom-menu.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-bottom-menu)\n[![npm](https://img.shields.io/npm/dt/react-native-bottom-menu.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-bottom-menu)\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 Bottom Menu\" src=\"https://github.com/WrathChaos/react-native-bottom-menu/blob/master/assets/Screenshots/example1.png\"  height=\"685\"/\u003e\n\u003cimg alt=\"React Native Bottom Menu\" src=\"https://github.com/WrathChaos/react-native-bottom-menu/blob/master/assets/Screenshots/ReactNativeBottomMenu.gif\" height=\"685\" /\u003e\n\u003c/p\u003e\n\n## Installation\n\nAdd the dependency:\n\n### React Native:\n\n```ruby\nnpm i react-native-bottom-menu\n```\n\n## Peer Dependencies\n\n###### IMPORTANT! You need install them.\n\n```\n\"react\": \"\u003e= 16.x.x\",\n\"react-native\": \"\u003e= 0.55.x\",\n\"react-native-androw\": \"\u003e= 0.0.31\",\n\"react-native-vector-icons\": \"\u003e= 6.x.x\",\n\"react-native-dynamic-vector-icons\": \"\u003e= x.x.x\"\n```\n\n## Basic Usage\n\n### You can use any other component rather than Item component. It's all customizable. \n```js\nimport { BottomMenu, Item } from \"react-native-bottom-menu\";\n```\n\n```js\n\u003cBottomMenu\u003e\n  \u003cItem\n    size={22}\n    name=\"home\"\n    text=\"Home\"\n    type=\"Octicons\"\n    onPress={() =\u003e {})}\n  /\u003e\n\u003c/BottomMenu\u003e\n```\n\n## Advanced Usage\n\nYou can check the example for the advanced usage\n\n```js\n\u003cBottomMenu\u003e\n  \u003cItem\n    size={22}\n    name=\"home\"\n    text=\"Home\"\n    type=\"Octicons\"\n    isActive={this.state.isActive == \"home\" ? true : false}\n    onPress={() =\u003e this.setState({ isActive: \"home\" })}\n  /\u003e\n  \u003cItem\n    size={22}\n    type=\"Feather\"\n    text=\"Messages\"\n    name=\"message-circle\"\n    isActive={this.state.isActive == \"messages\" ? true : false}\n    onPress={() =\u003e this.setState({ isActive: \"messages\" })}\n  /\u003e\n  \u003cItem\n    size={30}\n    name=\"cart\"\n    text=\"Cart\"\n    type=\"EvilIcons\"\n    isActive={this.state.isActive == \"cart\" ? true : false}\n    onPress={() =\u003e this.setState({ isActive: \"cart\" })}\n  /\u003e\n  \u003cItem\n    size={22}\n    name=\"settings\"\n    text=\"Settings\"\n    type=\"SimpleLineIcons\"\n    isActive={this.state.isActive == \"settings\" ? true : false}\n    onPress={() =\u003e this.setState({ isActive: \"settings\" })}\n  /\u003e\n\u003c/BottomMenu\u003e\n```\n\n## BottomMenu Wrapper with React Hooks as an Example\n\n```js\nimport React, { useState } from \"react\";\nimport { BottomMenu, Item } from \"react-native-bottom-menu\";\n\nconst BottomMenuWrapper = props =\u003e {\n  const [isActive, setActive] = useState(\"home\");\n  return (\n    \u003cBottomMenu\u003e\n      \u003cItem\n        size={22}\n        name=\"home\"\n        text=\"Home\"\n        type=\"Octicons\"\n        isActive={isActive == \"home\" ? true : false}\n        onPress={() =\u003e setActive(\"home\")}\n      /\u003e\n      \u003cItem\n        size={22}\n        type=\"Feather\"\n        text=\"Messages\"\n        name=\"message-circle\"\n        isActive={isActive == \"messages\" ? true : false}\n        onPress={() =\u003e setActive(\"messages\")}\n      /\u003e\n      \u003cItem\n        size={30}\n        name=\"cart\"\n        text=\"Cart\"\n        type=\"EvilIcons\"\n        isActive={isActive == \"cart\" ? true : false}\n        onPress={() =\u003e setActive(\"cart\")}\n      /\u003e\n      \u003cItem\n        size={22}\n        name=\"settings\"\n        text=\"Settings\"\n        type=\"SimpleLineIcons\"\n        isActive={isActive == \"settings\" ? true : false}\n        onPress={() =\u003e setActive(\"settings\")}\n      /\u003e\n    \u003c/BottomMenu\u003e\n  );\n};\n\nexport default BottomMenuWrapper;\n```\n\n#### Usage\n```js\nimport BottomMenu from \"shared-components/BottomMenuWrapper\";\n\n\u003cBottomMenu /\u003e\n```\n\n\n### ToDos\n\n- [x] LICENSE\n- [ ] Write an article about the lib on Medium\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Bottom Menu Library 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-bottom-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-bottom-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-bottom-menu/lists"}