vue-toastflow
Framework-agnostic toast engine with a Vue 3 renderer. Typed core, smooth stack animations, CSS-first theming, and full control over layout and behavior.
17,273
207
| Install | |
|---|---|
npm install vue-toastflow |
|
| Latest Version: | 1.3.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Aug 31, 2026 |
| Links: | GitHub · npm |
Maintainer: adrianjanocko
💚 Using Nuxt? Install
nuxt-toastflowinstead — it wraps this package with auto-imports and SSR support.
createToastflow()injects Toastflow's default CSS by default. PasscreateToastflow(config, { css: false })to disable that and importvue-toastflow/styles.cssmanually only when you want the shipped styles.
📦 What's Included
| Feature | |
|---|---|
| 🔌 | createToastflow plugin |
| 🎯 | toast programmatic API |
| 🧱 | <ToastContainer /> · <Toast /> · <ToastProgress /> |
| 🎨 | Default styles and icon components |
🚀 Quick Start
1. Install
pnpm add vue-toastflow
2. Register the plugin
// main.ts
import { createApp } from "vue";
import App from "./App.vue";
import { createToastflow } from "vue-toastflow";
createApp(App).use(createToastflow()).mount("#app");
3. Use it ✨
<!-- App.vue -->
<script setup lang="ts">
import { ToastContainer, toast } from "vue-toastflow";
toast.success({ title: "Saved", description: "Your changes are live." });
</script>
<template>
<ToastContainer />
</template>
💡 See the full Vue Quick Start guide for theming, slots, events, and more.
📄 License
MIT — made with ❤️ by @adrianjanocko
Related Packages
nuxt-toastflow
Nuxt module for Toastflow — accessible, customizable toast notifications with au...
2,507
207
Version History
| Version | Released | License |
|---|---|---|
| 1.3.0 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT | |
| 1.1.5 | MIT | |
| 1.1.4 | MIT | |
| 1.1.3 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.9 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.0.7 | MIT | |
| 0.0.6 | MIT | |
| 0.0.5 | ||
| 0.0.4 | ||
| 0.0.3 | ||
| 0.0.2 | ||
| 0.0.1 |
Pre-releases (17)
| Version | Released | License |
|---|---|---|
| 1.2.0-beta.6 | MIT | |
| 1.2.0-beta.5 | MIT | |
| 1.2.0-beta.4 | MIT | |
| 1.2.0-beta.3 | MIT | |
| 1.2.0-beta.2 | MIT | |
| 1.2.0-beta.1 | MIT | |
| 1.2.0-beta.0 | MIT | |
| 1.1.9-beta.4 | MIT | |
| 1.1.9-beta.3 | MIT | |
| 1.1.9-beta.2 | MIT | |
| 1.1.9-beta.1 | MIT | |
| 1.1.9-beta.0 | MIT | |
| 1.1.5-beta.4 | MIT | |
| 1.1.5-beta.3 | MIT | |
| 1.1.5-beta.2 | MIT | |
| 1.1.5-beta.1 | MIT | |
| 1.1.5-beta.0 | MIT |