コンポーネント
Arrow note
@moga/callouts · MOGA 公式
A note and a hand-drawn arrow to what it is about: the note pops in where it is placed, a curved arrow draws from its edge toward the target, stopping just short, and its head flicks on. Points are frame pixels at 1080p; place it over the whole frame, above what it points at.
npx motioncn-cli add moga/callouts/arrow-noteバージョン 1.0.0MIT43 ダウンロード0 お気に入り
2026年12月3日 更新
MOGA で使う
バンドル全体ではなく、これだけをインポートします。使っているバンドルのトークンも一緒に入ります。プロジェクトフォルダで実行:
npx -y moga hub-import @moga/callouts --items component:arrow-noteMOGA の外で使う(Motioncn)
無料、アカウント不要。ふつうの Web コードなので、Web ページ、React、Remotion、HyperFrames で再生でき、MOGA と同じフレームを描きます。
shadcn でプロジェクトに追加
npx shadcn@latest add https://motioncn.dev/r/moga/callouts/arrow-note.jsonshadcn を設定していなくても使えます
npx motioncn-cli add moga/callouts/arrow-noteビルドなしでページから import
import ArrowNote from 'https://motioncn.dev/m/moga/callouts/arrow-note.js';
import preset from 'https://motioncn.dev/m/theme.js';
ArrowNote.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React、Remotion、HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={ArrowNote} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={ArrowNote} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(ArrowNote.mount(element, { preset, duration: 5 }), { start: 0 });
