Jquery Plugin for Animated and Customizable Alert Notifications | Nice Toast JS

Nice Toast JS is a nice and easy plugin that helps you create material style alert notifications on the webpage.

toast notification javascript, toast notification jquery, toast notification example, bootstrap toast notification, toast message jquery codepen, react toast notification

More features:

  • Dedicated stand.
  • countdown.
  • 5 types of notifications.
  • Dynamically change toast message.
  • Supports HTML content, not just plain text.

How to make use of it:

1. Import the jQuery Nice Toast plugin’s information into the doc.

<!-- Include Plugin CSS file -->
<link href="./dist/css/nice-toast-js.min.css" rel="stylesheet" />
<!-- Include jQuery -->
<script src="/path/to/cdn/jquery.min.js"></script>
<!-- Include Plugin JS file -->
<script src="./dist/js/nice-toast-js.min.js"></script>

2. Use the next strategies to create several types of toasts.

// default
$.niceToast('Toast Message Here');

// info
$.niceToast.info('Toast Message Here');

// success
$.niceToast.success('Toast Message Here');

// warning
$.niceToast.warning('Toast Message Here');

// error
$.niceToast.error('Toast Message Here');

3. Change the position of the toasts.

  position: "top-center"

4. Determine How long the toast lasts. By default, the toast message will auto dismiss itself after 5 seconds.

  timeout: 10000

5. Determine whether or not to indicate a countdown timer on the bottom of every toast message.

  progressBar: false

6. Change the toast message dynamically.

let toast = $.niceToast('Toast Message Here');
toast.change('redirecting ...' ,2000)

Animated And Customizable Alert Notifications, Nice Toast JS Plugin/Github, bootstrap toast notification jquery, jquery toaster

See Demo And Download

Official Website(hasan-ahani): Click Here

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

Related Posts


How to Create a Simple Cookie Banner Consent Using Bootstrap 4

Cookie Consent Popup Javascript – Quick and simple tutorial for creating a simple Bootstrap cookie banner. If you have a website or blog with people visiting or…


Create Custom HTML Terminals With Pure JavaScript | shell.js

Custom HTML Terminals is A JavaScript library to create HTML terminals on web pages. The shell js JavaScript library offers a straightforward method to create Ubuntu, OS X,…


Bootstrap Alert, Confirm, and Flexible Dialog Boxes | Bootbox

Bootbox.js is a small JavaScript library that allows you to create programming dialogs using Bootstrap templates, without having to worry about creating, managing, or removing any required…


An Accessible Touch-enabled Slider Web Component | fg-carousel

fg-carousel Slider – A simple & modern slider web component to create versatile, accessible, touch-enabled picture carousels utilizing CSS scroll snap, Custom Element, and Intersection Observer API….


A Lightweight and Efficient Tags Input Component in Vanilla JS | tagify

tagify transforms an input field or textarea into a tags component, in an easy and customizable way, with great performance and a small code footprint, full of…


A Lightweight Library to Copy Text to Clipboard | CopyJS

CopyJS is a lightweight JavaScript library that allows you to copy plain text or HTML content to the clipboard. Must Read: Tiny Library for Copy Text In…