Best Vue.js Notification Components 2022

Not all notifications are created equal! Styling, animation and position all matter when pushing a notification you want to be read.

I've collected some of my favourite, versatile (and mostly lightweight) Vue.js Notification, Alert & Toast Components in this article!

I'll keep the list updated if I stumble upon a new awesome library! If you think I should include one in particular, just tell me via Twitter (@MadeWithVueJS).

Vue Toastification 1963

  • ✅ Support for Vue 2 + 3

Vue Toastification offers simple and lightweight toast notifications with built-in Nuxt support. It's written in TypeScript and supports Vue 2 or Vue 3 & the Composition API.

Feature-wise it offers a lot of flexibility and features for its weight: swipe to close, progress bars and various customizations.

This library is super easy to set up. Nice one – go use it!

minified & gzipped: 5KB

Vue Toastification Notification Component
icon-eye-dark Created with Sketch. 3.748

Vue Notification  2306

  • ✅ Support for Vue 2 + 3

vue-notification is a simple and pretty lightweight notification library. 

You can choose between CSS and velocity-Animations for your notifications and customize duration, speed, positions and size. It offers 3 styles for success / error / warning alerts, but custom templating and styling is also possible.

It covers all important use cases for notifications without unnecessary overhead.

The library itself does not support Vue 3, but you can use the fork kyvg/vue3-notification!

4.2KB minified & gzipped

Vue Notification Notification Library
icon-eye-dark Created with Sketch. 25.276

Vue Toast Notification 400

  • ✅ Support for Vue 2 + 3

vue-toast-notification is one of the most lightweight alternatives for basic notifications with configurations for type (success / error / warning etc), position, duration, message, action and queuing.

The library does not offer fancy progress bars or similar gimmicks, but if you just want to display a message to your users this might be everything you need!

minified & gzipped: 2.3KB

Vue Toast Notification Toast Notification Component
icon-eye-dark Created with Sketch. 18.904

Vue Toasted  2179

  • ⚡️ Vue 2 only

The notifications of the Vue Toasted library can be configured with custom actions, duration, text and icons (Material Icons, Fontawesome or Material Design Icons). Besides 3 available styles you can also choose whether the toast should be displayed full-width.

It's also touch and mobile-compatible!

minified & gzipped: 17.8KB

Vue Toasted Touch-compatible Toast Plugin
icon-eye-dark Created with Sketch. 32.605

Vue SweetAlert  572

  • ⚡️ Vue 2 only

SweetAlert 15025 is a popular choice for alerts. There are Vue wrappers available like Vue SweetAlert 2 572 for Vue 2 projects. (If you're working with Vue 3, consider using the library without a wrapper!)

This library is very flexible: The alerts can be configured with buttons/actions, text, icons and various closing triggers. But besides simple alert popups Sweet Alerts also support more complex use-cases like nested alerts or the use of AJAX functions.

The design of the alert popups fits many project styles out-of-the-box, but you can of course use your own styling and content templates. The default animations of the popup box and the icons included are nice, but can get a bit annoying if the user will see these notifications a lot.

The library is definitely not on the lightweight size, so you'll have to evaluate if you really need its features!

vue-sweetalert2 – minified & gzipped: 31KB

Vue SweetAlert2 Wrapper for Sweetalert2
icon-eye-dark Created with Sketch. 9.070

vue-notifications  697

  • ⚡️ Vue 2 only

This last one is actually not a notification library, but it may be useful for some of you nonetheless! vue-notifications is a bridge between your app and notification libraries.

You can use it to make sure your code is library-agnostic, meaning you can replace the UI library you're using without having to rewrite your code.

vue-notifications Library-agnostic Notifications
icon-eye-dark Created with Sketch. 1.856

Similar Articles
Best Vue.js Datepickers & Calendars 2022
23.02.2022  •  in #UI Components
Why create a custom calendar yourself, if there are so many really great Vue.js components already? We've collected our favourite calendars & datepickers based on whether they are well maintained, easy to use, look nice and provide a good UX. This l...
Best Vue.js Datatables 2022
23.02.2022  •  in #UI Components
Datatables are a complex beast. If you ever built data-heavy business applications, you will probably know it's not easy to make them readable and clear. Discover some of the best datatable components for Vue.js that are flexible enough to adapt to your data and use case.