npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

be-vue3-notification

v0.0.6

Published

Notifications for Vue3!

Readme

Be Vue3 Notification

Vue 3

Simple, light, easy and elegant toast notifications for Vue3, in other words, for exact you'll need in real world.

To check it out, just click --> Check out the live demo!

Important! The documentation is still under construction and will be improved, but here you have everything to get start.

Installation

$ npm install --save be-vue3-notification

Usage

Plugin registration

Add it as a plugin to your app:


import { createApp } from "vue";
import BeNotification from 'be-vue3-notification'
// you'll need import the CSS!
import 'be-vue3-notification/dist/style.css'

const app = createApp(...);

app.use(BeNotification);

Creating notifications

To create notifications, you will need put the following tag in your main component, usually in App.vue

<be-notifications/>

Also, you will need import inject method from vue, like:

import { inject } from 'vue';

Then you can create notifications by calling inject("notify") from within a component. Check the complete example on code bellow, also you can check it out others examples on how you can call a different type of notification Clicking here!


<script>
    import { inject } from 'vue';

    const notify = inject("notify")

    notify("Hello World!")
  
    /** Success example **/
    notify({
      type: 'success',
      title : 'Congratulations!&#128526;',
      message : "You clicked on button successfully!" ,
      animation: 'slide',
      position: 'bottom-right',
    })

    /** one example on how calling chat notifications */
    notify({
      type: 'info',
      title : 'Gecko sent you a message.',
      message : "How's it going? Do you need some help?",
      label: 'Gecko',
      thumb: baseUrl + 'assets/gecko.jpg',
      reply: true,
      animation: 'bounce',
      position: 'bottom-right',
      callback: (text) => {
        console.log("return callback", text)
        setTimeout(() => notify({
          type: 'success',
          title : 'It was amazing!',
          message : "Your message was sent successfully!",
          animation: 'bounce',
          position: 'bottom-right',
        }), 1000)        
      }
    }) 
</script>

Positions

The notifications will be displayed at the bottom right by default, but you can change it manually setting the position option.

Folow the list of all position that you can use: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right

Or set it by type definitions.

import BeNotification, {POSITION} from 'be-vue3-notification'

app.use(BeNotification, {
    // Making bottom left as a default position
    position: POSITION.BOTTOM_LEFT
});

// Also you can set it directly on calling of function.
import {POSITION} from 'be-vue3-notification'

notify("Hello Gecko!", { position: POSITION.BOTTOM_LEFT });

Animations

bounce animate is been setup by default, but you can change it. Follow the list of all animations: bounce, slide, fade, rotation

import BeNotification, {ANIMATION} from 'be-vue3-notification'

app.use(BeNotification, {
  animation: ANIMATION.BOUNCE,
});

if you want to see it in action and check more details just Click here!