什么是 micro-interactions?
在设计小型 UI 反馈时刻(例如按钮状态、切换、表单验证、加载指示器或通知徽章)时使用。 来源:dylantarre/animation-principles。
在设计小型 UI 反馈时刻(例如按钮状态、切换、表单验证、加载指示器或通知徽章)时使用。
通过命令行快速安装 micro-interactions AI 技能到你的开发环境
来源:dylantarre/animation-principles。
Apply Disney's 12 animation principles to small UI feedback moments and interface details.
| Squash & Stretch | Button press compression, toggle bounce | | Anticipation | Hover state hints, pre-click feedback | | Staging | Focus attention on active element | | Straight Ahead / Pose to Pose | Progress vs state changes | | Follow Through / Overlapping | Ripple effects, settling motion | | Slow In / Slow Out | Snappy but smooth transitions |
| Arc | Toggle switches, circular menus | | Secondary Action | Icons respond to parent state | | Timing | 100-300ms for most interactions | | Exaggeration | Clear but not distracting | | Solid Drawing | Consistent transform behavior | | Appeal | Delightful, purposeful feedback |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dylantarre/animation-principles --skill micro-interactions在设计小型 UI 反馈时刻(例如按钮状态、切换、表单验证、加载指示器或通知徽章)时使用。 来源:dylantarre/animation-principles。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dylantarre/animation-principles --skill micro-interactions 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dylantarre/animation-principles