Sweet Alert


A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.

A basic message

A title with a text under

A success message!

A message with custom Image Header

Ajax request example

Chaining modals (queue) example

A message with auto close timer

Custom HTML description and buttons

By passing a parameter, you can execute something else for "Cancel".

A warning message, with a function attached to the "Confirm"-button...

A message with custom width, padding and background

Dynamic queue example