A beautiful, responsive, customizable, accessible replacement for Javascript’s popup boxes.
Usage
CSS
In order to use this plugin on your page you will need to include the following styles in the Page CSS area from the page’s head section:
JS
In order to use this plugin on your page you will need to include the following script in the “Page JS” area from the page’s footer:
Initialization
SweetAlert2 automatically centers itself on the page and looks great no matter if you’re using a desktop computer, mobile or tablet. It’s even highly customizeable, as you can see below!