Componente
Shape beat
shape-beat · Oficial de MOGA
A kit shape morphing through M3 shapes on a beat, each morph on the expressive spring, with a typed caption
npx motioncn-cli add shape-beatVersión 1.0.1MIT12 descargas0 favoritos
Actualizado el 3 de diciembre de 2026
Úsalo en MOGA
Búscalo en «En línea» de la biblioteca de MOGA, o ejecuta esto en la carpeta de tu proyecto:
npx -y moga hub-import shape-beatÚsalo fuera de MOGA (Motioncn)
Gratis y sin cuenta. Es código web normal que se reproduce en una página, React, Remotion y HyperFrames, con los mismos fotogramas que MOGA.
Añádelo a tu proyecto con shadcn
npx shadcn@latest add https://motioncn.dev/r/shape-beat.json¿Sin shadcn configurado? También funciona
npx motioncn-cli add shape-beatImpórtalo en una página, sin compilar
import ShapeBeat from 'https://motioncn.dev/m/shape-beat.js';
import preset from 'https://motioncn.dev/m/theme.js';
ShapeBeat.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React, Remotion y HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={ShapeBeat} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={ShapeBeat} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(ShapeBeat.mount(element, { preset, duration: 5 }), { start: 0 });
