Agent Skillsnexu-io/motion-anything › stagger-list

stagger-list

GitHub

实现列表项依次上升淡入的交错动画效果,适用于首屏短列表或菜单。支持 prefers-reduced-motion 无障碍设置,限制总时长约600ms,长列表应改用滚动揭示。

recipes/web/stagger-list/SKILL.md nexu-io/motion-anything

Trigger Scenarios

需要为短列表添加入场动画 前端 UI 动效开发

Install

npx skills add nexu-io/motion-anything --skill stagger-list -g -y
More Options

Non-standard path

npx skills add https://github.com/nexu-io/motion-anything/tree/main/recipes/web/stagger-list -g -y

Use without installing

npx skills use nexu-io/motion-anything@stagger-list

指定 Agent (Claude Code)

npx skills add nexu-io/motion-anything --skill stagger-list -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": null,
        "design_system": {
            "requires": false
        },
        "example_prompt": "Use stagger-list on the feature list: rise + fade each item in on load, ~70ms apart, finishing\nquickly, with a prefers-reduced-motion fallback. Short list only."
    },
    "name": "stagger-list",
    "triggers": [
        "stagger list",
        "items appear one by one",
        "sequence in",
        "列表逐项入场",
        "依次出现"
    ],
    "description": "Rise + fade list items in one after another on load, staggered by order. Use for short,\nabove-the-fold lists, menus, or nav. Honors prefers-reduced-motion. For long or off-screen lists\nuse scroll-reveal instead; never gate must-scan content on the animation.\n"
}

stagger-list

List items rise + fade in, one after another. Part of motion-anything; obeys MOTION-SPEC.md.

When to use it

  • Short above-the-fold lists, menus, nav items, or a dropdown opening.

When NOT to use it (restraint)

  • Long / off-screen lists — use scroll-reveal. Keep the whole sequence under ~600ms.

How to apply

  1. Copy stagger-list.css and stagger-list.js and link them.
  2. Wrap items: <ul data-stagger>…</ul> (optional data-stagger-step="70").

Accessibility & performance

  • prefers-reduced-motion: shown immediately. Transform/opacity only.

Version History

  • b016900 Current 2026-07-11 17:10

Same Skill Collection

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-left/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

Metadata

Files
0
Version
b016900
Hash
d07683c3
Indexed
2026-07-11 17:10

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 12:35
浙ICP备14020137号-1 $Map of visitor$