Skip to content

Feature Request: Support for Multiple Toaster Instances for Grouped Notifications #156

@mayurhingaladiya

Description

@mayurhingaladiya

Currently, vue-sonner assumes a single component instance handles all toasts. While this works for standard usage, it becomes challenging when organizing notifications into distinct visual groups (e.g., separating errors from success/normal messages).
What I've seen in other libraries is an optional toasterId parameter to the toast() and id into the functions to allow explicit targeting.

Is there any current workaround to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions