@sofiane-d/autocomplete-react

1.0.0-rc.4 • Public • Published

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

Package Sidebar

Install

npm i @sofiane-d/autocomplete-react

Weekly Downloads

2

Version

1.0.0-rc.4

License

ISC

Unpacked Size

244 kB

Total Files

39

Last publish

Collaborators

  • sofiane-d