Composant
Stagger list
stagger-list · Officiel MOGA
Rows that enter one after another on the expressive spring, with a selection pill that moves between them
npx motioncn-cli add stagger-listVersion 1.0.1MIT11 téléchargements0 favoris
Mis à jour le 3 décembre 2026
L'utiliser dans MOGA
Cherchez-le sous « En ligne » dans la bibliothèque MOGA, ou lancez ceci dans le dossier du projet :
npx -y moga hub-import stagger-listL'utiliser hors de MOGA (Motioncn)
Gratuit, sans compte. C'est du code web ordinaire qui se lit dans une page, React, Remotion et HyperFrames, avec les mêmes images que MOGA.
L'ajouter à votre projet avec shadcn
npx shadcn@latest add https://motioncn.dev/r/stagger-list.jsonSans shadcn configuré, ceci marche aussi
npx motioncn-cli add stagger-listL'importer dans une page, sans build
import StaggerList from 'https://motioncn.dev/m/stagger-list.js';
import preset from 'https://motioncn.dev/m/theme.js';
StaggerList.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React, Remotion et HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={StaggerList} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={StaggerList} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(StaggerList.mount(element, { preset, duration: 5 }), { start: 0 });
