JB-MODAL

modal web component

Easy to use web component for modal window intended to have good UI/UX for both mobile and desktop user

Usage

Since jb-modal is a web-component you can use it in pure html site and any JS framework like React, Angular, Vue,... so you have 2 way to using it:

in first way you just have to install jb-modal and import it's scripts anyway in your app and then use it anywhere with simple HTML Tag <jb-modal > </jb-modal > read more detail here

in second way just add following script tag in your html and then write <jb-modal > </jb-modal > tag anywhere in your HTML file

<script src="https://cdn.jsdelivr.net/npm/jb-modal/dist/JBModal.umd.js"></script>

examples

open hello modal
you can read more and get this package from npm or github