Description
react-dropdown is a lightweight, accessible dropdown component for React 18 and 19. The README describes it for the common case where a native select is too hard to style, but a large select framework would be excessive. It supports single selection, option groups, controlled and uncontrolled state, custom rendering, keyboard navigation and TypeScript, with no runtime dependencies. You install it, then import the component and its default styles. Options can be primitive values such as strings, numbers and booleans, and labels can be any React node. To control the selected value or the open state, you pass them yourself, and null clears a controlled value. defaultValue and defaultOpen set the starting state when you leave it uncontrolled. For accessibility, you give each dropdown a visible label or an aria-label. The trigger is a select-only combobox with a listbox popup. Keyboard support covers Enter or Space to open and select, the arrow keys to move through options, Home and End to jump to the first or last enabled option, and Escape to close. The repository is public on GitHub under the fraserxu account.…
Highlights
- Lightweight, accessible dropdown for React 18 and 19
- Single selection and option groups
- Controlled and uncontrolled state
- Custom rendering of labels
- Keyboard navigation and TypeScript types
Ratings & Reviews
No ratings yet
Be the first to rate react-dropdown.
People also visit

react-selectize
A Stateless & Flexible Select component for React inspired by Selectize
react-dropdown FAQ
What is react-dropdown?
A lightweight, accessible dropdown component for React 18 and 19.
When would I use it?
The README says it is for cases where a native select is hard to style but a large select framework would be excessive.
How do I control the value?
Pass the selected value and open state yourself. Use null to clear a controlled value, and defaultValue or defaultOpen for an uncontrolled start.
How is it made accessible?
Give each dropdown a visible label or an aria-label. The trigger is a select-only combobox with a listbox popup and keyboard support.
Is it open source?
The repository is public on GitHub under fraserxu.
What are the best react-dropdown alternatives?
Popular alternatives to react-dropdown include react-simple-dropdown, react-select and react-select-plus. See all react-dropdown alternatives

















