Description
vue3-notification is a notification library for Vue 3. It is a fork and port of vue-notifications, which was made for Vue 2, so Vue 2 users should keep using the original. You add a global notifications component to your App.vue, and then trigger notifications from any component, from a router file, or with the Composition API. Notifications can be positioned on screen, grouped into named holders, given a width, custom classes and a duration, and can be set to stay on screen until dismissed when the duration is negative. The title and text are no longer rendered as HTML in version 3: you use the dangerouslySetInnerHtml prop to render them that way. The library does not support Nuxt 3 directly, but a separate nuxt3-notifications wrapper adds compatibility. The README includes migration examples from the Vue 2 syntax to the Vue 3 syntax and a table of all component props.…
Highlights
- Global notification component for Vue 3
- Trigger from components, routers or Composition API
- Positions, groups, widths and durations
- Optional HTML rendering for title and text
- Migration notes from Vue 2
Ratings & Reviews
No ratings yet
Be the first to rate @kyvg/vue3-notification.
People also visit
@kyvg/vue3-notification FAQ
What is vue3-notification?
A notification library for Vue 3, forked from vue-notifications, which was built for Vue 2.
Does it work with Nuxt 3?
Not directly. The README says to use the nuxt3-notifications wrapper for Nuxt 3 compatibility.
How do I show a notification?
Add the global component to App.vue and call the notify function from your .vue files, a router file, or with the Composition API.
Is HTML allowed in the messages?
Not by default in version 3. Use the dangerouslySetInnerHtml prop if you want the title and text rendered as HTML.
What are the best @kyvg/vue3-notification alternatives?
Popular alternatives to @kyvg/vue3-notification include notivue, Toastflow and VueToastify. See all @kyvg/vue3-notification alternatives



















