AGENT SKILL
motion-interaction
Add purposeful interaction and motion to HTML designs, including state transitions, feedback, navigation, disclosure, and reduced-motion behavior.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 827
- Forks
- 573
01 前言 Front Matter
- name
- motion-interaction
- description
- Add purposeful interaction and motion to HTML designs, including state transitions, feedback, navigation, disclosure, and reduced-motion behavior.
03 SKILL.md 正文
Motion and interaction
Motion should explain state change, not delay the user.
- Use short transitions for hover, focus, selection, expansion, and feedback.
- Keep entrance animation rare and subordinate to content; stagger only a few meaningful items.
- Give every action immediate feedback and preserve state consistently.
- Prevent accidental form submission and repeated destructive actions.
- Use transforms and opacity for smooth animation; avoid layout-thrashing loops.
- Under
prefers-reduced-motion: reduce, remove nonessential movement and keep state changes understandable.
Test the actual interaction after implementation. A visually convincing button that does nothing is a defect, not a mockup detail.
04 同仓库更多 Skills
whoami
Show current Xyne Claw auth identity.
★ 827
sessions
List Xyne Claw sessions.
★ 827
run
Run a Xyne Claw agent.
★ 827
login
Log the user into Xyne Claw.
★ 827
agents
List available Xyne Claw agents.
★ 827
explanation-document
Structure a codebase/schema explanation as a self-contained HTML document ordered for a READER — mental model and flows first, deep per-component reference last — not in the order you explored it.
★ 827