β‘οΈ Zero-dependency minimalistic dropdown component for React and Vue.
β¨ Pros:
π¦ ~6kb (gzipped, full package)π ββοΈ Zero dependenciesπ± Supports touch devicesβ CommonJS and ES Modules supportβ Optimized for Accessibiltyπ Easy to customizeπ¦ Optimized for performanceπ More-reliant on CSS over JavaScript
π§ Installation
To install the full package (for Vue and React)
$ npm install dropd-component --save or
See react-dropd and vue-dropd for framework specific installation.
π Usage
π Examples
π· Contributing
Please see Projects for a list of things to do.
- Fork this repo and clone on your machine
- Navigate to the main folder,
dropd - Create a new branch using the format,
feature/feature-name - Run
yarn install -Wto install all of the dependencies in the workspace - Use
yarn devto monitor the changes you make in/packagesand concurrently re-build or - Use
yarn buildto compilepackages/vue-dropd/index.vueandpackages/react-dropd/index.js(showsbundlesizeinfo too)
π€ License
MIT Β© Olaolu Olawuyi
