Skip to main content

# Sweet Alert 2

If you want to replace the classic alert box with something that looks amazing, you can use the Sweet Alert 2 Plugin. We have changed the typography and colors for the plugin provided by Tristan Edwards.

For more information please check Full Documentation

    <!-- markup -->
    <button class="btn btn-primary btn-fill" onclick='swal({ title:"Good job!", text: "You clicked the button!", type: "success", buttonsStyling: false, confirmButtonClass: "btn btn-success"})'>Try me!</button>
        <!-- for more actions that you can use onclick, please check out assets/assets-for-demo/js/demo.js -->