An open API service indexing awesome lists of open source software.

https://github.com/whizkydee/dropd

⚡️Zero-dependency minimalistic dropdown component for React and Vue.
https://github.com/whizkydee/dropd

dropdown dropdown-menu react-component select ui-component vue-component

Last synced: about 1 year ago
JSON representation

⚡️Zero-dependency minimalistic dropdown component for React and Vue.

Awesome Lists containing this project

README

          








dropd logo




⚡️Zero-dependency minimalistic dropdown component for React and Vue.


Package version.
Make a pull request.
First-timers Friendly

## ✨ 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](https://github.com/whizkydee/dropd/tree/master/packages/react-dropd#-installation)
and
[vue-dropd](https://github.com/whizkydee/dropd/tree/master/packages/vue-dropd#-installation)
for framework specific installation.

## 📖 Usage

- [For React](https://github.com/whizkydee/dropd/tree/master/packages/react-dropd#-usage)
- [For Vue](https://github.com/whizkydee/dropd/tree/master/packages/vue-dropd#-usage)

## 👀 Examples

⚡️
[React Dropd on CodeSandbox](https://codesandbox.io/s/0y3x7jwv0n?fontsize=14)
⚡️ [Vue Dropd on CodeSandbox](https://codesandbox.io/s/kx874lpmxo?fontsize=14)

## 👷 Contributing

Please see [Projects](https://github.com/whizkydee/dropd/projects/1) for a list
of things to do.

1. Fork this repo and clone on your machine
1. Navigate to the main folder, `dropd`
1. Create a new branch using the format, `feature/feature-name`
1. Run `yarn install -W` to install all of the dependencies in the workspace
1. Use `yarn dev` to monitor the changes you make in `/packages` and
concurrently re-build or
1. Use `yarn build` to compile `packages/vue-dropd/index.vue` and
`packages/react-dropd/index.js` (shows `bundlesize` info too)

## 🤝 License

MIT © [Olaolu Olawuyi](https://twitter.com/mrolaolu)