Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

React Animation Prompt

AI prompt to transform Claude Code, Cursor, or Windsurf into React + Framer Motion expert. Complete animation integration with shadcn/ui and TypeScript.

Animation is where good apps become great ones—and where AI assistants produce jank. Default output is CSS transitions that stutter, Framer Motion code that doesn't clean up properly, and animations that make users with vestibular disorders nauseous. This prompt transforms your AI into a motion designer who understands the physics of smooth UI: spring animations that feel natural, exit animations that don't break unmounting, and the difference between animating transform (GPU-accelerated, smooth) versus width (layout thrashing, janky). Use it for page transitions, micro-interactions, skeleton loading states, or any UI that should feel alive rather than static. The prompt ensures prefers-reduced-motion is respected, AnimatePresence handles unmounting correctly, and your animations don't tank performance on mobile devices. Motion design that enhances rather than annoys.

How to use it

Add to your project's CLAUDE.md
Create .cursorrules in your project root
Add to .windsurfrules in your project
Add as a comment block in your main files

Prompts you might like

FAQ

Was this page helpful?

Sign in to leave feedback.