
- Overview
- UX Guidelines
- Dev
Type of message | Preview |
---|---|
Generic | |
Success | |
Validation | |
Offline Error |
Prop | Preview |
---|---|
None | |
With action | |
With loader |
Toast disappears automatically after 5-10 seconds. The default duration depends on text length: [word count / 2] = X secs to disappear
Examples:
[15 words / 2] = 7.5 secs
[2 words / 2] = 1, but 5 secs is minimum >> 5 secs
When using Toasts in your product, keep in mind that the default display time is preset but can be adjusted for messages that need more attention or reading time. However, the duration should never be less than 5 seconds.
Positioning
The Toast appears at the bottom of the screen, while keeping a spacing of S4 from the bottom of the screen, or from the bottom bar.
The Toast can be placed above CTA’s in order to keep the CTA available for the user.
Toast can be dismissed manually by swiping it down.

When displaying a Toast on a Tablet, the width of the component adjusts to the content.
- Min-width: 200px
- Max-width: 524px

Message Length
Do not display long messages in a Toast, keep the Toast message short and focused, yet informative.
Further information regarding the phrasing of toast messages can be found in UX Writers - Toast Guidelines.
<Toast
visible={isVisible}
position={'top'}
autoDismiss={5000}
onDismiss={onDismiss}
>