[Feature Request] lion/snackbar component #918
Replies: 3 comments
-
Some questions:
|
Beta Was this translation helpful? Give feedback.
-
The trouble with these components is the timing combined with the content. Your content can't be so important that people can't miss it. If people can't miss it, you would pick something that doesn't disappear (for example). But if the content is of so little importance that you can put it in a snackbar, couldn't you do without it entirely? |
Beta Was this translation helpful? Give feedback.
-
Personally, I use snackbar for situations described in material design confirmations & acknowledgement
It could be, "build complete", "saved", "removed". And like it was used in pwa-starter-kit for offline/online notifications. Saved and removed could be inline notification (like tooltip next to the action button) but you can validate a form without clicking on the submit button. And build complete is linked to a notification system, it's something done in background. |
Beta Was this translation helpful? Give feedback.
-
Like material design snackbars
Rules:
A
show
function should be exported to instanciate the component displayBeta Was this translation helpful? Give feedback.
All reactions