Remotion Templates — プリセットビデオエフェクト&アニメーション
Remotion用のコピペ可能なビデオコンポーネント。イントロ、テキストエフェクト、トランジション、シーンテンプレート。ビデオ版のshadcn/ui。
概要
- リポジトリ: github.com/reactvideoeditor/remotion-templates (77+ スター)
- コンポーネントライブラリ: github.com/reactvideoeditor/clippkit
- 言語: TypeScript / React
- ライセンス: オープンソース
- インストール方法: コンポーネントをRemotionプロジェクトにコピー
使い方
テンプレートはプロジェクトにコピーして使うReactコンポーネントです:
# テンプレートリポジトリをクローン
git clone https://github.com/reactvideoeditor/remotion-templates.git
# 使用したいコンポーネントをプロジェクトにコピー
cp remotion-templates/src/components/TextReveal.tsx my-video/src/components/
利用可能なエフェクトカテゴリ
テキストエフェクト
- タイプライター — 一文字ずつタイピングされるアニメーション
- テキストリビール — 単語がスライドアップしつつフェードイン
- キネティックタイポグラフィ — ばね動作で動く大きなテキスト
- スプリットテキスト — 文字が個別にずれてアニメーション
- グリッチテキスト — デジタルグリッチエフェクト
- グラデーションテキスト — テキストにアニメーションするグラデーションカラー
トランジション
- フェード — 単純な透明度クロスフェード
- スライド — 方向指定可能なスライド(左、右、上、下)
- ワイプ — 方向指定のワイプ表示
- ズーム — スケールベースのトランジション
- モーフ — シーン間のシェイプ変形
- グリッチ — デジタルグリッチトランジション
イントロ / アウトロ
- ロゴリビール — ロゴのアニメーション表示
- タイトルカード — 中央にタイトルとサブタイトル
- ロワーサード — 名前/タイトルバーのアニメーション
- エンドスクリーン — CTAとソーシャルリンク
背景
- グラデーション — アニメーションするカラーグラデーション
- パーティクル — 浮遊するパーティクルシステム
- グリッド — アニメーションするグリッドパターン
- ノイズ — パーリンノイズテクスチャ
- ボケ — ぼやけた光の玉
UIモックアップ
- ブラウザウィンドウ — Chrome風ブラウザフレーム
- スマホモックアップ — iPhone/Androidフレーム
- コードエディタ — VS Code風コード表示
- ターミナル — タイピング表示付きターミナルウィンドウ
例:テキストリビールの使用
import { useCurrentFrame, useVideoConfig, interpolate, spring } from "remotion";
export const TextReveal: React.FC<{ text: string; delay?: number }> = ({
text,
delay = 0,
}) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const words = text.split(" ");
return (
<div style={{ display: "flex", flexWrap: "wrap", gap: 8, overflow: "hidden" }}>
{words.map((word, i) => {
const wordDelay = delay + i * 4;
const y = interpolate(frame, [wordDelay, wordDelay + 15], [40, 0], {
extrapolateLeft: "clamp",
extrapolateRight: "clamp",
});
const opacity = interpolate(frame, [wordDelay, wordDelay + 10], [0, 1], {
extrapolateLeft: "clamp",
extrapolateRight: "clamp",
});
return (
<span key={i} style={{ opacity, transform: `translateY(${y}px)`, display: "inline-block" }}>
{word}
</span>
);
})}
</div>
);
};
例:ブラウザモックアップ
export const BrowserMockup: React.FC<{
url: string;
children: React.ReactNode;
}> = ({ url, children }) => {
return (
<div style={{
borderRadius: 12,
overflow: "hidden",
boxShadow: "0 20px 60px rgba(0,0,0,0.3)",
background: "#1a1a2e",
}}>
{/* タイトルバー */}
<div style={{
display: "flex",
alignItems: "center",
padding: "12px 16px",
background: "#16213e",
gap: 8,
}}>
<div style={{ display: "flex", gap: 6 }}>
<div style={{ width: 12, height: 12, borderRadius: "50%", background: "#ff5f57" }} />
<div style={{ width: 12, height: 12, borderRadius: "50%", background: "#ffbd2e" }} />
<div style={{ width: 12, height: 12, borderRadius: "50%", background: "#28c840" }} />
</div>
<div style={{
flex: 1,
background: "#0f3460",
borderRadius: 6,
padding: "6px 12px",
fontSize: 13,
color: "#8892b0",
textAlign: "center",
}}>
{url}
</div>
</div>
{/* コンテンツ */}
<div style={{ padding: 20, minHeight: 300 }}>
{children}
</div>
</div>
);
};
ベストプラクティス
- npmインストールではなくコピーする — テンプレートはコピーしてカスタマイズすることを前提としています
- ブランドのカラーパレットに合わせて色をカスタマイズする
- タイミングを調整 — フレーム時間を変更してビデオのペースに合わせる
- テンプレートを組み合わせる — 背景+テキストエフェクト+トランジションを同時に使用
- オリジナルは保持 — 大幅に編集する前に新しいファイルにコピーする
ソース
- テンプレート: github.com/reactvideoeditor/remotion-templates
- Clippkit(コンポーネントライブラリ): github.com/reactvideoeditor/clippkit
- 視覚的にブラウズ: reactvideoeditor.com/remotion-templates