A Library of Material Notification With Javascript And CSS | MaterialNotify

MaterialNotify is an extremely lightweight material notice using Javascript (JQuery) and CSS. On Android, I love to use snack bars and now I’ve made something like this in HTML.

push notification material design, status bar notification, android group notifications, send notification to android app, notification snackbar android


  • Success and alert messages.
  • Rejects alert after a timeout.
  • The lower progress bar indicates the remaining time.
  • Trigger a function after a timeout.

How to make use of it:

1. Import the jQuery library and the MaterialNotify plugin’s files into the HTML doc.

<link rel="stylesheet" href="/materialNotify.css" />
<script src="/path/to/cdn/jquery.min.js"></script>
<script  src="/materialNotify.js"></script>

2. Create notification bars utilizing the notify function.

// alert notification
// auto dismiss after 10 seconds
notify("Alert text", 10, true);

// success notification
// auto dismiss after 5 seconds
notify("Success text", 5, false);

3. Trigger a function as quickly because the notification bar is dismissed.

notify("Trigger A Function", 10, false, function(){
  // do something

Android Style Snackbar & Toast Plugin, MaterialNotify Github, bootstrap snackbar, snackbar js, custom snackbar android

See Demo And Download

Official Website(AmirMehr): Click Here

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

Related Posts


Adding Zoom-on-Wheel and Pan-on-Drag to Inline SVG Elements

Vanilla-js module for adding zoom and panning behavior when dragging to SVG embedded elements. A lightweight Vanilla JavaScript plugin that enables zoom and pan functions on an…


Sorting HTML Table Vanilla JavaScript Library | Sortable.js

Sortable – Small JS vanilla table sorter makes any table with class = “sortable“, er, sortable. That is, the user can click the table header and change…


WYSIWYG Rich Text Editor With jQuery And FontAwesome | RichText

RichText jQuery implementation for WYSIWYG Rich Text Editor which uses Font Awesome Iconic Font for editor icons. It is licensed under AGPL-3.0. Initialize editor Simply call .richText() on your jQuery(‘textarea’) or jQuery(‘input’)…


[Autocomplete] Email Domain Suggestions Like Gmail, Outlook, or More | email-genie

Email Genie allows auto-completion in the email field by providing a list of domain suggestions (gmail.com, outlook.com, etc.). This package is lightweight, flexible, compatible with libraries (jQuery,…


[Generator] JavaScript Library for Creating Squircley Magic ✨ | squircley.js

squircley.js is the core magic of Squirclular ✨ from https://squircley.app wrapped in a simple 0-dependency JavaScript library. squircley.js can generate SVG files, add square backgrounds to DOM…