Agent Skills
› nexu-io/motion-anything
› xyz-flip-up
xyz-flip-up
GitHubAnimXYZ的声明式入场动画组件,通过xyz属性组合淡入、位移、缩放和旋转效果,无需编写关键帧。支持无障碍偏好设置,遵循MIT协议。
Trigger Scenarios
需要为元素添加声明式入场动画
希望使用组合动画(淡入、移动、缩放、旋转)而不写CSS关键帧
Install
npx skills add nexu-io/motion-anything --skill xyz-flip-up -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/animxyz.com",
"design_system": {
"requires": false
},
"example_prompt": "Use AnimXYZ xyz=\"fade flip-up-90\" on the element as a entrance; toggle xyz-in to play, with a\nprefers-reduced-motion fallback."
},
"name": "xyz-flip-up",
"triggers": [
"flip up",
"animxyz",
"翻转上"
],
"description": "Flip Up — a composable AnimXYZ entrance via the xyz=\"fade flip-up-90\" attribute. Declarative: mix\nfade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.\n"
}
XYZ · Flip Up
Flip Up — composable entrance from AnimXYZ (MIT). Part of motion-anything.
When to use it
- Declarative entrance mixing fade/move/scale/rotate via xyz="..." — no keyframes to write.
When NOT to use it (restraint)
- Shipping ~100KB core CSS for a single effect; overusing on many elements.
How to apply
- Include @animxyz/core CSS. 2. Set xyz="fade flip-up-90" on the element. 3. Toggle class xyz-in / xyz-out.
Accessibility & license
- prefers-reduced-motion: no autoplay. MIT.
Version History
- b016900 Current 2026-07-11 17:01


