dropd-component
v1.0.1
Published
⚡️Zero-dependency minimalistic dropdown component for React and Vue.
Downloads
40
Readme
✨ Pros:
- 📦 ~6kb (gzipped, full package)
- ⚒ 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
⚡️ React Dropd on CodeSandbox ⚡️ Vue Dropd on CodeSandbox
👷 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