Sweet Alerts

A beautiful replacement for JavaScript "alert"

Sweet Alert 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.

Here's a simple message Show error message Show success message

With a function attached to the confirm.

Show warning message

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

Cancel warning message


Alertify.js is a small library which provides light-weight, high performance browser dialogs. Since it uses only 1 HTTP request and a payload of less than 3kB, it's a great option for adding basic style to alert, dialog, prompt and log messages even on low bandwidth connections.

Alert Dialog

Dialogs display a text and require user to acknowledge the message.

Confirm Dialog

To confirm or deny something.

Prompt Dialog

To prompt dialog from the user.

Custom Labels

You're not limited to the "Ok" and "Cancel" button labels. You can easily set your own labels.

Hey Mike, we have funding for our new project!

Awesome! Photo booth banh mi pitchfork kickstarter whatever, prism godard ethical 90's cray selvage.

Artisan glossier vaporware meditation paleo humblebrag forage small batch.

Bushwick letterpress vegan craft beer dreamcatcher kickstarter.