emilkowalski-motion
它能做什么
这个工具可以为网站或应用等数字界面添加细微的动效和过渡效果,让界面更有吸引力、更好用,同时又不会让人眼花缭乱。
适用场景
- ✓当你已经完成页面设计之后。
- ✓当用户与按钮互动时,需要提供视觉反馈。
- ✓当你希望页面上的重要元素出现时带有动画。
技能链接
https://github.com/nexu-io/open-design/blob/main/skills/emilkowalski-motion/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为这个页面添加一些细微的动画,改善用户体验。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会分析现有设计,并加入低调的动态效果,重点关注元素如何出现、状态如何变化,以及如何对触摸做出响应。它采用简单的技术手段,确保动画有助于体验,而不会分散注意力。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Emil Kowalski Motion Follow-Up
Use this skill after a design artifact already exists. The goal is to make the interface feel alive without turning it into a motion demo.
Workflow
- Inspect the current HTML, component, or selected page element before adding animation.
- Pick the smallest set of motion moments that clarify state or hierarchy:
- entry reveal for the primary content
- hover / active feedback for important controls
- transition between UI states
- scroll reveal only when it helps the story
- Prefer
transformandopacity. Avoid animating layout properties such astop,left,width, orheight. - Use one motion language across the artifact. Do not mix unrelated easings, durations, or physics.
- Add
prefers-reduced-motionfallbacks for any automatic or scroll-linked motion. - Keep copy, data, and layout intent intact unless the user explicitly asks for a redesign.
Motion Rules
- Default UI transitions should feel quick and useful: 140-220ms for most controls.
- Larger page reveals can be slower, but must not block reading.
- Avoid endless decorative loops unless they communicate status or progress.
- Do not add custom cursors, noisy particle effects, or motion that competes with content.
- Stagger only small groups. Long staggered lists make interfaces feel slow.
Implementation Notes
- For plain HTML, CSS keyframes and small JavaScript observers are enough.
- For React or framework code, use the local stack already present in the repo.
- If GSAP is available and the motion needs sequencing, pair this with
gsap-core,gsap-timeline, orgsap-scrolltrigger. - Always clean up observers, timers, and animation instances.
常见问题
什么是“微交互”(micro-interactions)?
指的是你与某个元素互动时出现的小动画,例如按钮被点击时改变颜色。
为什么要避免对“布局属性”(layout properties)做动画?
对位置或尺寸等布局属性做动画,可能导致界面卡顿、不稳定。最好使用不会改变页面结构的动画。
什么是 prefers-reduced-motion?
这是一项系统设置,允许对动态效果敏感的用户关闭或减少动画,让所有人都能更舒适地使用。
详情
作者的原始描述
Motion-design follow-up skill inspired by Emil Kowalski's animation guidance. Use after an interface exists to add tasteful micro-interactions, state transitions, and page motion with product-grade restraint.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1148
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …