Autocomplete with React components
React-Autosuggest is a component that meets the requirements. It has custom rendering that works natively with React elements.
We can make it handle JS objects instead of plain strings.
- the
onSuggestionSelected
props is a callback to get the selected suggestion suggestionRenderer
method takes suggestion and returns React markup
http://react-autosuggest.js.org/
Check out react-select. It is simple, beautiful and currently has the most Github stars. Live demo here.