animation-micro-interaction-pack
42
总安装量
42
周安装量
#5009
全站排名
安装命令
npx skills add https://github.com/patricio0312rev/skills --skill animation-micro-interaction-pack
Agent 安装分布
claude-code
34
opencode
34
gemini-cli
31
antigravity
29
github-copilot
29
Skill 文档
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.