@@include('./partials/html.html') @@include("./partials/title-meta.html", {"title": "SweetAlert2"}) @@include('./partials/head-css.html')
@@include('./partials/menu.html')
@@include("./partials/page-title.html", {"subtitle": "Miscellaneous", "title":"SweetAlert2"})

Examples

Basic

Displays a simple SweetAlert popup.

Title

A popup with a title and supporting text.

HTML

Shows a popup with custom HTML content.

All States

Examples of SweetAlert in different alert states.

Long Content

A popup with extended content for demonstration.

With Confirm Button

A confirmation dialog with an attached action.

With Cancel Button

Includes cancel and confirm options with different actions.

With Image Header (Logo)

Custom popup with a logo or image header.

Auto Close

Displays a popup that closes automatically after a timeout.

Position

Shows the alert in different screen positions.

With Custom Padding, Background

Popup with custom dimensions, padding, and background style.

Ajax Request

Demonstrates an alert with an Ajax request.

@@include('./partials/footer.html')
@@include('./partials/customizer.html') @@include('./partials/footer-scripts.html')