- Notifications
You must be signed in to change notification settings - Fork0
React-based typeahead component that uses Bootstrap as a base for styles and behaviors.
License
tacitknowledge/react-bootstrap-typeahead
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
React-based typeahead component that uses Bootstrap as a base for styles and behaviors and supports both single- and multi-selection. The UI and behaviors are inspired by Twitter'stypeahead.js. Try thelive examples.
Please note that this library is under active development and the APIs may change. The documentation below applies to the most recent version and may no longer be applicable if you're using an outdated version.
Use NPM to install the module:
$ npm install --save react-bootstrap-typeahead
Include the module in your project:
import{Typeahead}from'react-bootstrap-typeahead';// ES2015varTypeahead=require('react-bootstrap-typeahead').Typeahead;// CommonJS
Minified and unminified UMD modules are also included in the NPM package, or you canget them from CDNJS.
The component tries to use as little CSS as possible, relying primarily on Bootstrap or any Bootstrap themes for styling. Some minimal CSS comes with the module and should be included wherever you're using the component.
Try thelive examples, which also include code samples. If you'd like to modify the examples, clone the repository,npm install
andnpm run example
to build the example file. You can then open the HTML file locally in your browser.
Recent versions of the following browsers are supported:
- Chrome
- Firefox
- IE (10/11)
- Safari
Special thanks toBrowserStack for providing cross-browser testing support.
About
React-based typeahead component that uses Bootstrap as a base for styles and behaviors.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- JavaScript95.3%
- CSS4.0%
- Other0.7%