Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: toast component is deprecated and should be removed from docs #7120

Open
2 tasks done
roshankosare opened this issue Apr 3, 2025 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@roshankosare
Copy link

roshankosare commented Apr 3, 2025

Describe the bug

In latest version shadcn-ui ui library toast component is deprecated, so it should be removed from docs.

npx shadcn@latest add toast

The toast component is deprecated. Use the sonner component instead

Affected component/components

docs

How to reproduce

cli output

  1. run npx shadcn@latest add toast in existing project which contain shadcn-ui library.

docs

  1. visit:- https://ui.shadcn.com/docs/components/toast for which docs are present

Codesandbox/StackBlitz link

No response

Logs

System Info

windows

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@roshankosare roshankosare added the bug Something isn't working label Apr 3, 2025
@Trisystema
Copy link

Ran into the same issue, it seems that the new version uses the "sonner" component (not mentioned in the docs for toast). See https://ui.shadcn.com/docs/components/sonner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants