@freshworks/toast-message
v0.19.1
Published
Toast message component in Nucleus
Downloads
4,934
Maintainers
Keywords
Readme
@freshworks/toast-message
ember install @freshworks/toast-message
Toast messages are quick messages that appear after user-driven events to inform the users immediately after said events. These components are mostly used for confirmation or alerts and only require the user’s attention for a span of a few seconds. They can also be closed with the standard close button and may contain buttons or links.
Scenario
In Freshdesk, we use toast messages for confirmation of delete actions, creating new objects (eg. tickets, groups) etc. Toast messages are used so that they don’t completely disrupt the user’s workflow but alert them anyway.
Guidelines
DO’s
- Keep the message short and to the point
- Icon to the titles has to be contextual
DONT’s
- Don’t have more than two lines of content
- Don’t use toast messages on overlays (sliders/modals)
- Don’t use toast messages for high priority information