
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
dropdown-select
Advanced tools
A group of dropdown select controls for React JS.
Live Demo: https://ganapathy888.github.io/dropdown-select/
Add package using Yarn or Npm.
yarn add dropdown-select
npm install dropdown-select
Import dropdown select controls and its styles into your component.
import { SimpleSelect, AsyncSelect, MultiSelect } from "dropdown-select";
import "dropdown-select/dist/css/dropdown-select.css";
Alternatively, you can import the styles form .scss files as follows:
@import "~dropdown-select/dist/css/dropdown-select.css";
Simple select control with array of string options:
<SimpleSelect
options={['option1', 'option2', ...]}
/>
Simple select control with array of object options:
<SimpleSelect options={[{}, {}]} labelKey="nameKey" valueKey="valueKey" />;
Async Select: (Here the fetchOptions accepts a function that returns Promise)
<AsyncSelect
fetchOptions={this.fetchOptions}
labelKey="nameKey"
valueKey="valueKey"
/>;
Multi Select: (Checkbox Styled Options)
It accepts and returns array of options
<MultiSelect options={[]} />;
Using simple select as custom component in redux-form
renderSelectField(props) {
const { meta: { touched, error } } = props;
return (
<div>
<SimpleSelect
{...props.input}
options={props.options}
labelKey="name"
valueKey="id"
/>
{touched && error && <span className="error">{error}</span>}
</div>
);
}
render() {
const { handleSubmit } = this.props
return (
<form onSubmit={handleSubmit}>
<Field
name="name"
options={options}
component={this.renderSelectField}
/>
<button className="btn btn-primary mt-2" type="submit">Submit</button>
</form>
);
}
For advanced use cases, please refer react-select
FAQs
A Dropdown Select Control for React JS
The npm package dropdown-select receives a total of 3 weekly downloads. As such, dropdown-select popularity was classified as not popular.
We found that dropdown-select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.