2 Comments

Hello,

I am writing because I have a small doubt, the last example has a primary button labelled "confirm" and is coloured red.

Recently, I had a discussion about this issue, and the idea is that it is not a good practice to associate the colour red with a positive label. I would like to know what your opinion is.

Also, I would like to congratulate you on this article.

Thank you,

best regards

Luís

Expand full comment

All rules have exceptions. The goal of destructive operation confirmations is to make the user stop and think so that he will not be sorry afterwards. Sometimes, those confirmations can cause damage for millions of dollars just because someone was in a rush and didn't read all the alerts, exclamation marks, and bolded text. Anti-patterns are usually harmful, but we're doing the user a favour in this case. We have to be sure that he spent enough time and understood the consequences of his actions before committing to them by clicking the action button.

Expand full comment