Animations can be great if used in appropriate contexts. They create moments of charm and, when correctly used, they help to increase the user’s understanding of the UI. What once was a big no-no, using animations at all, has now become more or less the standard when building new web pages. Highlighting certain state transitions, changes and give feedback for certain actions are generally good places to use animations
How to create a checkmark animation with anime-js.