Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

Merge branch 'feat/rollout-micro-c' into feat/rollout-micro

matin631d60742e7b
diff --cc index.html
index 854a48dd,9bf4a384..cac50505
--- a/index.html
+++ b/index.html
@@@ -963,23 -963,23 +963,23 @@@ const CATS=
['shimmer-effect','Shimmer Effect','A band of light sweeps over gray placeholders. Best for loading screens.'],
['loading-spinner','Loading Spinner','Six small shapes loop to show that something is loading. Best for short waits.'],
['progress-animation','Progress Animation','A bar, a ring and steps fill up to show progress. Best for uploads.'],
- ['checkmark-draw','Checkmark Draw','SVG path draws progressively on success — stroke-dashoffset animates from full length to zero.'],
- ['form-field-morph','Form Field Morph','Floating label rises out of the input on focus — persists when the field is filled.'],
- ['badge-pulse','Notification Badge Pulse','Dot on icon pulses to draw peripheral attention — scale, halo, or both.'],
- ['tooltip-reveal','Tooltip Reveal','Info box fades in after a 300ms delay — long enough to avoid triggering on mouse pass-through.'],
- ['drawer-slide','Drawer / Panel Slide','Off-canvas panel slides from edge — ease-out open, ease-in close. Backdrop dismisses.'],
- ['modal-expand','Modal Expand','Modal scales from the trigger button\'s position — transform-origin set to where you clicked.'],
- ['accordion','Accordion Open/Close','Height animates between 0 and auto — JS measured height vs CSS grid-template-rows compared.'],
- ['cursor-follower','Cursor Follower','Custom element follows mouse with lerp lag — mix-blend-mode: difference inverts any background.'],
- ['error-shake','Error Shake','An invalid field shakes horizontally with a decaying wobble and flashes red — the universal "no".'],
- ['swipe-to-dismiss','Swipe to Dismiss','Drag a card past a threshold and it flies off as the row collapses — pointer-driven, touch-ready.'],
+ ['checkmark-draw','Checkmark Draw','A tick draws itself in a circle once a task succeeds. Best for forms.'],
+ ['form-field-morph','Form Field Morph','The label moves up out of the way as you type. Best for sign-up forms.'],
+ ['badge-pulse','Notification Badge Pulse','A badge on an icon pulses to catch the eye. Best for unread messages.'],
+ ['tooltip-reveal','Tooltip Reveal','A small label fades in after a short pause. Best for icon buttons.'],
+ ['drawer-slide','Drawer / Panel Slide','A side panel slides in over a dimmed page. Best for mobile menus.'],
+ ['modal-expand','Modal Expand','A window grows out of the button you pressed. Best for detail views.'],
+ ['accordion','Accordion Open/Close','Each question opens smoothly to show its answer. Best for FAQ pages.'],
+ ['cursor-follower','Cursor Follower','A dot trails your pointer and flips the colors under it. Best for portfolios.'],
+ ['error-shake','Error Shake','A field shakes side to side when the input is wrong. Best for sign-in forms.'],
+ ['swipe-to-dismiss','Swipe to Dismiss','A card dragged sideways flies off and the list closes up. Best for inboxes.'],
- ['hamburger-menu-toggle','Hamburger Menu Toggle','The bars icon morphs to an X — top and bottom bars rotate to cross while the middle fades out.'],
- ['theme-toggle-morph','Theme Toggle Morph','A sun morphs into a crescent moon as the interface flips between light and dark.'],
- ['copy-to-clipboard','Copy to Clipboard','The copy button swaps to a checkmark and a Copied confirmation, then reverts after a moment.'],
- ['star-rating','Star Rating','Stars fill toward the pointer and pop on commit — an accessible five-star control.'],
- ['toast-notification','Toast Notification','Notification cards slide in from a corner, stack, and auto-dismiss with a progress bar — swipe or click to dismiss.'],
- ['segmented-control','Segmented Control','A highlighted pill slides beneath the selected segment as the active label crossfades — the iOS control.'],
+ ['hamburger-menu-toggle','Hamburger Menu Toggle','Three lines turn into an X as the menu opens. Best for mobile menus.'],
+ ['theme-toggle-morph','Theme Toggle Morph','A sun turns into a moon as the colors switch to dark. Best for theme buttons.'],
+ ['copy-to-clipboard','Copy to Clipboard','Copy turns into a tick and Copied, then changes back. Best for codes and links.'],
+ ['star-rating','Star Rating','Stars fill up to your pointer and pop when you choose. Best for reviews.'],
+ ['toast-notification','Toast Notification','Short messages slide into a corner, then leave on their own. Best for updates.'],
+ ['segmented-control','Segmented Control','A highlight slides to the option you pick. Best for switching views.'],
- ['pull-to-refresh','Pull to Refresh','Dragging past the top reveals a spinner that fills with distance; release past the threshold to refresh.'],
+ ['pull-to-refresh','Pull to Refresh','Pulling a list down shows a spinner, then new items. Best for feeds.'],
]
},
{