In WordPress Admin dashboard login form animate with a shake effect whenever the user enters the wrong details.
This can easily implement using the jQuery UI library.
With jQuery UI you can shake an element in a specific direction and distance.
Using this you can warn the user when invalid input is entered.
In the demonstration, I am creating a login form and which gets shake when the wrong username and password entered.