コンポーネント
Kinetic line
@moga/kinetic-type · MOGA 公式
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-lineバージョン 1.0.2MIT31 ダウンロード0 お気に入り
2026年12月3日 更新
MOGA で使う
バンドル全体ではなく、これだけをインポートします。使っているバンドルのトークンも一緒に入ります。プロジェクトフォルダで実行:
npx -y moga hub-import @moga/kinetic-type --items component:kinetic-lineMOGA の外で使う(Motioncn)
無料、アカウント不要。ふつうの Web コードなので、Web ページ、React、Remotion、HyperFrames で再生でき、MOGA と同じフレームを描きます。
shadcn でプロジェクトに追加
npx shadcn@latest add https://motioncn.dev/r/moga/kinetic-type/kinetic-line.jsonshadcn を設定していなくても使えます
npx motioncn-cli add moga/kinetic-type/kinetic-lineビルドなしでページから import
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、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 });
