DEV Community

Music Khairy
Music Khairy

Posted on

JuiceToast v1.3.2

🍹 JuiceToast v1.3.2 Released

Hey devs! πŸ‘‹

A new update of JuiceToast is here!
Version v1.3.2 focuses on improving accessibility, adding new customization features, and making the developer experience even smoother.

If you love lightweight, dependency-free toast notifications β€” this release is for you.


✨ What’s New in v1.3.2

β™Ώ Improved Accessibility (A11Y)

Accessibility has been significantly improved to ensure better usability for everyone:

  • Better screen reader support
  • Improved ARIA attributes
  • More consistent focus handling
  • Reduced-motion friendly behavior

πŸ–ΌοΈ Background Image Support

You can now add background images to your toast notifications using the new:

bgImage
Enter fullscreen mode Exit fullscreen mode

This makes it easier to create more visually appealing notifications for branding, promotions, or custom UI themes.


🎨 More Built-in Themes

JuiceToast now comes with additional themes out of the box, making it easier to match your app’s design without writing custom CSS.


⚑ Default Toast Helpers

You no longer need to configure basic toast types manually.
New helper functions are now available:

juiceToast.success("Saved successfully!");
juiceToast.error("Something went wrong!");
juiceToast.info("New update available.");
juiceToast.warning("Storage almost full.");
juiceToast.loading("Uploading...");
Enter fullscreen mode Exit fullscreen mode

These helpers provide quick, clean, and consistent notifications.


🍹 Why JuiceToast?

JuiceToast is designed to be:

  • Lightweight
  • Dependency-free
  • Easy to integrate
  • Highly customizable
  • Mobile-friendly
  • Accessible by default

Perfect for modern web apps that need fast, beautiful notifications without bloat.


πŸ“¦ Installation

npm install juice-toast
Enter fullscreen mode Exit fullscreen mode

πŸš€ Quick Example

juiceToast.success("Hello from JuiceToast!");
Enter fullscreen mode Exit fullscreen mode

That’s it β€” simple and powerful.


❀️ Support the Project

If you enjoy using JuiceToast:

  • ⭐ Star the repository
  • πŸ› Report issues
  • πŸ’‘ Suggest new features

Your support helps the project grow!


πŸ§ƒ What’s Next?

Future updates may include:

  • More animation presets
  • Plugin system (With JDX)
  • Advanced positioning controls

Stay tuned πŸ˜‰


Thanks for using JuiceToast!

Top comments (0)