Agent Skills
› nexu-io/motion-anything
› toast-pop
toast-pop
GitHub定义Toast微交互规范,实现从底部滑入、停留后淡出的动画效果。提供移动端组件反馈,支持无障碍减少运动偏好,仅用于改变状态的控件,确保性能与用户体验。
Trigger Scenarios
需要为按钮或表单控件添加状态反馈动画时
询问Toast组件的动画行为或使用限制时
Install
npx skills add nexu-io/motion-anything --skill toast-pop -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 toast-pop on the section: a quick, native-feeling micro-interaction with a\nprefers-reduced-motion fallback."
},
"name": "toast-pop",
"triggers": [
"toast",
"提示弹出"
],
"description": "A toast slides up from the bottom, holds, then fades away. 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"
}
Toast Pop
A toast slides up from the bottom, holds, then fades away. 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


