#761·sonner

Dynamic/scoped `<Toaster />` configuration support

Author: programming-with-iaCreated May 24, 2026Updated May 24, 2026

Hi, thanks for the amazing library ❤️

I wanted to ask if there is currently a way to dynamically change <Toaster /> settings for a specific page, component, dialog, or temporary UI state only.

Example use cases:

  • a dialog opens and all toasts should temporarily use position="bottom-center"
  • a specific page wants different richColors, theme, or expand
  • a component wants custom toaster behavior without affecting the global app toaster