๐ Toastflow
Framework-agnostic toast engine with Vue 3 renderer and Nuxt module support.
Typed core ยท smooth stack animations ยท CSS-first theming ยท full layout control.
๐ Docs ยท ๐ฎ Playground ยท โ๏ธ Comparisons
๐ฆ Packages
| Package | Version | Description |
|---|---|---|
๐ข vue-toastflow |
Vue 3 plugin โ components, programmatic API, styles | |
๐ nuxt-toastflow |
Nuxt module โ auto-imports, SSR, zero config | |
โ๏ธ toastflow-core |
Framework-agnostic core โ store, timers, queue, events |
๐ Quick Start
|
Vue 3 pnpm add vue-toastflowimport { createToastflow } from "vue-toastflow";
createApp(App).use(createToastflow()).mount("#app"); |
Nuxt pnpm add nuxt-toastflowexport default defineNuxtConfig({
modules: ["nuxt-toastflow"],
}); |
๐ก Check the Getting Started guide for full setup with examples.
โจ Highlights
- ๐ฏ Typed from core to UI โ full TypeScript, no
any - ๐จ CSS-first theming โ override CSS variables, no JS config needed
- ๐ Queue & stack management โ
maxVisible, auto-queue, smooth animations - โฑ๏ธ Timer controls โ pause on hover, progress bars, loading toasts
- ๐งฉ Composable architecture โ slots, events, headless mode
- ๐ Framework-agnostic core โ bring your own renderer
๐๏ธ Development
pnpm install # ๐ฅ install all dependencies
pnpm build # ๐จ build all packages
pnpm test # ๐งช run all tests
pnpm lint # ๐ lint
pnpm format # ๐
format with Prettier๐๏ธ Monorepo Structure
toastflow/
โโโ ๐ฆ packages/
โ โโโ ๐ข vue/ โ vue-toastflow
โ โโโ ๐ nuxt/ โ nuxt-toastflow
โ โโโ โ๏ธ core/ โ toastflow-core
โ โโโ ๐ docs/vue/ โ VitePress docs
โ โโโ ๐ฎ playground/vue โ local playground app
โ โโโ ๐งช test/nuxt/ โ Nuxt smoke test
โโโ ๐ผ๏ธ assets/ โ shared assets
๐ License
MIT โ made with โค๏ธ by @adrianjanocko
