Toast🍞 #94
EternalBlack
started this conversation in
Ideas
Toast🍞
#94
Replies: 2 comments 4 replies
-
Add toast provider at root layout (). Trigger notifications on user events (e.g., API success, error, message received). Support multiple variants: success, error, loading, info. export default function App() { |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hey @EternalBlack, we already have toasts (they're just called notifications): |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem or use case
Sometimes we'd like to give the user a frontend toast notification of some sort (new message, upload progress, whatever).
Proposed solution
Maybe a toast/sonner would be great thing to have. Something like https://ui.shadcn.com/docs/components/sonner
Maybe using https://github.com/emilkowalski/sonner or https://github.com/timolins/react-hot-toast.
Beta Was this translation helpful? Give feedback.
All reactions