Agent Skills
› nexu-io/motion-anything
› toast-pop
toast-pop
GitHub提供从底部滑入、停留后消失的 Toast 微交互效果,适用于按钮等状态变更控件。遵循无障碍规范,支持减少动画偏好,仅使用 GPU 安全的变换与透明度属性,确保性能与体验平衡。
Trigger Scenarios
用户点击改变状态的按钮或表单控件
需要向用户反馈操作成功或系统状态变化的场景
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


