Interactive Examples
Small animations and micro-interactions you can try, with the states, the reasoning, accessibility notes and the source code.
Buttons
Button press, loading and success feedback
A button that dips when pressed, shows a spinner while it works and confirms when it is done, with words that carry the meaning at every step.
Hover states
Link underline that appears on hover and focus
A hover effect for navigation links that works just as well for keyboard users, and moves nothing else on the page.
Input feedback
Inline validation feedback for a text field
An email field that checks itself when you leave it, and shows a problem with an outline, an icon and a sentence that says how to fix it.
Loading
Skeleton loading placeholder
Grey shapes hold the place of content while it loads, in the same layout, so nothing jumps when the real content arrives.
Tabs
Tabs with a sliding indicator
A marker that slides to the selected tab shows where you came from and where you are, with full arrow-key support.
Cards
Card that expands in place
A summary card that opens to show its details without leaving the page, built on a real button and a height animation that needs no measuring.
Menus
Dropdown menu with keyboard support
A menu that opens from its button with a short fade and scale, and can be used completely from the keyboard.
Transitions
Transition between steps of a flow
Moving forward slides the next step in from the right and going back brings the previous one in from the left, so the motion shows where you are.