Show toast or banner notifications for events, errors, or confirmations in a web app.
Add yes/no confirmation prompts or auto-closing countdown notices.
Trigger desktop-level notifications outside the browser window using the Web Notifications API.
| sciactive/pnotify | hendricius/pizza-dough | zouzhekang/yjypaper | |
|---|---|---|---|
| Stars | 3,642 | 3,637 | 3,634 |
| Language | HTML | HTML | HTML |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
Only install the add-on modules you actually need to keep bundle size down.
PNotify is a JavaScript and TypeScript library for showing notification messages in web applications. It handles the visual layer of notifying users about events, errors, confirmations, or general information without requiring you to build the pop-up logic from scratch. The library supports several visual styles for notifications. You can show them as toast messages (small banners that appear briefly at the edge of the screen), snackbar-style notices, full-width banners, modal dialog boxes, or desktop-level notifications that appear outside the browser window entirely, using the standard Web Notifications API that modern browsers support. If the browser does not support desktop notifications, PNotify falls back gracefully to an in-browser display. A notable feature is a notification flow the library calls "modalish." This approach handles the common problem of many notifications piling up on screen at once, providing a structured way to stack or queue them that keeps the interface usable rather than cluttered. PNotify is modular. The core package handles the basics, and optional add-on packages provide extra capabilities: a confirm module for yes/no prompts, a countdown module that shows a timer before a notice auto-closes, an animate module for transition effects, a paginate module for grouping large numbers of notifications, a mobile module for touch-friendly interactions, and a desktop module for browser-level notifications. You install only the pieces you need. It works with all major JavaScript frameworks, including React, Angular, AngularJS, and Svelte, as well as plain JavaScript without any framework. Styling options include a built-in bright theme, a Material Design theme, Bootstrap 3 and 4 themes, and support for Font Awesome icons. The full README is longer than what was shown.
A modular JavaScript/TypeScript library for showing toast, banner, modal, and desktop notifications in web apps, with add-ons for confirmations and countdowns.
Mainly HTML. The stack also includes JavaScript, TypeScript, React.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.