[![NPM][npmBadge]][npmUrl] [![Minzip Package][bundlePhobiaBadge]][bundlePhobiaUrl] [![NPM Download][npmDtBadge]][npmDtUrl]
Last release 11 months ago
01 Oct 2025
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 29 of 41 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
41 releases · first in 2023
Release timeline
41 releases since 2023One column per quarter.
Releases
- 2.0.91 Oct 2025
Release notes
Open source →What's Changed
- fix: make nuxt related deps optional by @sadeghbarati in #150
- feat: customize close button position by @ffgenius in #149
- feat: add isPaused prop to headlessToast for custom progressBars by @sedmedgh in #152
New Contributors
Full Changelog: v2.0.8...v2.0.9
- 2.0.818 Aug 2025
Release notes
Open source →What's Changed
- fix: fixed the type for nuxt 4 by @xiaoluoboding in #141
Full Changelog: v2.0.7...v2.0.8
- 2.0.717 Aug 2025
Release notes
Open source →What's Changed
- fix: postcss-calc will change the style by @CandyACE in #125
- fix: custom component not trigger on dismiss function by @oxwazz in #132
- chore: new version v2.0.7 by @xiaoluoboding in #139
New Contributors
Credits
- Thanks @sadeghbarati for #135
Full Changelog: v2.0.2...v2.0.7
Additional notes
Open source →Bug Fixes
- custom component not trigger on dismiss function (d5a69c6)
- fixed the build error (5ec4bca)
- improve expanded state management in Toaster component (5acca24)
- postcss-calc will change the style (f0d6add)
Features
- 2.0.217 Jul 2025
Release notes
Open source →What's Changed
- Add safe area inset to mobile top and bottom by @ygyg70 in #137
- chore: indicate compatibility with new v4 major by @NamesMT in #136
New Contributors
Full Changelog: v2.0.1...v2.0.2
- 2.0.123 Jun 2025
Release notes
Open source →What's Changed
- Add css import on web page by @MaxTechnics in #120
- fix(tsconfig): add tsconfig.includes files by @ffgenius in #121
- fix: active toasts by @jals1212 in #124
- 🎨 fix(theme): make theme="system" reactive in by @excho0 in #130
- 📦 feat(umd): add UMD-compatible plugin entrypoint and tsdown build by @excho0 in #131
New Contributors
- @MaxTechnics made their first contribution in #120
- @ffgenius made their first contribution in #121
- @jals1212 made their first contribution in #124
- @excho0 made their first contribution in #130
Full Changelog: v2.0.0...v2.0.1
- 2.0.021 May 2025
Release notes
Open source →What's Changed
- refactor!: sonner v2 changes by @sadeghbarati in #115
Full Changelog: v1.3.2...v2.0.0
How to Migrate from Version
v1.3.2tov2.0.0When you upgrade to
v2.0.0, you need to manually importvue-sonner/style.css. This gives developers greater flexibility, allowing you to even customize your own CSS.For Vue 3
Inline CSS is separated and must be imported manually.
<!-- App.vue --> <template> <Toaster /> <button @click="() => toast('My first toast')">Render a toast</button> </template> <script lang="ts" setup> import 'vue-sonner/style.css' // add vue-sonner css. import { Toaster, toast } from 'vue-sonner' </script>
In Nuxt 3
CSS is imported by default, but you can disable this behavior to prevent CSS from being imported.
Use
vue-sonner/nuxtmodule// nuxt.config.ts export default defineNuxtConfig({ ... modules: ['vue-sonner/nuxt'] vueSonner: { css: false // true by default to include css file } })
- 1.3.212 Apr 2025
Release notes
Open source →Full Changelog: v1.3.2...v1.3.2
What's Changed
- fix: improve CSS insertion logic to handle document loading state by @beijixiaohu in #107
- Loading icon remains visible after promise resolution when using the loading-icon slot (FIX) by @pcoterecollective in #113
- test: test the action by @xiaoluoboding in #114
New Contributors
- @beijixiaohu made their first contribution in #107
- @pcoterecollective made their first contribution in #113
Full Changelog: v1.3.0...v1.3.2
Additional notes
Open source →Bug Fixes
- improve CSS insertion logic to handle document loading state (6b22d24)
1.3.0 (2024-11-21)
Bug Fixes
- add icon classes (ff8b159)
- fixed the position bug (1c9b976)
- module: fixed the client-only warning (5cb93ff)
- use nuxt add component util for toaster (17adfb9)
Features
- 1.3.112 Apr 2025
Nothing published for this version
- 1.3.021 Nov 2024
Release notes
Open source →What's Changed
- fix: add icon classes by @imjasonmiller in #101
- fix: use nuxt add component util for toaster by @danielwaltz in #103
- feat: add sonner 1.7.0 features by @sadeghbarati in #102
New Contributors
- @imjasonmiller made their first contribution in #101
- @danielwaltz made their first contribution in #103
Full Changelog: v1.2.5...v1.3.0
- 1.2.529 Oct 2024
Nothing published for this version
- 1.2.429 Oct 2024
Release notes
Open source →What's Changed
Vue Sonner now supports a Nuxt 3 module
Use
vue-sonner/nuxtmodule// nuxt.config.ts export default defineNuxtConfig({ ... modules: ['vue-sonner/nuxt'] })
Use
Toastercomponent and$toastfunction anywhere in the Vue SFC<!-- app.vue --> <template> <div> <Toaster position="top-right" /> <button @click="() => $toast('My first toast')">Render a toast</button> </div> </template> <script setup lang="ts"> const { $toast } = useNuxtApp() </script>
Full Changelog: v1.2.3...v1.2.4
Additional notes
Open source → - 1.2.321 Oct 2024
Release notes
Open source → - 1.2.215 Oct 2024
- 1.2.123 Sept 2024
- 1.2.023 Sept 2024
Nothing published for this version
- 1.1.524 Aug 2024
Nothing published for this version
- 1.1.424 Jul 2024
Release notes
Open source → - 1.1.319 Jun 2024
Release notes
Open source →Bug Fixes
- Fix the problem of rate calculation error when clicking actions quickly. (1f1af25)
- fixed lint (b93387f)
- README: Fix typo in markRaw import (6a0b916)
Features
- support dynamic position (55102c4)
- 1.1.27 Mar 2024
- 1.1.12 Mar 2024
Release notes
Open source →Features
- add
@microsoft/api-extractorto merge all types files in one d.ts file (83f27fa)
1.1.0 (2024-03-01)
Bug Fixes
- add
- 1.1.01 Mar 2024
Nothing published for this version
- 1.0.429 Feb 2024
- 1.0.324 Jan 2024
- 1.0.27 Nov 2023
- 1.0.13 Nov 2023
Release notes
Open source →Features
- make promise return promise (9608865)
1.0.0 (2023-10-31)
Features
- add info & warning type for toast (daaedce)
- 1.0.031 Oct 2023
Nothing published for this version
- 0.4.430 Aug 2023
- 0.4.36 Aug 2023
- 0.4.224 Jul 2023
- 0.4.124 Jul 2023
- 0.4.024 Jul 2023
Nothing published for this version
- 0.3.34 Jul 2023
Release notes
Open source → - 0.3.215 May 2023
- 0.3.129 Mar 2023
Release notes
Open source →Bug Fixes
Features
- add copy icon (1cb61e8)
- add header for SEO (9571b9d)
- add seo meta (9317f63)
- change brand color (ef97ea9)
- refactor to hooks (eb3a578)
- style for mobile (1ace50b)
- update video (2f10ac1)
- upload the video (52761c8)
0.3.0 (2023-03-28)
Features
- add the inject css (848bea7)
- 0.3.028 Mar 2023
Nothing published for this version
- 0.2.328 Mar 2023
- 0.2.228 Mar 2023
Nothing published for this version
- 0.2.128 Mar 2023
- 0.2.028 Mar 2023
Nothing published for this version
- 0.1.027 Mar 2023
Nothing published for this version
- 0.0.127 Feb 2023
Nothing published for this version