Skip to content

Commit

Permalink
Update toast timing in best practices (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusps committed Sep 11, 2024
2 parents 5b1add4 + 8a0d03c commit d1ff78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/pages/components/toast/best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Toasts are always dismissible. For non-dismissible notifications, read the Alert
### Timing

- **Trigger:** Toasts appear immediately after an action is triggered (user presses *Save*) or the loading feedback is over (Button stops spinning).
- **Duration:** Most Toasts should last between 5 and 10 seconds, following an average of 3.5 milliseconds per character. Use a permanent toast only when they require attention, such as critical Toasts, warning Toasts, and any Toast that is not the immediate result of an user action.
- **Duration:** Most Toasts should last between 5 and 10 seconds, following an average of 175 milliseconds per character. Use a permanent toast only when they require attention, such as critical Toasts, warning Toasts, and any Toast that is not the immediate result of an user action.

0 comments on commit d1ff78d

Please sign in to comment.