An Easy to Use Multi Select Dropdown Component for React.js

Usage no npm install needed!

<script type="module">
  import easyReactMultiselectDropdown from 'https://cdn.skypack.dev/easy-react-multiselect-dropdown';


React Multi-Select Dropdown Component

This is a react dropdown component for multi-select dropdown.


import MultiSelectDropdown from ./MultiSelectDropdown.js

Use Tag <MultiSelectDropdown />


  1. getSelected: (function) a function to get the options selected. This function is called everytime the state changes

  2. options: (array) an array that holds all the 'options' for the dropdown field

  3. (optional) color: string to specify the text color of the option selected (defaults to 'white')

  4. (optional) bgColor: string to specify the background color of the option selected (defaults to '#9f00e9')


Example React Multi Select Dropdown Component