Marker textMarker text
MOGA で開く

コンポーネント

Marker text

@moga/callouts · MOGA 公式

バンドル Callouts の一部

A line of text, then a hand marks the words that matter one after another: a highlighter sweeps behind them, a pen underlines them, loops a circle round them or strikes them through, wobbling like a hand. Place it over the whole frame.

npx motioncn-cli add moga/callouts/marker-text

バージョン 1.0.0MIT43 ダウンロード0 お気に入り

2026年12月3日 更新

MOGA で使う

バンドル全体ではなく、これだけをインポートします。使っているバンドルのトークンも一緒に入ります。プロジェクトフォルダで実行:

npx -y moga hub-import @moga/callouts --items component:marker-text

MOGA の外で使う(Motioncn)

無料、アカウント不要。ふつうの Web コードなので、Web ページ、React、Remotion、HyperFrames で再生でき、MOGA と同じフレームを描きます。

shadcn でプロジェクトに追加

npx shadcn@latest add https://motioncn.dev/r/moga/callouts/marker-text.json

shadcn を設定していなくても使えます

npx motioncn-cli add moga/callouts/marker-text

ビルドなしでページから import

import MarkerText from 'https://motioncn.dev/m/moga/callouts/marker-text.js';
import preset from 'https://motioncn.dev/m/theme.js';
MarkerText.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React、Remotion、HyperFrames

// React (https://motioncn.dev/r/player-react.json)
<Motion motion={MarkerText} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={MarkerText} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(MarkerText.mount(element, { preset, duration: 5 }), { start: 0 });