Beautiful Alert Box Messages For Your Website | Cute Alert

Cute Alert is An open-source JavaScript library with the purpose of providing beautiful alert box messages for your website. This dialog popup library from Vanilla JavaScript for creating alert notifications, confirming popups, and uploading messages to the web app.

custom javascript alert and confirm dialog boxes, fancy alert box in jquery, javascript toast message example, fancy alert box in javascript

How to make use of it:

1. To get began, load the Cute Alert’s information within the doc.

<link rel="stylesheet" href="style.css" />
<script src="cute-alert.js"></script>

2. Create alert notification containers and decide the notification sort as follows:

cuteAlert({
  type: "success",
  title: "Success Title",
  message: "Success Message",
  buttonText: "Okay"
})

cuteAlert({
  type: "error",
  title: "Error Title",
  message: "Error Message",
  buttonText: "Okay"
})

cuteAlert({
  type: "warning",
  title: "Warning Title",
  message: "Warning Message",
  buttonText: "Okay"
})

cuteAlert({
  type: "info",
  title: "Info Title",
  message: "Info Message",
  buttonText: "Okay"
}).then(() => {
  // do something
})

3. Create a confirm dialog.

cuteAlert({
  type: "question",
  title: "Confirm Title",
  message: "Confirm Message",
  confirmText: "Okay",
  cancelText: "Cancel"
}).then((e)=>{
  if ( e == ("Thanks")){
} else {
    alert(":-(");
  }
})

4. Create a toast message and decide the timeout in ms.

cuteToast({
  type: "success", // or 'info', 'error', 'warning'
  message: "Toast Message",
  timer: 5000
})

Elegant Alert/Confirm/Toast Dialog Box, Cute Alert Plugin/Github, toast notification examples, best alert message jquery, custom alert dialog in web Cute alert box


See Demo And Download

Official Website(gustavosmanc): Click Here

This superior jQuery/javascript plugin is developed by gustavosmanc. For extra Advanced Usages, please go to the official website.

Related Posts

Iconpicker-Bootstrap-5

[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[fontawesome.com], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…

bootstrap-multiple-image-upload-with-preview

Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…

Animating-Split-Flap-Displays-fallblatt

A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…

bootstrap-5-dark-theme

Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…

jQuery-SyoTimer-Plugin

jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…

vue-js-periodic-table

Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…