vue3-notification

Based on vue-snotify for Vue 2.
18,279
Install
npm install vue3-notification
Latest Version:0.0.5
Vue:3
License:MIT
Last Updated:Oct 1, 2025
Links: npm
Maintainer: anilshr90

Vue Snotify for Vue 3

Based on vue-snotify for Vue 2.

How to use

npm i --save vue3-notify

In main.ts :

import notify from 'vue3-notification';

const app = createApp(App)

app.use(notify);

app.mount('#app');

In App.vue:

<vue3-notify />

Vue Options API:

methods: {
    handleClick() {
      this.$snotify.success("Lorem ipsum dolor sit amet!");
    }
}

Inject function for Vue files

The plugin automatically sets global provide() with key "vue3-notify".

<script setup>
import { inject } from "vue";

const snotify: (any) = inject("vue3-notify");

function handleClick() {
    handleClick() {
       snotify.success("Lorem ipsum dolor sit amet!");
    }
};

</script>

Related Packages

@meforma/vue-toaster

Vue.js toaster notification

217,174 192
@incuca/vue3-toaster

Lightweight toast-notification plugin for Vue 3

5,317 5
@datagouv/vue-toaster

Vue 3 toaster notification

859 0

Version History

Version Released License
0.0.5 MIT
0.0.4 MIT
0.0.3 MIT
0.0.2 MIT
0.0.1 MIT