{"id":17700746,"url":"https://github.com/wrathchaos/react-native-multiple-select","last_synced_at":"2025-05-01T00:54:29.850Z","repository":{"id":86534427,"uuid":"294678902","full_name":"WrathChaos/react-native-multiple-select","owner":"WrathChaos","description":"Customizable \u0026 Animated, Easy to Use Multiple Select Library for React Native","archived":false,"fork":false,"pushed_at":"2021-03-22T20:31:41.000Z","size":13524,"stargazers_count":39,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T00:54:16.866Z","etag":null,"topics":["android","animated","ios","javascript","multi-select","multiple-picker","picker","react-native","select"],"latest_commit_sha":null,"homepage":"https://freakycoder.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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":"2020-09-11T11:37:15.000Z","updated_at":"2024-03-05T12:30:36.000Z","dependencies_parsed_at":"2023-03-13T19:59:01.622Z","dependency_job_id":null,"html_url":"https://github.com/WrathChaos/react-native-multiple-select","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.045454545454545414","last_synced_commit":"25279bd88802cb31766ec92821e2f9150e3e2ab7"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":"WrathChaos/react-native-typescript-library-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-multiple-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-multiple-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-multiple-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-multiple-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-multiple-select/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251806209,"owners_count":21646843,"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","animated","ios","javascript","multi-select","multiple-picker","picker","react-native","select"],"created_at":"2024-10-24T17:43:01.566Z","updated_at":"2025-05-01T00:54:29.813Z","avatar_url":"https://github.com/WrathChaos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Multi Select\" 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-multiple-select)\n\n[![React Native Multi Select](https://img.shields.io/badge/-Customizable%20%26%20Animated%2C%20Easy%20to%20Use%20Multiple%20Select%20Library%20for%20React%20Native-orange?style=for-the-badge)](https://github.com/WrathChaos/react-native-multiple-select)\n\n[![npm version](https://img.shields.io/npm/v/@freakycoder/react-native-multiple-select.svg?style=for-the-badge)](https://www.npmjs.com/package/@freakycoder/react-native-multiple-select)\n[![npm](https://img.shields.io/npm/dt/@freakycoder/react-native-multiple-select.svg?style=for-the-badge)](https://www.npmjs.com/package/@freakycoder/react-native-multiple-select)\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 Multi Select\"\n        src=\"assets/Screenshots/React-Native-Multiple-Select.gif\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```bash\nnpm i @freakycoder/react-native-multiple-select\n```\n\n## Peer Dependencies\n\n\u003ch5\u003e\u003ci\u003eIMPORTANT! You need install them\u003c/i\u003e\u003c/h5\u003e\n\n```js\n\"@freakycoder/react-native-bounceable\": \"\u003e= 0.1.0\",\n\"react-native-animated-spinkit\": \"\u003e= 1.5.2\",\n\"react-native-bouncy-checkbox\": \"\u003e= 1.0.7\"\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport RNMultiSelect, {\n  IMultiSelectDataTypes,\n} from \"@freakycoder/react-native-multiple-select\";\n```\n\n## Fundamental Usage\n\n```jsx\n\u003cRNMultiSelect\n  disableAbsolute\n  data={staticData}\n  onSelect={(selectedItems) =\u003e console.log(\"SelectedItems: \", selectedItems)}\n/\u003e\n```\n\n## Data Format\n\nYou MUST use this format to generate menu items\n\n```js\nimport RNMultiSelect, {\n  IMultiSelectDataTypes,\n} from \"@freakycoder/react-native-multiple-select\";\n\nconst staticData: Array\u003cIMultiSelectDataTypes\u003e = [\n  {\n    id: 0,\n    value: \"Euismod Justo\",\n    isChecked: false,\n  },\n  {\n    id: 1,\n    value: \"Risus Venenatis\",\n    isChecked: false,\n  },\n  {\n    id: 2,\n    value: \"Vestibulum Ullamcorper\",\n    isChecked: false,\n  },\n  {\n    id: 3,\n    value: \"Lorem Nibh\",\n    isChecked: false,\n  },\n  {\n    id: 4,\n    value: \"Ligula Amet\",\n    isChecked: false,\n  },\n];\n```\n\n# Configuration - Props\n\n| Property               |             Type             |  Default  | Description                                                                                                     |\n| ---------------------- | :--------------------------: | :-------: | --------------------------------------------------------------------------------------------------------------- |\n| onSelect               |           function           | undefined | set the selection function when a menu item is selected                                                         |\n| data                   | Array\u003cIMultiSelectDataTypes\u003e | undefined | set the menu item data array for generating menu bar items                                                      |\n| width                  |            number            |    250    | change the width of the component                                                                               |\n| height                 |            number            |    50     | change the height of the main single select button                                                              |\n| darkMode               |           boolean            |   false   | change the theme of the component to `dark theme`                                                               |\n| placeholder            |            string            | \"Select\"  | change the placeholder of the single select component                                                           |\n| imageHeight            |            number            |    25     | change the image source's menu item's image height                                                              |\n| imageWidth             |            number            |    25     | change the image source's menu item's image width                                                               |\n| ImageComponent         |          component           |   Image   | set your own custom Image component instead of default `Image` one                                              |\n| TextComponent          |          component           |   Text    | set your own custom Text component instead of default `Text` one                                                |\n| buttonContainerStyle   |          ViewStyle           |  default  | change/override the top of the single select button (the main one)                                              |\n| menuBarContainerStyle  |          ViewStyle           |  default  | change/override the top of the single select bottom menu bar                                                    |\n| arrowImageStyle        |          ImageStyle          |  default  | change/override the top of the arrow image's style                                                              |\n| menuItemTextStyle      |          TextStyle           |  default  | change/override the top of the each menu bar's item text style                                                  |\n| disableAbsolute        |           boolean            |   false   | if you do not want to use the library without absolute to fix bottom menubar's `overlaps` simply make it `true` |\n| menuBarContainerWidth  |            number            |    250    | change the bottom menu bar's width                                                                              |\n| menuBarContainerHeight |            number            |    150    | change the bottom menu bar's height                                                                             |\n| disableFilterAnimation |           boolean            |   false   | disable the filter animation for huge lists (especially on Android)                                             |\n| onDoneButtonPress      |           function           | undefined | handle the onDoneButtonPress function                                                                           |\n| doneButtonTextStyle    |            style             |  default  | change the done button's text style                                                                             |\n| doneButtonShadowColor  |            style             |  default  | change the done button's shadow style                                                                           |\n| multiSelectionText     |            string            |  default  | change the 3 or more items are selected's text part                                                             |\n| placeholderTextStyle   |            style             |  default  | extends or override the default placeholder's text style                                                        |\n| Spinner                |      spinner component       |   Chase   | change the spinner type                                                                                         |\n| spinnerSize            |            number            |    30     | change the spinner size                                                                                         |\n| spinnerColor           |            color             |  default  | change the spinner color                                                                                        |\n\n## List of available types for Spinner\n\n- `\u003cPlane /\u003e`\n- `\u003cChase /\u003e`\n- `\u003cBounce /\u003e`\n- `\u003cWave /\u003e`\n- `\u003cPulse /\u003e`\n- `\u003cFlow /\u003e`\n- `\u003cSwing /\u003e`\n- `\u003cCircle /\u003e`\n- `\u003cCircleFade /\u003e`\n- `\u003cGrid /\u003e`\n- `\u003cFold /\u003e`\n- `\u003cWander /\u003e`\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n- [x] ~~Typescript Challenge!~~\n- [x] ~~Dark Mode (Coming Soon!)~~\n- [ ] Write an article about the lib on Medium\n\n## Credits\n\nHeavily Inspired by [Manuel Rovira's Work](https://dribbble.com/shots/9395928/attachments/1420569?mode=media)\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Multi Select 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-multiple-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-multiple-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-multiple-select/lists"}