Packages

sonner

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

Your version

0.4.0

23 May 2023Where it was published

0.7.4 is the newest release of 0.4.x.

In short

3 new4 fixed2 changed1 internal

Release note

What's Changed

  • Add custom id

  • Add onDismiss and onAutoClose callbacks

  • Set line height

  • Fix layout shift

  • typerror: Fix unhandled possible undefined of ref #62

  • Fix lock file

  • Fix promise toast height

  • Allow toast updates and listen to height changes

  • Center toast on smaller screens

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.