Is your feature request related to a problem? Please describe.
Currently, toast notifications only appear in the default position. In applications with different layouts, developers may need to display notifications in specific areas of the screen (e.g., bottom-right, top-left, center, etc.) to avoid overlapping important UI elements.
Describe the solution you'd like
Add support for configuring the position of individual toast notifications.
Example:
toast.success('Message Sent!', {
position: 'bottom-right'
})
Supported positions could include:
top-left
top-center
top-right
bottom-left
bottom-center
bottom-right
This would allow developers to customize notification placement on a per-toast basis instead of relying on a global configuration.
Describe alternatives you've considered
Currently, positioning can only be controlled globally or by creating custom implementations/workarounds. These approaches are less flexible when different notifications need to appear in different locations.
Additional context
This feature would improve flexibility and make the API more consistent with other toast notification libraries that support per-toast positioning.
Is your feature request related to a problem? Please describe.
Currently, toast notifications only appear in the default position. In applications with different layouts, developers may need to display notifications in specific areas of the screen (e.g., bottom-right, top-left, center, etc.) to avoid overlapping important UI elements.
Describe the solution you'd like
Add support for configuring the position of individual toast notifications.
Example:
Supported positions could include:
top-lefttop-centertop-rightbottom-leftbottom-centerbottom-rightThis would allow developers to customize notification placement on a per-toast basis instead of relying on a global configuration.
Describe alternatives you've considered
Currently, positioning can only be controlled globally or by creating custom implementations/workarounds. These approaches are less flexible when different notifications need to appear in different locations.
Additional context
This feature would improve flexibility and make the API more consistent with other toast notification libraries that support per-toast positioning.