Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install react-select, import its Select component, and pass it an array of choices through the options prop. Use value and onChange when your app needs to control the selection; choose the async or creatable variant when users need remote choices or the ability to add new ones.

Install React Select

Follow the package’s official getting-started instructions and add the dependency using npm or Yarn:

npm i --save react-select
yarn add react-select

The official site describes React Select as “A flexible and beautiful Select Input control for ReactJS with multiselect, autocomplete, async and creatable support.”

Render a basic searchable select

Import the default Select export and give it an array of option objects. In this example, label is the text shown to the user and value is the corresponding application value.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
import Select from 'react-select';

const options = [
  { value: 'chocolate', label: 'Chocolate' },
  { value: 'strawberry', label: 'Strawberry' },
  { value: 'vanilla', label: 'Vanilla' },
];

export default function FlavorSelect() {
  return <Select options={options} />;
}

React Select makes the choices searchable by default. Set isSearchable to false if searching is not appropriate for the control.

Choose how the selected value is managed

Use controlled state when the rest of your app needs the selection

For a controlled select, store the selected option in React state and pass both value and onChange. The handler updates state whenever the selection changes.

import { 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 FlavorSelect() {
  const [selectedOption, setSelectedOption] = useState(null);

  return (
    <Select
      options={options}
      value={selectedOption}
      onChange={setSelectedOption}
    />
  );
}

Use controlled state when another part of the interface must react to the choice, or when you need to set or clear it from application logic. React Select also documents controlled menu and search-input state through the corresponding state props and change handlers.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Use an initial value when React Select can manage later changes

If you only need to set the starting selection, pass defaultValue instead of managing value in parent state:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
<Select options={options} defaultValue={options[0]} />

The same initial-state approach is available for menu visibility and input text through defaultMenuIsOpen and defaultInputValue.

Choose a select variant for the job

Need Approach What changes
One choice from a local list Select Pass the options array; the normal control selects one option.
More than one choice Select with isMulti The control allows multiple selected options.
Choices loaded remotely as the user types AsyncSelect Import from react-select/async; options come from a loader rather than only a fixed local list.
Users may add a choice not already listed Creatable Import from react-select/creatable; users can create an option as well as choose an existing one.

Allow multiple selections

Add isMulti when the user may choose several values:

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
<Select options={options} isMulti />

With multiple selection, the value represents the selected options rather than one option. If you control it, keep that selected-options value in state and update it from onChange.

Load options asynchronously

For remote search, use AsyncSelect from the async entry point. Provide a loader that returns matching option objects for the entered text:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import AsyncSelect from 'react-select/async';

<AsyncSelect loadOptions={loadOptions} />

Implement loadOptions to call your data source and return options in the same { value, label } shape. This is the appropriate variant when the available choices depend on a server-side search.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Let users create options

Import Creatable when a user should be able to add a choice that is not in the existing list:

import Creatable from 'react-select/creatable';

<Creatable options={options} />

Async loading and creation address different needs: the async variant fetches choices, while the creatable variant permits adding one. Select the behavior your interface actually requires.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Customize appearance and behavior

Style individual parts with the styles prop

Start with the styles prop for visual changes to control elements. It lets you customize individual pieces of the select without replacing their behavior. The React Select documentation describes this styling approach and also provides animated wrappers through makeAnimated.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Replace components only when styling is not enough

For deeper changes to a component’s behavior or rendering, React Select documents a Component Injection API. Prefer styling for appearance-only adjustments; component replacement is a more involved option and should preserve the control’s expected interactions.

Provide an accessible name and test the result

Give the select a clear label so users, including people using screen readers, can identify its purpose. React’s native select guidance explains why a label should be announced when a select receives focus; use that as a baseline, not as proof that every custom React Select configuration is accessible.

  • Check that the control has an accessible name that describes the choice being made.
  • Test keyboard navigation and selection in your actual interface.
  • Verify the behavior with the assistive technology relevant to your users, especially after styling or replacing components.

Useful props and version notes

Common props documented by the package include isDisabled, isMulti, isSearchable, name, onChange, options, placeholder, noOptionsMessage, and value. When you set name, the component can generate an HTML input containing the current value. Check the current package documentation for exact types and details before depending on less common props.

The npm listing displayed version 5.10.2 when checked on October 4, 2026; that is time-sensitive package metadata, not a promise that it remains the latest version. The package documentation says v5 includes TypeScript declarations and directs users of v4 and earlier to @types. Confirm the version and compatibility details in the current listing before installing against a specific version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.