{"id":4339,"url":"https://github.com/lvlrSajjad/react-native-expandable-fab-menu","last_synced_at":"2025-08-04T01:31:58.050Z","repository":{"id":57336828,"uuid":"148932417","full_name":"lvlrSajjad/react-native-expandable-fab-menu","owner":"lvlrSajjad","description":"React Native Expandable Fab Menu Component (pure js)","archived":false,"fork":false,"pushed_at":"2018-09-15T22:32:42.000Z","size":89,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T14:45:26.331Z","etag":null,"topics":["react-native","react-native-component","react-native-expandable","react-native-expandable-fab","react-native-expandable-fab-menu","react-native-fab","react-native-fab-menu","react-native-menu"],"latest_commit_sha":null,"homepage":"","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/lvlrSajjad.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":"2018-09-15T19:16:11.000Z","updated_at":"2023-11-12T20:56:25.000Z","dependencies_parsed_at":"2022-09-11T11:11:10.969Z","dependency_job_id":null,"html_url":"https://github.com/lvlrSajjad/react-native-expandable-fab-menu","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/lvlrSajjad%2Freact-native-expandable-fab-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-expandable-fab-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-expandable-fab-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-expandable-fab-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvlrSajjad","download_url":"https://codeload.github.com/lvlrSajjad/react-native-expandable-fab-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228533923,"owners_count":17933243,"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","react-native-expandable","react-native-expandable-fab","react-native-expandable-fab-menu","react-native-fab","react-native-fab-menu","react-native-menu"],"created_at":"2024-01-05T20:17:08.783Z","updated_at":"2024-12-07T08:30:29.971Z","avatar_url":"https://github.com/lvlrSajjad.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["UI"],"readme":"\n# react-native-expandable-fab-menu [![npm version](https://img.shields.io/npm/v/react-native-expandable-fab-menu.svg)](https://www.npmjs.com/package/react-native-expandable-fab-menu)\n\u003cimg src=\"https://raw.githubusercontent.com/lvlrSajjad/react-native-expandable-fab-menu/master/img.gif\"\u003e\n\n## Getting started\n\n`$ npm install react-native-expandable-fab-menu --save`\n\n## Props\n    closeIcon,openIcon = React Native Component (You Can Use Image Component or vector icon components or \n\t\tanything you want, recommanded width and height are 32)\n\t\t\n    menuIcons = array of React Native Component recommanded width and height are 24 , maximum lenght is 4\n\t\n    menuItemClicked= function returned index is index of menuIcons array\n\t\n## Usage\n```javascript\nimport React, {Component} from 'react';\nimport {Platform, StyleSheet, Text, View, TouchableOpacity, Image} from 'react-native';\nimport {ExpandableFabMenu} from 'react-native-expandable-fab-menu';\n\n\ntype Props = {};\nexport default class App extends Component\u003cProps\u003e {\n    render() {\n        return (\n\n            \u003cView style={styles.container}\u003e\n                \n                \n                \u003cExpandableFabMenu\n                    closeIcon={\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 32, height: 32}}\n                            source={require('./menu.png')}/\u003e\n                    }\n                    openIcon={\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 32, height: 32}}\n                            source={require('./close_dark.png')}/\u003e\n                    }\n                    menuIcons={[\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 24, height: 24}}\n                            source={require('./biohazard.png')}/\u003e,\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 24, height: 24}}\n                            source={require('./nuke.png')}/\u003e,\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 24, height: 24}}\n                            source={require('./menu.png')}/\u003e,\n                        \u003cImage\n                            style={{alignSelf: 'center', width: 24, height: 24}}\n                            source={require('./menu.png')}/\u003e\n                    ]}\n                    menuItemClicked={(index) =\u003e console.log(index)}\n                /\u003e\n            \u003c/View\u003e\n        );\n    }\n}\n\nconst styles = StyleSheet.create({\n    container: {\n        flex: 1,\n        justifyContent: 'center',\n        alignItems: 'center',\n        backgroundColor: '#EEEEEE',\n    },\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlvlrSajjad%2Freact-native-expandable-fab-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FlvlrSajjad%2Freact-native-expandable-fab-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlvlrSajjad%2Freact-native-expandable-fab-menu/lists"}