dropd-component
v1.0.1
Published
⚡️Zero-dependency minimalistic dropdown component for React and Vue.
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 --saveor
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 -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
