Modal windows have quickly replaced the default browser alert box. Well-designed modals are more compatible with a great user experience and modal windows come with many custom effects and designs.
It’s possible to build pure CSS modals but these often lack a certain je ne sais quoi that you’ll find in JS-powered scripts.
Read Also: Build Modals Using Pure CSS With CSS Modal
This library has been around for a while but it’s still technically in v1.0 development with frequent improvements.
But it’s a stable script running on pure vanilla JS so you can use this anywhere. It doesn’t require any knowledge of ECMAScript nor do you need any higher-level libraries like TypeScript.