β‘οΈ 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 -W
to install all of the dependencies in the workspace - Use
yarn dev
to monitor the changes you make in/packages
and concurrently re-build or - Use
yarn build
to compilepackages/vue-dropd/index.vue
andpackages/react-dropd/index.js
(showsbundlesize
info too)
π€ License
MIT Β© Olaolu Olawuyi