Analyze and implement purposeful UI animations for Next.js + Tailwind + React projects. Use when user asks to add animations, enhance UI motion, animate pages/components, or improve visual feedback. Triggers on "add animations", "animate UI", "motion design", "hover effects", "scroll animations", "page transitions", "micro-interactions".
Implement purposeful, performant animations that enhance UX without overwhelming users. Focus on key moments: hero intros, hover feedback, content reveals, and navigation transitions.
"You don't need animations everywhere" - Prioritize:
| Priority | Area | Purpose |
|---|---|---|
| 1 | Hero Intro | First impression, brand personality |
| 2 | Hover Interactions | Feedback, discoverability |
| 3 | Content Reveal | Guide attention, reduce cognitive load |
| 4 | Background Effects | Atmosphere, depth |
| 5 | Navigation Transitions | Spatial awareness, continuity |
Execute phases sequentially. Complete each before proceeding.
app/ and components in components/tailwind.config.ts for existing animations/keyframesOutput: Animation audit table. See references/component-checklist.md.
Output: Implementation plan with component → animation mapping.
useScrollReveal, useMousePosition if neededreferences/animation-patterns.mdPerformance rules:
// ✅ DO: Use transforms and opacity only