SweetAlert2 ADDONA beautiful,responsive customizable,accessible (wai-aria) replacement for javascript's popup boxes with no dependencies

About

SweetAlert2 is a JavaScript library that helps us create alerts in our web applications. SweetAlert2 is a replacement for default JavaScript pop up boxes. It needs zero dependencies, is customizable, well structured, accessible (wai-aria) and responsive. It needs promise.js for IE11 support. It is currently not supported in IE10

Find in-depth, guidelines, tutorials and more on sweetalert2's Official Documentation

SweetAlert2 Examples

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!
1A basic messageTry me!
2A title with a text underTry me!
3A modal with a title,an error icon,a text,and a footerTry me!
4A modal window with a long content inside:Try me!
5Custom HTML description and buttons with ARIA labelsTry me!
6A custom positioned dialogTry me!
7A confirm dialog,with a function attached to the "Confirm"-button...Try me!
8... and by passing a parameter,you can execute something else for "Cancel".Try me!
9A message with a custom image and CSS animation disabledTry me!
10A message with custom width,padding,background and animated Nyan CatTry me!
11A message with auto close timerTry me!
12Right-to-left support for Arabic,Hebrew,and other RTL languagesTry me!
13AJAX request exampleTry me!
14Chaining modals (queue) exampleTry me!
15Dynamic queue exampleTry me!
16Timer functions exampleTry me!