Stagger List

Rise + fade list items in one after another on load, staggered by order. Use for short, above-the-fold lists, menus, or nav. Honors prefers-reduced-motion. For long or off-screen lists use scroll-reveal instead; never gate must-scan content on the animation.

Nexu 14ce8de 5 files · 5.9 KB Updated

File contents

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.

nexu-io/motion-anything/tree/main/recipes/web/stagger-list commit 14ce8dea0c

Frequently asked questions

npx skillmds@latest add nexu-io/stagger-list