Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Installation
description: Add Remocn to an existing Remotion project
---
Remocn assumes you already have Remotion installed. If you don't, run `npx create-video@latest` first.
## 1. Initialize shadcn
If your project doesn't already have a `components.json`, run:
```bash
npx shadcn@latest init
```
Pick the defaults: Remocn components are framework-agnostic and only need the path aliases.
## 2. Add a component
<InstallBlock name="soft-blur-in" />
This copies `soft-blur-in.tsx` into `components/remocn/` (or wherever your `components.json` points).
## Install everything
Want the whole library at once? Copy this command to add every Remocn component in a single run.
<InstallAll />
## Add straight to Remotion Studio
If a [Remotion Studio](https://www.remotion.dev/docs/studio) (4.0.502 or newer) is running locally, most components can skip the CLI entirely. Component pages show an **Add to Studio** button next to the preview — it finds your running Studio and drops the component into the active composition as source code. The drag handle beside it does the same thing by drag and drop, so you can place the element on the timeline yourself. Icons work the same way from the [icons gallery](/docs/icons/gallery).
Either way the result matches `npx shadcn add`: the source lands in your project and is yours to edit. On top of that, elements arrive with editable controls — the same knobs each docs page shows (text, colors, timings, speed) appear as native controls in the Studio sidebar, alongside the standard timeline and transform handles. Compositions and components that build on other Remocn components install through the CLI only.
## 3. Use it in a Remotion composition
```tsx
import { Composition } from "remotion";
import { SoftBlurIn } from "@/components/remocn/soft-blur-in";
export const RemotionRoot = () => (
<Composition
id="HelloWorld"
component={SoftBlurIn}
durationInFrames={60}
fps={30}
width={1280}
height={720}
defaultProps={{ text: "Hello, world" }}
/>
);
```
That's it. Render with `npx remotion render HelloWorld out.mp4`.