Is it possible to create Modal using TippyJs? I managed to create tooltips and Popovers but I dont know how to create Modal. If no, which library do you recommend to create modal in react?
Question posted in Javascript
A very good W3school tutorial can be found here.
A very good W3school tutorial can be found here.
2
Answers
You can’t create Modals with TippyJS
But you can choose lot of libs to make modals, depends on all your needs.
By example MaterialUI have a modal system https://mui.com/material-ui/react-modal/
You can have it too with Boostrap by example https://mdbootstrap.com/docs/react/components/modal/
You can search for snippets or pre-made components on website like this too https://reactjsexample.com/tag/modals/
And to finish, the best way to make a modal, it’s to make your own !
Have a nice day
you can use bootstrap or other framework but if you want to use the Tippy only and not want to use the other frame work than you need to use something like this code , where you need the ref hook and than use the function content , let see if its work for you otherwise in bootstrap and other framework have specific classes for model with different parameters’ , you can utilized those.