Agent Skills
› nexu-io/motion-anything
› tab-bar-slide
tab-bar-slide
GitHub底部标签栏的活跃指示器滑动微交互组件,提供原生反馈。仅用于状态改变的控件,避免拖慢频繁操作。支持减少动画偏好设置,使用GPU安全的变换和透明度实现。
Trigger Scenarios
需要为按钮、标签页或表单控件添加状态变化时的视觉反馈
实现移动端应用的微交互效果
Install
npx skills add nexu-io/motion-anything --skill tab-bar-slide -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 tab-bar-slide on the button: a quick, native-feeling micro-interaction with a\nprefers-reduced-motion fallback."
},
"name": "tab-bar-slide",
"triggers": [
"tab",
"底栏切换"
],
"description": "A bottom tab bar whose active pill slides between tabs. 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"
}
Tab Bar Slide
A bottom tab bar whose active pill slides between tabs. 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


