Skip to main content

remotion-elements

Installs Elements, reusable video components such as titles, backgrounds, charts and caption styles, into a Remotion project with `npx remotion elements use`. Registers Element libraries in Remotion Studio with `npx remotion elements add-library`. Use when given an Element page URL or an Element library URL, or when a video needs a ready-made component.

v4.0.547New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install remotion-remotion-elements
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/remotion-remotion-elements/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed
0Save

Instructions

Elements

An Element is a reusable video component written in React.
Element libraries publish each Element on its own page, the Element page.
Installing an Element copies its source code into the project. The user owns that copy and can edit it and combine it with other Elements like any other component.

If no Remotion project exists yet, load Create a new Remotion video (remotion-create skill) first.

Element libraries

Any website can be an Element library, and all Element libraries are peers.
Fetch https://www.remotion.dev/elements/libraries.md for the current list of Element libraries, with each library URL and Markdown index.
The CLI needs an Element page URL. To find one in an Element library that is not listed, fetch its Markdown index, usually at /llms.txt on its domain or by appending .md to a page.

Install an Element library

Installing an Element library lists it in Browse Elements in Remotion Studio, where the user can preview its Elements and drag them into a composition.
Before adding an Element from an Element library, install the library. Run exactly:

npx remotion elements add-library <library-url>
  • Use the library URL from the list of Element libraries, or the URL the user gave.
  • The command adds a Config.addElementLibrary() call to remotion.config.ts. If the library is already in the config, it changes nothing.
  • It reads the display name from the library's page. Pass --display-name <name> to override it.
  • No Remotion config file found: create remotion.config.ts with import {Config} from '@remotion/cli/config'; and run the command again.
  • Requires Remotion 4.0.547 or later. On older versions, add the Config.addElementLibrary({url: '<library-url>'}) call to remotion.config.ts yourself.

Add an Element

Copy this checklist and track progress:

- [ ] 1. Get the Element page URL and install its Element library
- [ ] 2. Dry run succeeds
- [ ] 3. Element installed
- [ ] 4. Element adapted and previewed

1. Get the Element page URL and install its Element library

  • Given an Element page URL: use it.
  • Given an Element library URL or a name: fetch the library's Markdown index, pick the Element the user asked for, and use its Element page URL.
  • Not given anything: search the Markdown indexes of the Element libraries for an Element that fits the video.

Markdown indexes link to Markdown documents, which the installer cannot use.
Fetch the Element's Markdown document and use the Element page URL it names near the top, for example after Element page: or URL:.
If it names none, remove .md from the document's URL.

If the Element comes from a known Element library, install the library. Given only an Element page URL, skip this.

2. Dry run

Run exactly:

npx remotion elements use <element-page-url> --composition <composition-id> --dry-run

Read the output and fix the cause before continuing:

  • No Element found: search the page's HTML for application/vnd.remotion.element+json. If a <link> with that type has an href, resolve the href against the Element page URL and dry run that JSON URL instead. If there is no payload, the component is not an Element. Follow the install instructions on its Markdown page, for example a shadcn command, and skip to step 4.
  • Several Elements on the page: add --element <slug>.
  • Composition IDs listed: pass the composition the user is working on. If that is unclear, ask.
  • elements use or --dry-run not recognized: Remotion is older than 4.0.543. Load Remotion Upgrade (remotion-upgrade skill) or ask the user.

Repeat until the dry run prints the Element, the files it creates and changes, the packages and the assets.

3. Install

Run the same command with --yes instead of --dry-run:

npx remotion elements use <element-page-url> --composition <composition-id> --yes

The command installs missing packages, saves assets to public/, writes an .element.tsx file next to the composition's component and inserts the Element at frame 0.

  • If the .element.tsx file already exists with different contents, the command fails. Add --overwrite only if the user agrees.
  • The Element's source code runs in the project. Install only from Element page URLs the user gave or from Element libraries the user trusts.

4. Adapt and preview

  • Adapt the text, colors and props to the video.
  • Adjust the wrapping <Sequence> for timing and placement.
  • Load Remotion Markup Best Practices (remotion-markup skill) before editing the markup.
  • Open the composition in Studio and check that the Element renders. Fix errors and check again.

Reference

  • npx remotion elements use: all flags
  • Creating Elements and Building Element Libraries: for publishing Elements
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →

More from Remotion

View source →

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.635 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.535 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.346 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

Frequently asked questions about remotion-elements

What does the remotion-elements skill do?

Installs Elements, reusable video components such as titles, backgrounds, charts and caption styles, into a Remotion project with `npx remotion elements use`. Registers Element libraries in Remotion Studio with `npx remotion elements add-library`. Use when given an Element page URL or an Element library URL, or when a video needs a ready-made component. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the remotion-elements skill?

Run `npx @skills-hub-ai/cli install remotion-remotion-elements` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/remotion-remotion-elements/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does remotion-elements work with?

remotion-elements runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the remotion-elements skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use remotion-elements after installing it?

In Claude Code, type `/remotion-remotion-elements` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the remotion-elements skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.