🎥 Make videos programmatically with React
Docs: Make third-party Elements discoverable (#11339)
Igor Samokhovets717f814127b8
diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdxindex 5c5e63d44e..6e68dc1fc6 100644--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@ -195,7 +195,7 @@ The [command line flag](/docs/cli/render#--log) `--log` will take precedence ove## `addElementLibrary()`<AvailableFrom v="4.0.517" />-Adds an externally hosted Element library to Remotion Studio.+Adds a third-party Element library to Remotion Studio from an externally hosted Element catalog.```ts twoslash title="remotion.config.ts"import {Config} from '@remotion/cli/config';@@ -206,11 +206,11 @@ Config.addElementLibrary({});```-Call `addElementLibrary()` once for each external library. The `displayName` property is optional. If it is omitted, the URL host and path are shown instead.+Call `addElementLibrary()` once for each third-party Element library. The `displayName` property is optional. If it is omitted, the URL host and path are shown instead.When at least one library is configured, Browse Elements shows a dropdown containing Remotion Elements and every configured library. All libraries open in an embedded Studio modal.-The URL must be an absolute HTTP or HTTPS URL. Remotion Elements remains available without adding it to the configuration.+Registering the catalog does not install an individual Element's source code or dependencies. The URL must be an absolute HTTP or HTTPS URL. Remotion Elements remains available without adding it to the configuration.## `setMaxTimelineTracks()`<AvailableFrom v="2.1.10" />diff --git a/packages/docs/docs/studio-protocol/add-element-library-to-studio.mdx b/packages/docs/docs/studio-protocol/add-element-library-to-studio.mdxindex 5269f1aca2..6d08ccbd50 100644--- a/packages/docs/docs/studio-protocol/add-element-library-to-studio.mdx+++ b/packages/docs/docs/studio-protocol/add-element-library-to-studio.mdx@@ -6,7 +6,7 @@ crumb: '@remotion/studio-protocol'# addElementLibraryToStudio()<AvailableFrom v="4.0.518" />-Requests that an Element catalog is added to a recently focused Remotion Studio project.+Requests that the Element catalog for a third-party Element library is added to a recently focused Remotion Studio project.## Examplediff --git a/packages/docs/docs/studio/studio.mdx b/packages/docs/docs/studio/studio.mdxindex b26b81e4cf..5203ab11d3 100644--- a/packages/docs/docs/studio/studio.mdx+++ b/packages/docs/docs/studio/studio.mdx@@ -95,3 +95,9 @@ See the available [options here](/docs/cli/studio).A server will be started on port `3000` (or a higher port if it isn't available) and the Remotion Studio should open in the browser.<img src="/img/timeline.png"></img>++## Browse Elements++Browse Elements includes the first-party [Remotion Elements](/elements). You can add [third-party Element libraries](/elements/libraries) to the library selector for more options.++Adding a library makes its catalog available to browse. Installing an individual Element's source code remains a separate, confirmed action.diff --git a/packages/docs/docs/third-party.mdx b/packages/docs/docs/third-party.mdxindex 7fe67f3b71..10ebc03772 100644--- a/packages/docs/docs/third-party.mdx+++ b/packages/docs/docs/third-party.mdx@@ -10,6 +10,10 @@ All animations in Remotion must be driven by the value returned by the [`useCurrOn this page, we maintain a list of integrations for popular ways of animating on the web, and provide status for popular requests.+## Element libraries++You can add [third-party Element libraries](/elements/libraries) to Browse Elements in Remotion Studio. Adding a library registers its catalog; installing an individual Element's source code is a separate action.+## After EffectsSee: [Lottie - Import from After Effects](/docs/after-effects)diff --git a/packages/docs/elements/index.mdx b/packages/docs/elements/index.mdxindex abcd0c132b..f0b18797f4 100644--- a/packages/docs/elements/index.mdx+++ b/packages/docs/elements/index.mdx@@ -14,6 +14,8 @@ Install one into your codebase and see it appear on your active Studio canvas.Make it yours, [interactively](/docs/studio/interactivity) or [with an agent](/docs/ai).+You can also add [third-party Element libraries](/elements/libraries) to Browse Elements in Studio.+<ElementLibrary category={null} /><div style={{height: 24}} />diff --git a/packages/docs/elements/libraries.mdx b/packages/docs/elements/libraries.mdxindex 64be0000d6..be9451c025 100644--- a/packages/docs/elements/libraries.mdx+++ b/packages/docs/elements/libraries.mdx@@ -6,6 +6,12 @@ description: Third-party Element libraries that integrate with Remotion Studio.# Third-party Elements-Third-party Element libraries that integrate with Remotion Studio through the [Studio Protocol](/docs/studio-protocol).+This is a list of third-party websites providing Remotion [Elements](/elements). They are not affiliated with Remotion.++Click **Add to Studio** to register libraries in your project so you can quickly access them from Remotion Studio.++Anybody can create Element libraries. Click [here](/docs/studio-protocol/component-library-integration) for instructions.++Contact [[email protected]](mailto:[email protected]) to propose inclusion of your Element library on this page.- [Remocn](https://remocn.dev/docs/components) - A shadcn-style library of production-ready Remotion components for building product demo videos with AI agents.