Packages

sonner

2.0.8 · 9 Aug 2026MIT61.9M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.0

31 Oct 2023Where it was published

1.7.4 is the newest release of 1.x.

In short

5 new2 fixed10 changed2 internal

Release note

What's Changed

  • Add dark mode to docs

  • Fix potential title and description overflowing

  • Bugfix: Update now works for first toastId

  • Update exports in package.json

  • Update docs repo base url

  • Update README.md

  • Make PromiseData partial in toast.promise

  • Allow to override icons

  • Add gap prop

  • type: Import types with keyword

  • Added empty arrow function to close button

  • Introduce unstyled prop

  • Warning and Info toasts

  • Update warning icon

  • Returning the id for a custom toast

  • Typescript error - loading, success and error should be optional

  • Fix updating duration, update docs

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.