Input & form animations

48 examples. Text fields, code inputs, search bars and pickers with helpful, animated feedback.

Input & form animations: common questions

How should an input show an error?
A short horizontal shake (2–3 cycles, under 400 ms) plus a colour change and a message — never motion alone.
How do I animate a one-time code input?
Pop each digit into its box, move the caret to the next, and morph the field into a verifying state when complete.

Input & form animations by framework

More categories