animation-micro-interaction-pack
Provides reusable interaction patterns and motion presets that make UI feel polished. Includes hover effects, transitions, entrance animations, gesture feedback, and reduced-motion support. Use when adding "animations", "transitions", "micro-interactions", or "motion design".
When & Why to Use This Skill
The Animation & Micro-interaction Pack is a specialized Claude skill designed to elevate web user interfaces through professional motion design. It provides a library of reusable interaction patterns and performance-optimized presets, including hover effects, transitions, and gesture feedback. By leveraging Tailwind CSS and Framer Motion, this skill enables developers to implement polished micro-interactions and accessible animations that significantly enhance the overall user experience.
Use Cases
- Interactive UI Polishing: Adding sophisticated hover scales, lift effects, and color transitions to buttons and cards to provide tactile visual feedback.
- Dynamic Content Transitions: Implementing staggered entrance animations for list items and smooth exit transitions to guide user focus and improve interface flow.
- Loading State Optimization: Creating engaging skeleton waves, pulse effects, and progress bars to improve perceived performance during data fetching.
- Mobile-Friendly Gesture Feedback: Integrating ripple effects on clicks and drag-and-drop feedback to create a more native-app feel in web applications.
- Accessibility-First Motion: Automatically implementing 'prefers-reduced-motion' support to ensure high-quality experiences for users with vestibular sensitivities.
| name | animation-micro-interaction-pack |
|---|---|
| description | Provides reusable interaction patterns and motion presets that make UI feel polished. Includes hover effects, transitions, entrance animations, gesture feedback, and reduced-motion support. Use when adding "animations", "transitions", "micro-interactions", or "motion design". |
Animation & Micro-interaction Pack
Create polished, performant animations and micro-interactions.
Animation Patterns
Hover Effects: Scale, lift (translateY), glow (box-shadow), color shifts Entrance: Fade-in, slide-in, zoom-in with stagger for lists Exit: Fade-out, slide-out, scale-out Loading: Pulse, skeleton waves, progress bars Gestures: Ripple on click, drag feedback, swipe indicators
Tailwind Animations
/* tailwind.config.js */
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'slide-up': 'slideUp 0.3s ease-out',
'scale-in': 'scaleIn 0.2s ease-out',
}
Framer Motion Examples
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3 }}
/>
Best Practices
Use 200-300ms for micro-interactions, respect prefers-reduced-motion, animate transform/opacity for performance, add easing functions, stagger list items, provide hover/active states.