Componente
Kinetic line
@moga/kinetic-type · Oficial de MOGA
Parte del paquete Kinetic type
One headline that enters with a named effect (pop, slam, rise, blur-in, tracking, flip), word by word in Latin and character by character in Chinese, holds for its reading time with a slow push in, then leaves faster than it came. accent colours part of it. Place it over the whole frame.
npx motioncn-cli add moga/kinetic-type/kinetic-lineVersión 1.0.2MIT31 descargas0 favoritos
Actualizado el 3 de diciembre de 2026
Úsalo en MOGA
Importa solo este, sin el resto del bundle. Los tokens del bundle que usa vienen con él. Ejecuta en la carpeta del proyecto:
npx -y moga hub-import @moga/kinetic-type --items component:kinetic-lineÚ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/moga/kinetic-type/kinetic-line.json¿Sin shadcn configurado? También funciona
npx motioncn-cli add moga/kinetic-type/kinetic-lineImpórtalo en una página, sin compilar
import KineticLine from 'https://motioncn.dev/m/moga/kinetic-type/kinetic-line.js';
import preset from 'https://motioncn.dev/m/theme.js';
KineticLine.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React, Remotion y HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={KineticLine} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={KineticLine} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(KineticLine.mount(element, { preset, duration: 5 }), { start: 0 });
