DEV Community

Cover image for 🦊 React-Fox-Toast: A Silent but Powerful Presence in Your UI

🦊 React-Fox-Toast: A Silent but Powerful Presence in Your UI

Hadil Ben Abdallah on February 04, 2025

Have you ever felt like your toast notifications were... well, a little too toasty? 🍞 You know, the kind that takes over your screen, disrupts your...
Collapse
 
perisicnikola37 profile image
Nikola Perišić

This library truly stands out. This logo is very creative. I really liked the part "Why Should You Use This Toast?" on the website.
While I've previously used "Sonner", I’m excited to give Fox a try.

I’d love to contribute to this project as a maintainer. If you are interested, send me an invite.
Here's my GitHub profile: github.com/perisicnikola37

Best wishes!

Collapse
 
hadil profile image
Hadil Ben Abdallah

I’m thrilled to hear that you love the logo and the "Why Should You Use This Toast?" section, it’s always great to hear feedback from fellow developers.

If you’re excited about contributing, you can fork the project and start bringing your ideas to life right away! 🚀 Feel free to explore the code, make improvements, or add new features. Once you’re ready, you can open a pull request, and the developer will take it from there.

Looking forward to seeing what you create! 🦊

Collapse
 
hyvip profile image
Rajat Mondal

What would you say, distinguish it from react hot toast

Or why would someone opt in for a different toast package, if they are already using something like shadcn, and already have option to use sonner.

Just curious.

Collapse
 
hadil profile image
Hadil Ben Abdallah

Great questions! Here’s why someone might choose React-Fox-Toast over existing libraries like react-hot-toast or sonner, especially when using Shadcn:

1️⃣ Expandable Toasts with Smooth Transitions 🔥

Unlike react-hot-toast and sonner, React-Fox-Toast introduces a click-to-expand feature, allowing notifications to show more details only when needed. This keeps the UI clean while still providing rich information when users interact. Plus, when a toast expands, the rest adjust dynamically, no awkward overlaps or jumps.

2️⃣ More Control Over Customization 🎨

Many toast libraries use predefined styles that can be tricky to override. React-Fox-Toast leverages pseudo-classes, making customization seamless without needing !important overrides or inline styles. If you want a toast that fully adapts to your design system, this is a big win.

3️⃣ Lightweight & Unobtrusive 🦊

While react-hot-toast and sonner are great, they come with additional functionalities that might not be necessary for every project. React-Fox-Toast is designed to be minimal, efficient, and fast, focusing purely on delivering notifications in a smooth and intuitive way.

4️⃣ Perfect for Detailed Notifications 📩

If your app needs toasts that display longer messages, logs, or interactive content without overwhelming the UI, React-Fox-Toast is a better fit. The expandable design makes it ideal for dashboards, admin panels, and productivity tools.

5️⃣ Built for Modern UI Needs 🚀

React-Fox-Toast is crafted with Shadcn and modern UI principles in mind, making it a perfect match for developers who want a seamless, elegant notification system that integrates effortlessly into Next.js, Tailwind, and other modern stacks.

So, while react-hot-toast and sonner are great options, React-Fox-Toast is a game-changer for those who need a more adaptive, expandable, and customizable toast experience.

Collapse
 
gaundergod profile image
Gleb Kotovsky

Cool ting my man. Do u have any plans to port this on vue js?

Collapse
 
sanjay_rajeev_03b25309655 profile image
Sanjay Rajeev

Thanks for asking such a great question! I’m actually planning to turn it into Fox-Toast🦊, which will work across Angular, React, and Vue. My focus right now is on gathering solid feedback from users, making improvements, and ensuring it works well in real projects. Once that’s done, porting it to other frameworks should be pretty straightforward, apart from the testing part.

Collapse
 
gaundergod profile image
Gleb Kotovsky

Thanks for your reply. Btw, I'd be happy to work on a svelte/vue port for sure!

Collapse
 
hadil profile image
Hadil Ben Abdallah

Thank you 💙
The developer can answer your question @sanjay_rajeev_03b25309655 😅

Collapse
 
jeztn profile image
JZTN

This is a fantastic breakdown of React-Fox-Toast! The expandable toast feature is a game-changer for UI design, especially when managing detailed information without cluttering the interface. I love how the developer took matters into their own hands after facing issues with other libraries, and the smooth transition and dynamic spacing really make it stand out. The lightweight nature and flexibility are huge wins too! I also appreciate the clear documentation – it makes implementation so much easier. Definitely going to give it a try in my next project. Thanks for sharing such a well-thought-out solution! 🦊✨

Collapse
 
hadil profile image
Hadil Ben Abdallah

I’m thrilled to hear that you found it helpful 😊 I'd love to hear about your new projects and how much React-Fox-Toast helped you 💙

Collapse
 
dzungnt98 profile image
Dzung Nguyen

Cool! I love the Envelope Toast & Drawer Toast - really stand out ❤️

Collapse
 
hadil profile image
Hadil Ben Abdallah

That's great 💙 Happy coding 👨🏻‍💻

Collapse
 
charlesbaldwin profile image
Charles Baldwin • Edited

That sounds like a great addition to UI design! Subtle but effective notifications can really enhance user experience. Have you experimented with different animation effects to make them even smoother? I had spent months working on my thesis, but the deadline was fast approaching, and I still hadn’t finished all the required sections. I was running out of time and needed help with data analysis and refining my arguments. That’s when I decided to use Academized to buy thesis online service available here at academized.com/buy-thesis-online Their writer not only helped me organize my research but also made sure my paper had a logical flow, strong supporting evidence, and a persuasive conclusion. They followed all my university’s formatting guidelines, which saved me so much time. The final version was polished, insightful, and free from errors. I felt confident submitting it, and my professor gave me positive feedback. I couldn’t have asked for better support!

Collapse
 
ahmedlitim07 profile image
Litim Ahmed

Thanks man for introducing such a fantastic library--i would be very happy to add it on my future projects

Collapse
 
hadil profile image
Hadil Ben Abdallah

You're welcome 💙 Happy coding 👩🏻‍💻

Collapse
 
aayyusshh_69 profile image
Aayush Pokharel

I use shadcn toast. Thanks for sharing.

Collapse
 
hadil profile image
Hadil Ben Abdallah

You're welcome 💙

Collapse
 
vyan profile image
Vishal Yadav

Try mine vyrn.vercel.app

Collapse
 
hadil profile image
Hadil Ben Abdallah

It's amazing. Great job 👏🏻

Collapse
 
swapnil_vispute profile image
swapnil vispute

Great work, I found this package very useful, this is the best toaster package I have ever used.

Collapse
 
hadil profile image
Hadil Ben Abdallah

Thrilled to hear you found it useful 😊💙

Collapse
 
9861164945 profile image
Sambit Kumar Swain

Impressive

Collapse
 
hadil profile image
Hadil Ben Abdallah

Thank you 💙

Collapse
 
hanadi profile image
Ben Abdallah Hanadi

This library is so cool 🔥

Collapse
 
hadil profile image
Hadil Ben Abdallah

Thank you 💙

Collapse
 
textbrew profile image
TextBrew

Good for use!

Collapse
 
hadil profile image
Hadil Ben Abdallah

Thank you 💙