@@include("partials/main.html") @@include("partials/title-meta.html", {"title": "Sweetalert 2"}) @@include("partials/head-css.html") @@include("partials/body.html")
@@include("partials/menu.html")
@@include("partials/page-title.html", {"pagetitle": "UI Elements", "title": "Sweetalert 2"})

#### Examples

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 warning message, with a function attached to the "Confirm"-button...

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

A message with custom Image Header

A message with auto close timer

Custom HTML description and buttons

A custom positioned dialog

A message with custom width, padding and background

Ajax request example

Chaining modals (queue) example

Dynamic queue example

@@include("partials/footer.html")
@@include("partials/right-sidebar.html") @@include("partials/vendor-scripts.html")