@it-tool-ui/autocomplete
v1.0.3
Published
UI Autocomplete Component with React & Typescript with TailwindCSS
Readme
React Autocomplete UI component
This is a very light UI Autocomplete component library for ReactJS. It's using TailwindCSS for styling.
You can also view the demo and get the source code directly for each component without installing this library.
Installation
npm install @it-tool-ui/autocompleteimport { Autocomplete } from "@it-tool-ui/autocomplete";
<Autocomplete
placeholder="Input animal"
disabled={false}
value={animal}
onChange={setAnimal}
options={[
"Cat",
"Dog",
"Zebra",
"Bird",
"Snake",
"Frog",
"Elephant",
"Buffalo",
"Mouse",
"Tiger",
"Lion",
]}
/>;