Toastflow
Playground
Global

Overview

Pick the right Toastflow package and learn the shared runtime model.

One toast runtime, three entry points. Pick the package that matches your app and keep the same mental model everywhere.

vue-toastflow npm versionnuxt-toastflow npm versiontoastflow-core npm version

Vue

@vue-toastflow — Plugin + components for any Vue 3 app.

Nuxt

@nuxt-toastflow — Zero-config module with auto-imports and SSR.

Core

@toastflow-core — Framework-agnostic store. Bring your own renderer.

Package Map

vue/main.ts
import { createApp } from "vue";
import { createToastflow } from "vue-toastflow";
import App from "./App.vue";

createApp(App).use(createToastflow()).mount("#app");

Shared Runtime

Create

Use a payload object, a title + options call, or a typed helper like toast.success(...).

Update

Keep the returned id when you want to turn a loading toast into a success or error toast.

Control

Pause the queue, dismiss all toasts, subscribe to state, or listen to lifecycle events.

toast.success({
  title: "Saved",
  description: "Your changes are live.",
});

Live Runtime

Try it live

These buttons use the same Toastflow runtime as your app.

Copyright © 2026