Agent Skills
› nexu-io/motion-anything
› ripple
ripple
GitHubMaterial风格点击涟漪动效,用于按钮等状态变更控件的微交互。遵循无障碍规范,支持减少运动偏好,仅使用GPU安全的变换与透明度属性,确保性能与体验平衡。
Trigger Scenarios
用户点击按钮、标签页或表单控件时提供原生反馈
需要展示微交互以确认操作生效的场景
Install
npx skills add nexu-io/motion-anything --skill ripple -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "mobile",
"upstream": null,
"design_system": {
"requires": false
},
"example_prompt": "Use ripple on the button: a quick, native-feeling micro-interaction with a\nprefers-reduced-motion fallback."
},
"name": "ripple",
"triggers": [
"ripple",
"涟漪点击"
],
"description": "A Material-style ripple spreads from the point of contact. An App-UI micro-interaction (mobile component feedback). Honors prefers-reduced-motion.\nKeep it short and snappy; only on controls that actually change state.\n"
}
Ripple
A Material-style ripple spreads from the point of contact. An App-UI micro-interaction. Part of
motion-anything; obeys MOTION-SPEC.md.
When to use it
- Native-feeling feedback on App components (buttons, tabs, sheets, toasts, form controls).
When NOT to use it (restraint)
- Don't slow a frequent action. Don't decorate a control that doesn't change state.
Accessibility & performance
prefers-reduced-motion: shortened / disabled. Transform & opacity only (GPU-safe).
Version History
- b016900 Current 2026-07-11 17:01


