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

@alann-estrada-ksh/sileo-vue

v0.1.9

Published

An opinionated toast notification library for Vue.

Readme

Installation

npm i sileo

Documentation

Start here:

Local Example (In-Repo)

You can run a demo app directly from this repository to validate behavior locally:

npm run example:install
npm run example:dev

The example lives in example/ and imports the package from local source so you can validate animations, icons, grouping, promise flow, swipe behavior, hooks and accessibility without publishing.

Getting Started

import { sileo, Toaster } from "@alann-estrada-KSH/sileo-vue";

const notify = () => {
  sileo.info({
    title: "Saved",
    description: "Your changes were stored.",
  });
};
<template>
  <Toaster position="top-right" />
  <button @click="notify">Show toast</button>
</template>

Actionable Toast Philosophy

Buttons in toasts should be used for immediate, high-value follow-up actions.

  • Good: actions directly related to the event, such as "Open", "Undo", or "Share" when the toast represents shareable content.
  • Avoid: unrelated or low-value actions that belong in full UI flows (dialogs, pages, settings panes).
  • Rule of thumb: if the action cannot be understood without extra context, it should not live inside a toast button.

Grouping and Stacking

To avoid notification overload, Toaster can group bursts of toasts:

<Toaster :grouping="true" :group-threshold="3" />

Render In Custom Container

You can choose where the toaster is teleported (useful for modal/root stacking conflicts):

<Toaster :container="'#sileo-toaster'" />

Methods

  • sileo.info, sileo.success, sileo.warning, sileo.error, sileo.action
  • sileo.loading for independent loading notifications
  • sileo.promise for async lifecycle notifications
  • sileo.dismiss(id?) and sileo.clear(position?)
  • sileo.configure(...) for persistent global defaults

New Runtime Enhancements

  • Dynamic content height animation (no fixed collapse spacing)
  • Swipe-to-dismiss for touch devices (swipeToDismiss per toast)
  • Accessibility live-region control (aria-live on Toaster)
  • Lifecycle hooks (hooks.onShow, hooks.onExpand, hooks.onCollapse, hooks.onDismiss)

Lifecycle Hooks

sileo.success({
  title: "Saved",
  description: "All changes stored.",
  hooks: {
    onShow: (ctx) => console.log("show", ctx),
    onExpand: (ctx) => console.log("expand", ctx),
    onCollapse: (ctx) => console.log("collapse", ctx),
    onDismiss: (ctx) => console.log("dismiss", ctx),
  },
});

Accessibility

<Toaster aria-live="polite" />

Allowed values:

  • polite (default)
  • assertive
  • off

Swipe To Dismiss

sileo.info({
  title: "Upload complete",
  swipeToDismiss: true,
});

Disable per toast:

sileo.action({
  title: "Pinned alert",
  swipeToDismiss: false,
});

For detailed docs, click here: https://sileo.aaryan.design