Skip to main content

Authoring a Remotion library

Authoring a Remotion library works the same as authoring a normal React library. Usually, it is being published to GitHub and NPM.

Starter template​

Remotion's library starter template is the recommended way to create a library or a component to be used with Remotion. It:

  • correctly packages your library as ESM + CJS
  • has an Remotion Studio instance built in for testing your library
  • correctly defines Remotion as a peer dependency
  • has TypeScript, ESLint and Turborepo configured

Publishing​

You have two options to publish your library:

See also​