{"repo":"sanusart/react-dropdown-select","free":true,"listed":false,"github":"https://github.com/sanusart/react-dropdown-select","clone":"git clone https://github.com/sanusart/react-dropdown-select.git","description":"Customisable dropdown select for react","language":"TypeScript","stars":365,"topics":["select","react","dropdown","menu","multi-select","reactjs"],"license":"MIT","category":"ui-components","readme_excerpt":"react-dropdown-select Customisable dropdown select for react Features - configurable via prop s - total custom components overrides for all internals via render prop callbacks (with access to internal props, state and methods) - stylable via css (or custom components) - portal support for rendering dropdown outside local DOM tree. e.g. in document.body - auto position - small bundle size Installation npm install --save react-dropdown-select Docs and Storybook Docs Storybook Motivation react-select is very nice, but sometimes project requirements are beyond it's abilities Usage import: import Select from \"react-dropdown-select\"; and use as: If your options don't have value and label fields, include labelField and valueField in the props: options and onChange are the minimum required props Help and Contributions Development The repository is a pnpm workspace. The component lives in packages/react-dropdown-select and the docs site in packages/docs-site . How to help/contribute - fix issues, pull request are very welcome - write, improve docs - write tests (we use jest) - suggest features and improvements Demo API Component props Prop Type Default Description ------------------------------------------------------------------------------------------- ----------- -------------- -------------------------------------------------------------------------------------------------------------------------------------- values array [] Selected values options array [] Available options, (opt","default_branch":null,"files":null,"tree":[],"storefront":"/r/sanusart","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sanusart/react-dropdown-select/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}