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

https://github.com/rwson/use-modal

the eaist way to open/close modals and pass [new]props to modals
https://github.com/rwson/use-modal

component hooks modal react vue vue3

Last synced: over 1 year ago
JSON representation

the eaist way to open/close modals and pass [new]props to modals

Awesome Lists containing this project

README

          

# @usemodals

![](https://i.328888.xyz/2023/05/08/i1dV1H.png)

> the eaist way to open/close modals and pass props to modals, or register an dynmaic modal and you can use these modals globally, support React, Vue, Vue3

## Examples

- [React, full support](https://github.com/rwson/use-modal/tree/main/examples/react)
- [Vue3, full support](https://github.com/rwson/use-modal/tree/main/examples/vue3)
- [Vue2, Composition API is not supported](https://github.com/rwson/use-modal/tree/main/examples/vue)