Accessible, customizable toast notifications for modern web apps. toast-queue.js.org
README.md
toast-queue

toast-queue

Test status npm version npm downloads jsDelivr hits (npm)


Accessible, customizable toast notifications for modern web apps.

Features #

  • Framework agnostic: Vanilla JavaScript with zero runtime dependencies.
  • Customizable: Bring your own CSS or start with the included presets.
  • Accessible: Screen-reader announcements via ariaNotify(), keyboard dismissal with Escape, and focus management.
  • Top layer: Uses the browser’s top layer and ensures it stays on top of other top-layer elements.
  • Touch-friendly: Swipe to dismiss on touch devices.
  • Progressively enhanced: Uses modern browser APIs where available and falls back where possible.

Documentation #

API reference #

License #

Distributed under the MIT license. See LICENSE for details.

© André Ruffert