[Suggestion] Multiple toast types #132
Replies: 6 comments
-
Agreed. For now, I've just modified the published toast file. |
Beta Was this translation helpful? Give feedback.
-
It would be good to set easy color customizations for e.g. success or error toasts without having to publish the components. |
Beta Was this translation helpful? Give feedback.
-
Also, would be nice to be able to add an icon. Somehting like: |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting! I have converted this issue to a feature request for now, so we can focus on fixing any bugs first. |
Beta Was this translation helpful? Give feedback.
-
20 hours ago the latest version 1.0.9 was release and this supports variants; https://fluxui.dev/components/toast#variants |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the variant only seems to change 1 minor thing, adding an icon. Ideally I want 'success', 'danger' etc to change the background colour of the toast as well (or even better, optionally allow me to). I've published the toast view and copied over the variant classes used on the icons to work on background, but it seems a pretty clunky way to do it.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I'd like to suggest adding multiple toast types, like "success", "warning", "error" and "info". Each using different colors.
Beta Was this translation helpful? Give feedback.
All reactions