Skip to content

[docs][snackbar] Stack Snackbars with Base UI Toast instead of notistack - #49783

Open
maksimgm wants to merge 2 commits into
mui:masterfrom
maksimgm:docs/snackbar-base-ui-toast
Open

maksimgm wants to merge 2 commits into
mui:masterfrom
maksimgm:docs/snackbar-base-ui-toast

Conversation

@maksimgm

Copy link
Copy Markdown
Contributor

Closes #42615

As suggested in this comment, this replaces the notistack section with a demo that stacks Material UI Snackbars using Base UI's Toast. Base UI handles the stack, the timers and keyboard interactions, and each toast is rendered with SnackbarContent. Escape closes the focused Snackbar, which notistack doesn't support, so the warning about it is gone.

This also removes the notistack demo and the notistack dependency from the docs. notistack is still listed on the Related projects page, so that can be handled separately if you'd rather keep it there.

@code-infra-dashboard

code-infra-dashboard Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

No regressions in 32 benchmarks · ran 2m 17s · details


Check out the code infra dashboard for more information about this PR.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs][Snackbar] Stop recommending the usage of notistack, the library is seemingly no longer (properly) maintained

1 participant