Agent Skillsnexu-io/motion-anything › xyz-flip-left

xyz-flip-left

GitHub

提供声明式左侧翻转入场动画效果,通过xyz属性组合淡入、移动、缩放和旋转,无需编写关键帧,支持无障碍模式。

recipes/animxyz/xyz-flip-left/SKILL.md nexu-io/motion-anything

触发场景

需要添加元素进入动画 前端界面动效开发

安装

npx skills add nexu-io/motion-anything --skill xyz-flip-left -g -y
更多选项

非标准路径

npx skills add https://github.com/nexu-io/motion-anything/tree/main/recipes/animxyz/xyz-flip-left -g -y

不安装直接使用

npx skills use nexu-io/motion-anything@xyz-flip-left

指定 Agent (Claude Code)

npx skills add nexu-io/motion-anything --skill xyz-flip-left -a claude-code -g -y

安装 repo 全部 skill

npx skills add nexu-io/motion-anything --all -g -y

预览 repo 内 skill

npx skills add nexu-io/motion-anything --list

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-left-90\" on the element as a entrance; toggle xyz-in to play, with a\nprefers-reduced-motion fallback."
    },
    "name": "xyz-flip-left",
    "triggers": [
        "flip left",
        "animxyz",
        "翻转左"
    ],
    "description": "Flip Left — a composable AnimXYZ entrance via the xyz=\"fade flip-left-90\" attribute. Declarative: mix\nfade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.\n"
}

XYZ · Flip Left

Flip Left — 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

  1. Include @animxyz/core CSS. 2. Set xyz="fade flip-left-90" on the element. 3. Toggle class xyz-in / xyz-out.

Accessibility & license

  • prefers-reduced-motion: no autoplay. MIT.

版本历史

  • b016900 当前 2026-07-11 17:01

同 Skill 集合

recipes/animxyz/xyz-fade-big/SKILL.md
recipes/animxyz/xyz-fade-down/SKILL.md
recipes/animxyz/xyz-fade-left/SKILL.md
recipes/animxyz/xyz-fade-right/SKILL.md
recipes/animxyz/xyz-fade-small/SKILL.md
recipes/animxyz/xyz-fade-up/SKILL.md
recipes/animxyz/xyz-flip-up/SKILL.md
recipes/animxyz/xyz-rise-big/SKILL.md
recipes/animxyz/xyz-rotate/SKILL.md
recipes/app/bottom-sheet/SKILL.md
recipes/app/button-press/SKILL.md
recipes/app/checkbox-pop/SKILL.md
recipes/app/ripple/SKILL.md
recipes/app/tab-bar-slide/SKILL.md
recipes/app/toast-pop/SKILL.md
recipes/css/anim-backindown/SKILL.md
recipes/css/anim-backinleft/SKILL.md
recipes/css/anim-backinright/SKILL.md
recipes/css/anim-backinup/SKILL.md
recipes/css/anim-backoutdown/SKILL.md
recipes/css/anim-backoutleft/SKILL.md
recipes/css/anim-backoutright/SKILL.md
recipes/css/anim-backoutup/SKILL.md
recipes/css/anim-bounce/SKILL.md
recipes/css/anim-bouncein/SKILL.md
recipes/css/anim-bounceindown/SKILL.md
recipes/css/anim-bounceinleft/SKILL.md
recipes/css/anim-bounceinright/SKILL.md
recipes/css/anim-bounceinup/SKILL.md
recipes/css/anim-bounceout/SKILL.md
recipes/css/anim-bounceoutdown/SKILL.md
recipes/css/anim-bounceoutleft/SKILL.md
recipes/css/anim-bounceoutright/SKILL.md
recipes/css/anim-bounceoutup/SKILL.md
recipes/css/anim-fadein/SKILL.md
recipes/css/anim-fadeinbottomleft/SKILL.md
recipes/css/anim-fadeinbottomright/SKILL.md
recipes/css/anim-fadeindown/SKILL.md
recipes/css/anim-fadeindownbig/SKILL.md
recipes/css/anim-fadeinleft/SKILL.md
recipes/css/anim-fadeinleftbig/SKILL.md
recipes/css/anim-fadeinright/SKILL.md
recipes/css/anim-fadeinrightbig/SKILL.md
recipes/css/anim-fadeintopleft/SKILL.md
recipes/css/anim-fadeintopright/SKILL.md
recipes/css/anim-fadeinup/SKILL.md
recipes/css/anim-fadeinupbig/SKILL.md
recipes/css/anim-fadeout/SKILL.md
recipes/css/anim-fadeoutbottomleft/SKILL.md

元信息

文件数
0
版本
b016900
Hash
59e3ca00
收录时间
2026-07-11 17:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 03:49
浙ICP备14020137号-1 $访客地图$