Stagger listStagger list
Abrir no MOGA

Componente

Stagger list

stagger-list · Oficial do MOGA

Rows that enter one after another on the expressive spring, with a selection pill that moves between them

npx motioncn-cli add stagger-list

Versão 1.0.1MIT11 downloads0 favoritos

Atualizado em 3 de dezembro de 2026

Usar no MOGA

Procure em «Online» na biblioteca do MOGA, ou rode isto na pasta do projeto:

npx -y moga hub-import stagger-list

Usar fora do MOGA (Motioncn)

Grátis, sem conta. É código web comum que roda numa página, React, Remotion e HyperFrames, com os mesmos quadros que o MOGA renderiza.

Adicionar ao projeto com shadcn

npx shadcn@latest add https://motioncn.dev/r/stagger-list.json

Sem shadcn configurado também funciona

npx motioncn-cli add stagger-list

Importar numa página, sem 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 e 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 });