Skip to content

v1.0.0

Latest

Choose a tag to compare

@jingjunm jingjunm released this 12 Feb 22:54
· 7 commits to main since this release

Initial release of Toastry — a beautiful, modern toast notification library for JavaScript.

  • Zero dependencies, ~5 KB gzipped
  • CSS auto-injected — one import and go
  • 5 toast types: default, success, error, warning, info
  • Loading spinner and promise API
  • Swipe to dismiss
  • Smooth stacking animations with hover-to-expand
  • 4 positions: bottom-right, bottom-left, top-right, top-left
  • Fully customizable via CSS variables
  • Works with ES modules, CommonJS, and script tags