Animation Micro Interaction Pack

作者 patricio0312rev79ea6af48569無授權條款62 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

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".

僅含說明Design & Creative
AI 產生的概覽

提供可重用的介面動畫與微互動模式、動效預設及最佳實務,讓 UI 更精緻。

功能
此技能提供一套介面動畫與微互動模式目錄,涵蓋懸停效果、進場與退場動畫、載入狀態以及手勢回饋。它包含 Tailwind CSS 動畫和 Framer Motion 元件的範例設定,並提供關於時長、緩動、錯開與減少動效支援的指引。它產出參考模式與程式碼片段,而非執行指令碼。
適用情境
在為介面加入動畫、轉場、微互動或動效設計時使用。它適合打磨介面回饋,並確保動效高效能且可存取。
執行需求
不包含指令碼或執行階段相依項目,僅為說明文件。範例引用了 Tailwind CSS 和 Framer Motion,使用者專案需自行安裝。

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

css
/* 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

tsx
<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.

來源與署名

來源:patricio0312rev/skills位於frontend/animation-micro-interaction-pack提交79ea6af

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架