Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: non-coding guides
kapishdima2a4e361f9fc8
diff --git a/components/docs/guide-video.tsx b/components/docs/guide-video.tsxnew file mode 100644index 00000000..d3fff8bb--- /dev/null+++ b/components/docs/guide-video.tsx@@ -0,0 +1,38 @@+"use client";++import { useEffect, useRef, useState } from "react";+import { usePrefersReducedMotion } from "@/lib/use-prefers-reduced-motion";++export function GuideVideo({ src, poster }: { src: string; poster?: string }) {+ const videoRef = useRef<HTMLVideoElement>(null);+ const reducedMotion = usePrefersReducedMotion();+ const [hovered, setHovered] = useState(false);++ useEffect(() => {+ const video = videoRef.current;+ if (!video) return;+ if (reducedMotion) {+ video.pause();+ } else {+ void video.play().catch(() => {});+ }+ }, [reducedMotion]);++ return (+ <div className="surface-card not-prose mb-6 aspect-video w-full overflow-hidden rounded-2xl">+ <video+ ref={videoRef}+ src={src}+ poster={poster}+ controls={hovered || reducedMotion}+ onPointerEnter={() => setHovered(true)}+ onPointerLeave={() => setHovered(false)}+ muted+ loop+ playsInline+ preload="metadata"+ className="size-full object-cover"+ />+ </div>+ );+}diff --git a/content/docs/guides/index.mdx b/content/docs/guides/index.mdxnew file mode 100644index 00000000..be8e72bc--- /dev/null+++ b/content/docs/guides/index.mdx@@ -0,0 +1,12 @@+---+title: Guides+description: Finished videos you can make yours — pick one, fill in your words, paste a prompt+---++Each guide starts from a finished video and ends with your version of it. You don't write code and you don't learn a video editor. Your AI agent builds the video — you direct it: pick a guide, fill in your product's words, paste the prompt.++First time here? Do the one-time [Setup](/docs/guides/setup) — about ten minutes, all copy-paste.++## The guides++- [Launch video](/docs/guides/launch-video) — the ~35-second video we launched remocn with, rebuilt around your product.diff --git a/content/docs/guides/launch-video.mdx b/content/docs/guides/launch-video.mdxnew file mode 100644index 00000000..6ab73922--- /dev/null+++ b/content/docs/guides/launch-video.mdx@@ -0,0 +1,84 @@+---+title: Launch video+description: The ~35-second launch video we made for remocn itself — with your product in it+---++<GuideVideo+ src="https://cdn.remocn.dev/videos/intoducing-remocn.mp4"+ poster="https://cdn.remocn.dev/posters/intoducing-remocn.png"+/>++This is the video we launched remocn with. Eight beats, thirty-five seconds, built entirely from remocn components. Below is everything you need to make the same video for your product.++## The storyboard++1. **The pain** — two short lines land one after the other, naming the problem you solve.+2. **The reveal** — "Meet <Product>", uncovered by a swirl of color.+3. **The tagline** — your one-liner slides in.+4. **The positioning** — "Like X, for Y" assembles itself word by word.+5. **The montage** — six fast cuts: a feature name over a different animated background each time.+6. **The value** — three claims stack up, line by line.+7. **The install** — a terminal types out your install command or call to action.+8. **The outro** — your logo draws itself on, with one quiet closing line.++## Your words++This is the whole creative work — nine blanks:++- **Product name**+- **Two pain lines** — six words or fewer each; they're on screen for about two seconds+- **Tagline** — one line+- **Positioning** — the "Like X, for Y" sentence+- **Six feature labels** — one or two words each+- **Three value claims** — short, concrete, no adjectives you can't prove+- **Install command or CTA** — whatever you want typed on screen+- **Closing line** — e.g. "Open source, all the way down"+- **Accent color** — one hex value; optional, the default lime looks good++Have a logo? Drop the SVG into the project folder and mention the file name in the prompt. No logo — your agent will use the product name as a wordmark.++## The prompt++```text+I'm making a product launch video with remocn (remocn.dev).++Build a ~35-second, 1920×1080, 30fps launch video for <PRODUCT NAME> in this+Remotion project, using remocn components — install anything you need with+`npx shadcn add @remocn/<name>`:++1. Pain — two short lines, one after the other (scale-down-fade):+ "<PAIN LINE 1>" then "<PAIN LINE 2>".+2. Reveal — "Meet <PRODUCT NAME>", uncovered by a swirling shader transition+ (shader-swirl as a transition cover).+3. Tagline — "<TAGLINE>" (short-slide-right).+4. Positioning — "<LIKE X, FOR Y>", assembling word by word (kinetic-center-build).+5. Montage — six hard cuts, one per feature: a fullscreen shader background+ (color-panels, warp, mesh-gradient, voronoi, metaballs, god-rays), a dark+ scrim, and one label each: <SIX FEATURE LABELS>.+6. Value — three claims stacking line by line (line-by-line-slide):+ <THREE CLAIMS>.+7. Install — a short title beat, then a terminal line that types itself:+ `<INSTALL COMMAND OR CTA>`.+8. Outro — my logo (<LOGO FILE, or: use the product name as a wordmark>) over+ a blooming shader-smoke-ring, with a quiet closing line: "<CLOSING LINE>".++Style: warm dark background (#141318), off-white text, one accent color+<ACCENT COLOR>, Manrope. One quiet shader-simplex-noise field runs behind the+entire video with a radial scrim for readability. Transitions are shader+covers (swirl, dithering), not plain crossfades. Use my copy exactly as+written.+```++## Directing the result++The first cut won't be the final one — that's normal. Direct with plain sentences:++- "The pain lines go by too fast — hold each one longer."+- "Cut the montage to four beats."+- "Use my brand background #0B0B0F instead."+- "The tagline should come in from the left."+- "Make the outro two seconds shorter."++## Get the file++Ask your agent: **"Render the video."** You'll get an `.mp4` in the project folder, ready to post.diff --git a/content/docs/guides/meta.json b/content/docs/guides/meta.jsonnew file mode 100644index 00000000..11f5a2e1--- /dev/null+++ b/content/docs/guides/meta.json@@ -0,0 +1,5 @@+{+ "title": "Guides",+ "collapsible": false,+ "pages": ["index", "setup", "launch-video"]+}diff --git a/content/docs/guides/setup.mdx b/content/docs/guides/setup.mdxnew file mode 100644index 00000000..8f532fbe--- /dev/null+++ b/content/docs/guides/setup.mdx@@ -0,0 +1,18 @@+---+title: Setup+description: One-time setup for making videos with an AI agent — about ten minutes+---++You need two things: an AI coding agent and an empty folder.++**1. Get an agent.** We recommend [Claude Code](/docs/ai/claude-code) — also works with [ChatGPT](/docs/ai/chat-gpt), [opencode](/docs/ai/opencode) and others.++**2. Open the agent in an empty folder and paste:**++```text+Set up a new Remotion video project in this folder, then install the remocn+agent skill: npx skills add Remocn/remocn --yes. When you're done, start the+preview studio so I can watch the video while we work.+```++When a browser tab opens with an empty video player, you're ready. Pick a [guide](/docs/guides) and make it yours.diff --git a/content/docs/meta.json b/content/docs/meta.jsonindex 388e17a0..f84b303a 100644--- a/content/docs/meta.json+++ b/content/docs/meta.json@@ -2,6 +2,7 @@"title": "Documentation","pages": ["getting-started",+ "guides","layout","typography","ui",diff --git a/mdx-components.tsx b/mdx-components.tsxindex 578035e6..4451068a 100644--- a/mdx-components.tsx+++ b/mdx-components.tsx@@ -9,6 +9,7 @@ import { ComponentExample } from "@/components/docs/component-example";import { ComponentPreview } from "@/components/docs/component-preview";import { CopyButton } from "@/components/docs/copy-button";import { Dependencies } from "@/components/docs/dependencies";+import { GuideVideo } from "@/components/docs/guide-video";import { IconsGallery } from "@/components/docs/icons-gallery";import { InstallAll } from "@/components/docs/install-all";import { InstallBlock } from "@/components/docs/install-block";@@ -111,6 +112,7 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {Dependencies,ComponentCardGrid,IconsGallery,+ GuideVideo,...components,};