1.0.0-rc.4 • Published 4 years ago

@sofiane-d/autocomplete-react v1.0.0-rc.4

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

autocomplete-react

npm package

A customizable React autocomplete component

This library provides you with a low-level autocomplete React component (an input and a list) and a higher level default UI/state management that you can customize at will. You can choose to customize only parts of it (example with a customized input) or the whole component. In the last case, you will be able to recreate the default state management as needed, using the custom hooks. The default props that are spreaded to the various subcomponents include WAI-ARIA best practices attributes. Internally, it uses the render props pattern with the children prop.

Get started

# With yarn  
yarn add @sofiane-d/autocomplete-react
# With NPM
npm i @sofiane-d/autocomplete-react

Examples and docs