Skip to content

docs(Toast): add deprecation Callout #6982

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
7 changes: 7 additions & 0 deletions apps/www/content/docs/components/toast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ links:
api: https://www.radix-ui.com/docs/primitives/components/toast#api-reference
---

<Callout>

We're deprecating the `toast` component in favor of `sonner` in projects using Tailwind v4 and React 19.
[Read more](https://ui.shadcn.com/docs/tailwind-v4#whats-new)

</Callout>

<ComponentPreview name="toast-demo" />

## Installation
Expand Down