How to set position for notifications? #4669
Answered by Janpot
Firgrep asked this question in Help and support
-
| Is there a quick way to set the position of the snackbar notification for the useNotification or NotificationsProvider? E.g. I would like notifications to spawn on the bottom-right corner rather than bottom-left. Ideally, I'd be great to have this part of the options for the notificiation.show or set globally in the NotificationsProvider. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by Janpot Feb 10, 2025
Replies: 1 comment 6 replies
-
| Sure thing, you could set the <NotificationsProvider slotProps={{ snackbar: { anchorOrigin: { vertical: 'bottom', horizontal: 'right' }, }, }} > |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by Firgrep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Sure thing, you could set the
anchorOriginin theNotificationsProvider:example