You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A powerful, feature-rich search component for React applications built with Material UI. Perfect for implementing search functionality, autocomplete, filtering, and advanced selection capabilities in your React applications.
Features
Customizable styling - Complete control over colors, sizes, and appearance
Performance optimized - Built-in debounce and throttling capabilities
Fuzzy search - Powered by Fuse.js for intelligent search results
Autocomplete - Show suggestions as you type
Multiple selection mode - Support for multiple selections with chip display
Success state handling - Custom rendering after successful selection
<SearchBoxplaceholder="Select a country..."data={countries}filterKeys={['name']}successComponent={(country)=>(<divclassName="selected-country"><h3>{country.name}</h3><p>Capital: {country.capital}</p><p>Population: {country.population.toLocaleString()}</p></div>)}/>
Static Methods
SearchBox.filter(searchTerm, keys, options)
Returns a function that can be used to filter an array outside the component.
Contributions, issues and feature requests are welcome! Feel free to check issues page.
About
A powerful, feature-rich search component for React applications built with Material UI. Perfect for implementing search functionality, autocomplete, filtering, and advanced selection capabilities in your React applications.