Raphael Salaja (@raphaelsalaja) 's Twitter Profile
Raphael Salaja

@raphaelsalaja

Design Engineer ⋅ Ambitiously Ambitious

ID: 1514974721212833802

linkhttp://raphaelsalaja.com calendar_today15-04-2022 14:31:49

2,2K Tweet

6,6K Takipçi

1,1K Takip Edilen

Raphael Salaja (@raphaelsalaja) 's Twitter Profile Photo

held actions imo should be more used on the web - removes the need for a "confirm dialog" - does not obscure the user's view - user can easily see what action they are about to make

Raphael Salaja (@raphaelsalaja) 's Twitter Profile Photo

for less annoying ux, ensure interactive elements use `user-select: none` to disable highlighting on their inner content. this prevents accidental selections and keeps interactions clean.

Raphael Salaja (@raphaelsalaja) 's Twitter Profile Photo

sometimes the simplest indication is the most effective instead of popping up a toast or dialog, try notifying users contextually where the action happens this keeps the ui clean, prevents distraction, and respects the flow of interaction.

Raphael Salaja (@raphaelsalaja) 's Twitter Profile Photo

interesting pattern here on Clerk's site, it appears they are using the `transform origin` from trigger to animate the dialog popup, haven't seen this used anywhere else, pretty cool stuff.

Raphael Salaja (@raphaelsalaja) 's Twitter Profile Photo

understanding when not to animate is powerful, a way you can figure this out, is by imagining how an interaction feels after 1000 uses. if it feels sluggish, remove it/tone it down. for example: menus used often don’t need to animate in every time; an exit animation is enough.