Name revealName reveal
MOGA で開く

コンポーネント

Name reveal

@moga/launch · MOGA 公式

バンドル Launch の一部

A product's name landing like an airport board: each letter spins through a reel of other letters and stops on its own, left to right; a rule draws under it and the tagline rises. Place it over the whole frame.

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

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

2026年12月4日 更新

MOGA で使う

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

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

MOGA の外で使う(Motioncn)

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

shadcn でプロジェクトに追加

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

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

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

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

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

React、Remotion、HyperFrames

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