React-Select

Flexible select input control for React

select

Feature-rich with async loading, multi-select, and full customization.

ReactSelectDropdownAutocomplete

๐ŸŽฎ Playground

import Select from "react-select"

const options = [
  { value: "react", label: "React" },
  { value: "vue", label: "Vue" },
  { value: "angular", label: "Angular" }
]

export default function Demo() {
  return (
    <Select options={options} placeholder="Select..." />
  )
}
Use cases
  • โ€ขDropdowns
  • โ€ขTagging
  • โ€ขAutocomplete
Good for
  • โœ“Complex selection needs
  • โœ“Async data loading
  • โœ“Highly customized designs
Not good for
  • โœ—Simple native selects
  • โœ—Bundle size concerns
Installation
$ npm install react-select
Example
import Select from "react-select"

const options = [
  { value: "react", label: "React" },
  { value: "vue", label: "Vue" },
  { value: "angular", label: "Angular" }
]

export default function Demo() {
  return (
    <Select options={options} placeholder="Select..." />
  )
}
Comparison

"More features than Downshift, better React integration than Select2."

Trust Metrics

27.8K

GitHub Stars

5.2M

Weekly Downloads

Last Commit:last year
Used by
StripeAtlassianSpotify