URL revealURL reveal
MOGA で開く

コンポーネント

URL reveal

@moga/launch · MOGA 公式

バンドル Launch の一部

Where to get it: an address bar grows out of a dot, the address types itself in with a blinking caret, a pointer glides in and clicks, and the bar answers with a ripple; the kicker ("Available now") rises above. Place it over the whole frame.

npx motioncn-cli add moga/launch/url-reveal

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

2026年12月4日 更新

MOGA で使う

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

npx -y moga hub-import @moga/launch --items component:url-reveal

MOGA の外で使う(Motioncn)

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

shadcn でプロジェクトに追加

npx shadcn@latest add https://motioncn.dev/r/moga/launch/url-reveal.json

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

npx motioncn-cli add moga/launch/url-reveal

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

import UrlReveal from 'https://motioncn.dev/m/moga/launch/url-reveal.js';
import preset from 'https://motioncn.dev/m/theme.js';
UrlReveal.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React、Remotion、HyperFrames

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