コンポーネント
Logo draw
@moga/launch · MOGA 公式
A mark drawn the way it was designed: its outline traced by a pen, then flooded with the primary colour as the line lets go, settling with a small spring, and the name rising out of a mask beside it. Any SVG path, or a built-in spark. Place it over the whole frame.
npx motioncn-cli add moga/launch/logo-drawバージョン 1.0.0MIT61 ダウンロード0 お気に入り
2026年12月4日 更新
MOGA で使う
バンドル全体ではなく、これだけをインポートします。使っているバンドルのトークンも一緒に入ります。プロジェクトフォルダで実行:
npx -y moga hub-import @moga/launch --items component:logo-drawMOGA の外で使う(Motioncn)
無料、アカウント不要。ふつうの Web コードなので、Web ページ、React、Remotion、HyperFrames で再生でき、MOGA と同じフレームを描きます。
shadcn でプロジェクトに追加
npx shadcn@latest add https://motioncn.dev/r/moga/launch/logo-draw.jsonshadcn を設定していなくても使えます
npx motioncn-cli add moga/launch/logo-drawビルドなしでページから import
import LogoDraw from 'https://motioncn.dev/m/moga/launch/logo-draw.js';
import preset from 'https://motioncn.dev/m/theme.js';
LogoDraw.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React、Remotion、HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={LogoDraw} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={LogoDraw} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(LogoDraw.mount(element, { preset, duration: 5 }), { start: 0 });
