Skip to content

🎥 Make videos programmatically with React

Fix alphabetical order on API overview page

Jonny Burger5113df488adf
diff --git a/packages/docs/components/TableOfContents/api.tsx b/packages/docs/components/TableOfContents/api.tsx
index 7f2047b211..54becda7bc 100644
--- a/packages/docs/components/TableOfContents/api.tsx
+++ b/packages/docs/components/TableOfContents/api.tsx
@@ -65,126 +65,126 @@ export const TableOfContents: React.FC = () => {
etc.
</p>
<RemotionTableOfContents />
- <h2>@remotion/media</h2>
- <p>
- An experimental <code>&lt;NewVideo /&gt;</code> tag for embedding
- videos.
- </p>
- <NewVideoTableOfContents />
+ <h2>@remotion/animated-emoji</h2>
+ <p>Google Fonts Animated Emojis as Remotion Components</p>
+ <AnimatedEmojiTableOfContents />
+ <h2>@remotion/animation-utils</h2>
+ <p>Obtain info about video and audio.</p>
+ <AnimationUtilsTableOfContents />
<h2>@remotion/bundler</h2>
<p>Create a Webpack bundle from Node.JS </p>
<BundlerTableOfContents />
- <h2>@remotion/player</h2>
- <p>Play a Remotion video in the browser.</p>
- <PlayerTableOfContents />
- <h2>@remotion/lambda</h2>
- <p>Render videos and stills on AWS Lambda</p>
- <LambdaTableOfContents />
- <h2>@remotion/cloudrun</h2>
- <p>Render videos and stills on GCP Cloud Run</p>
- <CloudrunTableOfContents />
<h2>@remotion/captions</h2>
<p>Common operations for subtitles.</p>
<CaptionsTableOfContents />
- <h2>@remotion/gif</h2>
- <p>Include a GIF in your video.</p>
- <GifTableOfContents />
- <h2>@remotion/media-utils</h2>
- <p>Obtain info about video and audio.</p>
- <MediaUtilsTableOfContents />
- <h2>@remotion/animation-utils</h2>
- <p>Obtain info about video and audio.</p>
- <AnimationUtilsTableOfContents />
- <h2>@remotion/tailwind</h2>
- <p>Webpack override for using TailwindCSS v3</p>
- <TailwindTableOfContents />
- <h2>@remotion/tailwind-v4</h2>
- <p>Webpack override for using TailwindCSS v4</p>
- <TailwindV4TableOfContents />
+ <h2>@remotion/cloudrun</h2>
+ <p>Render videos and stills on GCP Cloud Run</p>
+ <CloudrunTableOfContents />
<h2>@remotion/enable-scss</h2>
<p>Webpack override for enabling SASS/SCSS</p>
<EnableScssTableOfContents />
- <h2>@remotion/three</h2>
- <p>Create 3D videos using React Three Fiber</p>
- <ThreeTableOfContents />
- <h2>@remotion/skia</h2>
- <p>Low-level graphics using React Native Skia</p>
- <SkiaTableOfContents />
+ <h2>@remotion/elevenlabs</h2>
+ <p>Work with transcriptions from ElevenLabs</p>
+ <ElevenLabsTableOfContents />
+ <h2>@remotion/fonts</h2>
+ <p>Load font files onto a page.</p>
+ <FontsTableOfContents />
+ <h2>@remotion/gif</h2>
+ <p>Include a GIF in your video.</p>
+ <GifTableOfContents />
+ <h2>@remotion/google-fonts</h2>
+ <p>Load Google Fonts onto a page.</p>
+ <GoogleFontsTableOfContents />
+ <h2>@remotion/install-whisper-cpp</h2>
+ <p>Whisper.cpp installation and transcription</p>
+ <InstallWhisperCppTableOfContents />
+ <h2>@remotion/layout-utils</h2>
+ <p>Layout helpers</p>
+ <LayoutUtilsTableOfContents />
+ <h2>@remotion/lambda</h2>
+ <p>Render videos and stills on AWS Lambda</p>
+ <LambdaTableOfContents />
+ <h2>@remotion/licensing</h2>
+ <p>Report and query company license usage</p>
+ <LicensingTableOfContents />
<h2>@remotion/lottie</h2>
<p>Include a Lottie animation in your video</p>
<LottieTableOfContents apisOnly />
+ <h2>@remotion/media</h2>
+ <p>
+ An experimental <code>&lt;NewVideo /&gt;</code> tag for embedding
+ videos.
+ </p>
+ <NewVideoTableOfContents />
+ <h2>@remotion/media-utils</h2>
+ <p>Obtain info about video and audio.</p>
+ <MediaUtilsTableOfContents />
+ <h2>@remotion/motion-blur</h2>
+ <p>Apply motion blur effects to components</p>
+ <MotionBlurTableOfContents />
+ <h2>@remotion/noise</h2>
+ <p>Generate noise effects</p>
+ <NoiseTableOfContents />
+ <h2>@remotion/light-leaks</h2>
+ <p>Light Leak effects</p>
+ <LightLeaksTableOfContents />
+ <h2>@remotion/starburst</h2>
+ <p>Starburst Effect</p>
+ <StarburstTableOfContents />
+ <h2>@remotion/sfx</h2>
+ <p>Sound effects library</p>
+ <SfxTableOfContents />
+ <h2>@remotion/openai-whisper</h2>
+ <p>Work with transcriptions from OpenAI Whisper</p>
+ <OpenAiWhisperTableOfContents />
+ <h2>@remotion/paths</h2>
+ <p>Manipulate and obtain info about SVG paths</p>
+ <PathsTableOfContents />
+ <h2>@remotion/player</h2>
+ <p>Play a Remotion video in the browser.</p>
+ <PlayerTableOfContents />
<h2>@remotion/preload</h2>
<p>Preload media for the Player</p>
<PreloadTableOfContents />
<h2>@remotion/renderer</h2>
<p>Render video, audio and stills from Node.JS or Bun</p>
<RendererTableOfContents />
- <h2>@remotion/paths</h2>
- <p>Manipulate and obtain info about SVG paths</p>
- <PathsTableOfContents />
- <h2>@remotion/noise</h2>
- <p>Generate noise effects</p>
- <NoiseTableOfContents />
+ <h2>@remotion/rive</h2>
+ <p>Embed Rive animations in Remotion</p>
+ <RiveTableOfContents />
<h2>@remotion/shapes</h2>
<p>Generate SVG shapes</p>
<ShapesTableOfContents />
+ <h2>@remotion/skia</h2>
+ <p>Low-level graphics using React Native Skia</p>
+ <SkiaTableOfContents />
<h2>@remotion/studio</h2>
<p>APIs for controlling theRemotion Studio</p>
<StudioTableOfContents />
+ <h2>@remotion/tailwind</h2>
+ <p>Webpack override for using TailwindCSS v3</p>
+ <TailwindTableOfContents />
+ <h2>@remotion/tailwind-v4</h2>
+ <p>Webpack override for using TailwindCSS v4</p>
+ <TailwindV4TableOfContents />
+ <h2>@remotion/three</h2>
+ <p>Create 3D videos using React Three Fiber</p>
+ <ThreeTableOfContents />
<h2>@remotion/transitions</h2>
<p>Transition between scenes</p>
<TransitionsTableOfContents apisOnly />
- <h2>@remotion/layout-utils</h2>
- <p>Layout helpers</p>
- <LayoutUtilsTableOfContents />
- <h2>@remotion/install-whisper-cpp</h2>
- <p>Whisper.cpp installation and transcription</p>
- <InstallWhisperCppTableOfContents />
- <h2>@remotion/openai-whisper</h2>
- <p>Work with transcriptions from OpenAI Whisper</p>
- <OpenAiWhisperTableOfContents />
- <h2>@remotion/elevenlabs</h2>
- <p>Work with transcriptions from ElevenLabs</p>
- <ElevenLabsTableOfContents />
- <h2>@remotion/animated-emoji</h2>
- <p>Google Fonts Animated Emojis as Remotion Components</p>
- <AnimatedEmojiTableOfContents />
- <h2>@remotion/google-fonts</h2>
- <p>Load Google Fonts onto a page.</p>
- <GoogleFontsTableOfContents />
- <h2>@remotion/rive</h2>
- <p>Embed Rive animations in Remotion</p>
- <RiveTableOfContents />
- <h2>@remotion/zod-types</h2>
- <p>Zod types enabling Remotion Studio UI</p>
- <ZodTypesTableOfContents />
- <h2>@remotion/sfx</h2>
- <p>Sound effects library</p>
- <SfxTableOfContents />
- <h2>@remotion/light-leaks</h2>
- <p>Light Leak effects</p>
- <LightLeaksTableOfContents />
- <h2>@remotion/starburst</h2>
- <p>Starburst Effect</p>
- <StarburstTableOfContents />
<h2>@remotion/vercel</h2>
<p>Render videos on Vercel Sandbox</p>
<VercelTableOfContents />
- <h2>@remotion/motion-blur</h2>
- <p>Apply motion blur effects to components</p>
- <MotionBlurTableOfContents />
- <h2>@remotion/fonts</h2>
- <p>Load font files onto a page.</p>
- <FontsTableOfContents />
+ <h2>@remotion/zod-types</h2>
+ <p>Zod types enabling Remotion Studio UI</p>
+ <ZodTypesTableOfContents />
<h2>@remotion/media-parser</h2>
<p>A pure JavaScript library for parsing video files</p>
<MediaParserTableOfContents />
<h2>@remotion/webcodecs</h2>
<p>Converting media using WebCodecs</p>
<WebcodecsTableOfContents />
- <h2>@remotion/licensing</h2>
- <p>Report and query company license usage</p>
- <LicensingTableOfContents />
</div>
);
};
diff --git a/packages/docs/docs/remotion/table-of-contents.tsx b/packages/docs/docs/remotion/table-of-contents.tsx
index 9162598292..2adeb41595 100644
--- a/packages/docs/docs/remotion/table-of-contents.tsx
+++ b/packages/docs/docs/remotion/table-of-contents.tsx
@@ -6,50 +6,68 @@ export const TableOfContents: React.FC = () => {
return (
<div>
<Grid>
+ <TOCItem link="/docs/absolute-fill">
+ <strong>{'<AbsoluteFill>'}</strong>
+ <div>Position content absolutely and in full size</div>
+ </TOCItem>
+ <TOCItem link="/docs/cancel-render">
+ <strong>cancelRender()</strong>
+ <div>Abort an error</div>
+ </TOCItem>
<TOCItem link="/docs/composition">
<strong>{'<Composition>'}</strong>
<div>Define a video</div>
</TOCItem>
- <TOCItem link="/docs/still">
- <strong>{'<Still>'}</strong>
- <div>Define a still</div>
+ <TOCItem link="/docs/continue-render">
+ <strong>continueRender()</strong>
+ <div>Unblock a render</div>
+ </TOCItem>
+ <TOCItem link="/docs/delay-render">
+ <strong>delayRender()</strong>
+ <div>Block a render from continuing</div>
+ </TOCItem>
+ <TOCItem link="/docs/easing">
+ <strong>Easing</strong>
+ <div>
+ Customize animation curve of <code>interpolate()</code>
+ </div>
</TOCItem>
<TOCItem link="/docs/folder">
<strong>{'<Folder>'}</strong>
<div>Organize compositions in the Studio sidebar</div>
</TOCItem>
- <TOCItem link="/docs/register-root">
- <strong>{'registerRoot()'}</strong>
- <div>Initialize a Remotion project</div>
- </TOCItem>
- <TOCItem link="/docs/use-current-frame">
- <strong>useCurrentFrame()</strong>
- <div>Obtain the current time</div>
+ <TOCItem link="/docs/freeze">
+ <strong>{'<Freeze>'}</strong>
+ <div>Freeze some content in time</div>
</TOCItem>
- <TOCItem link="/docs/use-video-config">
- <strong>useVideoConfig()</strong>
- <div>Get the duration, dimensions and FPS of a composition</div>
+ <TOCItem link="/docs/get-input-props">
+ <strong>getInputProps()</strong>
+ <div>Receive the user-defined input data</div>
</TOCItem>
- <TOCItem link="/docs/interpolate">
- <strong>interpolate()</strong>
- <div>Map a range of values to another</div>
+ <TOCItem link="/docs/get-remotion-environment">
+ <strong>getRemotionEnvironment()</strong>
+ <div>Determine if you are currently previewing or rendering</div>
</TOCItem>
- <TOCItem link="/docs/spring">
- <strong>spring()</strong>
- <div>Physics-based animation primitive</div>
+ <TOCItem link="/docs/html5-audio">
+ <strong>{'<Html5Audio>'}</strong>
+ <div>
+ Synchronize <code>{'<audio>'}</code> with Remotion{"'"}s time
+ </div>
</TOCItem>
- <TOCItem link="/docs/interpolate-colors">
- <strong>interpolateColors()</strong>
- <div>Map a range of values to colors</div>
+ <TOCItem link="/docs/html5-video">
+ <strong>{'<Html5Video>'}</strong>
+ <div>
+ Synchronize a <code>{'<video>'}</code> with Remotion{"'"}s time
+ </div>
</TOCItem>
- <TOCItem link="/docs/measure-spring">
- <strong>measureSpring()</strong>
- <div>Determine the duration of a spring</div>
+ <TOCItem link="/docs/remotion/html-in-canvas">
+ <strong>{'<HtmlInCanvas>'}</strong>
+ <div>Draw DOM content into a canvas via HTML-in-canvas</div>
</TOCItem>
- <TOCItem link="/docs/easing">
- <strong>Easing</strong>
+ <TOCItem link="/docs/iframe">
+ <strong>{'<IFrame>'}</strong>
<div>
- Customize animation curve of <code>interpolate()</code>
+ Render an <code>{'<iframe>'}</code> tag and wait for it to load
</div>
</TOCItem>
<TOCItem link="/docs/img">
@@ -58,17 +76,21 @@ export const TableOfContents: React.FC = () => {
Render an <code>{'<img>'}</code> tag and wait for it to load
</div>
</TOCItem>
- <TOCItem link="/docs/html5-video">
- <strong>{'<Html5Video>'}</strong>
- <div>
- Synchronize a <code>{'<video>'}</code> with Remotion{"'"}s time
- </div>
+ <TOCItem link="/docs/interpolate-colors">
+ <strong>interpolateColors()</strong>
+ <div>Map a range of values to colors</div>
</TOCItem>
- <TOCItem link="/docs/html5-audio">
- <strong>{'<Html5Audio>'}</strong>
- <div>
- Synchronize <code>{'<audio>'}</code> with Remotion{"'"}s time
- </div>
+ <TOCItem link="/docs/interpolate">
+ <strong>interpolate()</strong>
+ <div>Map a range of values to another</div>
+ </TOCItem>
+ <TOCItem link="/docs/loop">
+ <strong>{'<Loop>'}</strong>
+ <div>Play some content repeatedly</div>
+ </TOCItem>
+ <TOCItem link="/docs/measure-spring">
+ <strong>measureSpring()</strong>
+ <div>Determine the duration of a spring</div>
</TOCItem>
<TOCItem link="/docs/offthreadvideo">
<strong>{'<OffthreadVideo>'}</strong>
@@ -80,15 +102,9 @@ export const TableOfContents: React.FC = () => {
<strong>{'<AnimatedImage>'}</strong>
<div>Disply a GIF, AVIF or animated WebP image</div>
</TOCItem>
- <TOCItem link="/docs/iframe">
- <strong>{'<IFrame>'}</strong>
- <div>
- Render an <code>{'<iframe>'}</code> tag and wait for it to load
- </div>
- </TOCItem>
- <TOCItem link="/docs/remotion/html-in-canvas">
- <strong>{'<HtmlInCanvas>'}</strong>
- <div>Draw DOM content into a canvas via HTML-in-canvas</div>
+ <TOCItem link="/docs/register-root">
+ <strong>{'registerRoot()'}</strong>
+ <div>Initialize a Remotion project</div>
</TOCItem>
<TOCItem link="/docs/sequence">
<strong>{'<Sequence>'}</strong>
@@ -98,33 +114,9 @@ export const TableOfContents: React.FC = () => {
<strong>{'<Series>'}</strong>
<div>Display contents after another</div>
</TOCItem>
- <TOCItem link="/docs/freeze">
- <strong>{'<Freeze>'}</strong>
- <div>Freeze some content in time</div>
- </TOCItem>
- <TOCItem link="/docs/loop">
- <strong>{'<Loop>'}</strong>
- <div>Play some content repeatedly</div>
- </TOCItem>
- <TOCItem link="/docs/delay-render">
- <strong>delayRender()</strong>
- <div>Block a render from continuing</div>
- </TOCItem>
- <TOCItem link="/docs/continue-render">
- <strong>continueRender()</strong>
- <div>Unblock a render</div>
- </TOCItem>
- <TOCItem link="/docs/cancel-render">
- <strong>cancelRender()</strong>
- <div>Abort an error</div>
- </TOCItem>{' '}
- <TOCItem link="/docs/get-input-props">
- <strong>getInputProps()</strong>
- <div>Receive the user-defined input data</div>
- </TOCItem>
- <TOCItem link="/docs/get-remotion-environment">
- <strong>getRemotionEnvironment()</strong>
- <div>Determine if you are currently previewing or rendering</div>
+ <TOCItem link="/docs/spring">
+ <strong>spring()</strong>
+ <div>Physics-based animation primitive</div>
</TOCItem>
<TOCItem link="/docs/staticfile">
<strong>staticFile()</strong>
@@ -132,9 +124,17 @@ export const TableOfContents: React.FC = () => {
Access file from <code>public{'/'}</code> folder
</div>
</TOCItem>
- <TOCItem link="/docs/absolute-fill">
- <strong>{'<AbsoluteFill>'}</strong>
- <div>Position content absolutely and in full size</div>
+ <TOCItem link="/docs/still">
+ <strong>{'<Still>'}</strong>
+ <div>Define a still</div>
+ </TOCItem>
+ <TOCItem link="/docs/use-current-frame">
+ <strong>useCurrentFrame()</strong>
+ <div>Obtain the current time</div>
+ </TOCItem>
+ <TOCItem link="/docs/use-video-config">
+ <strong>useVideoConfig()</strong>
+ <div>Get the duration, dimensions and FPS of a composition</div>
</TOCItem>
<TOCItem link="/docs/version">
<strong>{'VERSION'}</strong>