@notifi/vue

Vue 3 adapter for Notifi - headless notifications
1,618 2
Install
npm install @notifi/vue
Latest Version:0.0.4
Vue:3
License:MIT
Last Updated:Sep 13, 2026
Links: GitHub  ·  npm
Maintainer: sedmedgh

Notifi logo

@notifi/vue

Vue 3 adapter for Notifi (headless notifications manager).

  • Headless: no styles provided
  • Components: NotifContainer
  • API: notif

📚 Documentation • 🐛 Issues

Install

npm install @notifi/vue

Basic usage

<template>
  <NotifContainer />
  <button @click="notify">Notify</button>
</template>
<script setup lang="ts">
import { NotifContainer, notif } from '@notifi/vue'

function notify() {
  notif('Hello Notifi!', { duration: 2500 })
}
</script>

Register globally (optional)

import { createApp } from 'vue'
import NotifiVue from '@notifi/vue'
import App from './App.vue'

createApp(App).use(NotifiVue).mount('#app')

This adds $notif and registers NotifContainer globally.

Custom component content

import { notif } from '@notifi/vue'
import { h } from 'vue'
import Toast from './Toast.vue'

notif(h(Toast, { title: 'Saved', description: 'All good.' }), { duration: 3000 })

Or pass a factory to receive live props (e.g., to read duration, paused, etc.):

import { notif, type ExternalNotification } from '@notifi/vue'
import { h } from 'vue'
import Toast from './Toast.vue'

notif((params: ExternalNotification) => h(Toast, params), { id: 'custom' })

Target a specific container

<NotifContainer id="sidebar" />
notif('Side message', { notificationContainerId: 'sidebar' })

Dismiss

const id = notif('Closable', { duration: Infinity })
notif.dismiss(id) // single
notif.dismiss()   // all

Types

Re-exports from @notifi/core:

  • ExternalNotification, NotificationT, NotificationContainerProps, NotificationComponentProps

License

MIT

Related Packages

vue-toastification

Toasts for Vue made easy!

8,941,430 3,362
@brackets/vue-toastification

Toasts for Vue made easy with custom component!

18,111 1
revdojo-vue-components

This is vue 3 component

4,676
vue-toast-kit

Toast notifications for Vue 3 and Nuxt 3 — promise API, priority queue, undo wit...

1,962 0
@knime/vue-headless-virtual-scroller

Fast scrolling of large amounts of data

65,869

Version History

Version Released Vue License
0.0.4 ^3.5.14 MIT
0.0.3 ^3.5.14 MIT
0.0.2 ^3.5.14 MIT
0.0.1 ^3.5.14 MIT