TopGit
GitHub Repo Review

React Select: Customisable Select Component

JedWatson/react-select
RTopGit review image for JedWatson/react-select
Review by Topgit.dev for JedWatson/react-select, with GitHub repository stats and README context.
Quick verdict

React Select fixes what the native HTML select can't do — search-as-you-type, multi-value tags, remote-loaded options — without forcing you to rebuild the control from scratch. Its real strength is the Component Injection API and Emotion-based styling, letting you swap one internal piece without forking the rest. The trade-off: the props and styles surface is large enough that first setup takes longer than a plain <select>.

Stars
★ 28.0k
Forks
⑂ 4.1k
Language
TypeScript
License
MIT
Topic
—
Updated
Jul 2026
Homepage
GitHub

What is React Select

React Select is a select/dropdown component for React that replaces the native HTML <select> with a fully customisable one, built by Jed Watson and originally created for use in KeystoneJS. It handles search, multiple selection, option groups, and asynchronously loaded options, and exposes an Emotion-based styling API plus a component-injection system so you can swap individual pieces of the UI without rewriting the whole control.

The problem with native HTML selects

The native HTML <select> element can't be styled beyond its box model in most browsers, has no built-in search box, and offers no way to select multiple values as removable tags or to populate options from an API call as the user types. Building all of that yourself means writing your own keyboard navigation, focus management, and ARIA wiring. React Select packages that work into documented props like isMulti and isSearchable, plus a documented async-select pattern for loading options on demand, instead of leaving each project to reinvent it.

Key features of React Select

  • ✓Flexible data handling — options are plain JS objects/arrays, transformed through customisable functions rather than a fixed schema.
  • ✓Emotion-based styling API for overriding component styles without fighting global CSS.
  • ✓Component Injection API — swap in your own dropdown indicator, option renderer, or menu component piece by piece.
  • ✓Controllable props (value, menuIsOpen, inputValue) alongside matching default* props, so you choose how much state React Select manages for you.
  • ✓Option groups and portal support, for rendering the menu outside a clipped or overflow: hidden container.
  • ✓Built-in animated components for menu open/close transitions.
  • ✓Rewritten in TypeScript as of v5, with published types for earlier versions available via @types/react-select.
How this repository's GitHub stars have grown over time. Source: star-history.com.View the star history ↗

Installing and using React Select

Add it to a project with `yarn add react-select`, then import the default `Select` component and pass it an `options` array of `{ value, label }` objects plus a `value`/`onChange` pair (or `defaultValue` if you don't want to control it yourself): ```js import React, { useState } from 'react'; import Select from 'react-select'; const options = [ { value: 'chocolate', label: 'Chocolate' }, { value: 'strawberry', label: 'Strawberry' }, { value: 'vanilla', label: 'Vanilla' }, ]; export default function App() { const [selectedOption, setSelectedOption] = useState(null); return ( <Select defaultValue={selectedOption} onChange={setSelectedOption} options={options} /> ); } ``` From there, `isMulti`, `isSearchable`, `isDisabled`, `placeholder`, `autoFocus`, and `noOptionsMessage` cover most everyday customisation before you ever need to touch styles.

Strengths

  • ✓Covers the features teams usually rebuild by hand — search, multi-select with tags, option groups, async loading — as documented props instead of custom code.
  • ✓The Component Injection API lets you replace one internal piece, like the dropdown arrow, without forking the whole control.
  • ✓Actively maintained with named contributors and backing from Thinkmill and Atlassian, per the README.
  • ✓TypeScript types ship with the package since v5, so autocomplete and prop-checking work without extra setup on current releases.

Known limitations of React Select

  • △The prop surface is large — style overrides go through a `styles` object keyed by internal component names (control, menu, option, and so on), which takes longer to learn than a component with a handful of CSS classes.
  • △v5's rewrite to TypeScript changed some type signatures; projects still on v3/v4 need the separate `@types/react-select` package, and the README points to a dedicated upgrade guide rather than a one-line migration.
  • △The README doesn't document built-in virtualization for very large option lists — there's no stated guidance for rendering thousands of options at once.
  • △No bundle-size figures or a lighter 'core' build are mentioned in the README, so you pull in the full component even for a simple single-select.

React Select alternatives

Frequently asked questions about React Select

Is React Select free to use?

React Select is free to use in any project, commercial or not — it's released under the MIT license, per the repository's license file (Copyright Jed Watson). There's no paid tier or usage restriction attached to the library itself.

Does React Select support TypeScript?

React Select supports TypeScript directly — version 5 was rewritten from JavaScript to TypeScript, so its own types ship with the package. For older releases (v4 and earlier), the separate @types/react-select package provides the type definitions instead.

How do I load options asynchronously in React Select?

React Select documents a dedicated async-select pattern for loading options on demand, described in its customisation guide alongside the styling and custom-components docs. Instead of a static options array, you fetch and return matching results as the user types, rather than shipping the full list up front.

Can React Select handle thousands of options without performance issues?

React Select's README doesn't publish performance numbers or benchmarks for very large option lists, so there's no documented guarantee here. In practice, teams with huge datasets tend to pair it with the async-select pattern to fetch matching results on demand instead of rendering every option client-side at once.

How do I style React Select with custom CSS or Emotion?

React Select styles through an Emotion-based styling API, so most visual changes go through a styles object rather than plain CSS overrides. You can also set a className/classNamePrefix for CSS-based targeting, or swap in fully custom components via the Component Injection API for deeper changes.

Best use cases

  • •Long option lists (country pickers, tag selectors) where users need to type to filter instead of scrolling.
  • •Multi-select tagging UI — email 'to' fields, filter builders, permission pickers.
  • •Remote/async option sources, like searching a user directory or product catalog as you type.
  • •Design systems that need a select primitive they can restyle to match brand without forking the DOM structure.

How to install / try

Install with `yarn add react-select` (or `npm install react-select`). No native modules or extra build-step packages are required — it works with whatever bundler and config you're already using for the rest of your React app.

Who should try it — and who should skip

Reach for React Select when you need search, multi-select, or async-loaded options and don't mind adopting its prop conventions and styles object instead of hand-rolling ARIA and keyboard handling yourself. Skip it for a plain single-choice dropdown with a handful of static options — a native <select> or a couple of CSS rules costs less than learning React Select's styling API.

Source & attribution

Based on the JedWatson/react-select GitHub repository (README and repo metadata).

GitHub data · last synced Aug 15, 2026Reviewed by Henry
← Back to TopGit

Still deciding about react-select?

One click hands the question to an AI along with this page — see what it says about react-select.

GitHub