Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

docs: lead homepage, llms.txt and Introduction with "shadcn/ui for video"

kapishdima331730c4ff5b
diff --git a/app/(home)/components/landing/sections/hero.tsx b/app/(home)/components/landing/sections/hero.tsx
index 90e36c88..ff180a78 100644
--- a/app/(home)/components/landing/sections/hero.tsx
+++ b/app/(home)/components/landing/sections/hero.tsx
@@ -17,9 +17,10 @@ export function Hero() {
<HeroHeadline />
<div className="flex w-full flex-col items-center gap-6 pt-5 md:gap-[30px] md:pt-[30px]">
<p className="hero-in max-w-[640px] text-center [--reveal-i:3] text-[18px] leading-[26px] text-body md:text-lead md:leading-7">
- Describe your product to your AI agent. It builds the demo video
- from <span className="whitespace-nowrap">ready-made</span> pieces
- while you watch in the browser.
+ Remocn is shadcn/ui for video. Describe your product to your AI
+ agent, and it builds the demo video from{" "}
+ <span className="whitespace-nowrap">ready-made</span> pieces while
+ you watch in the browser.
</p>
<div className="hero-in hero-rise flex w-full flex-col gap-2.5 [--reveal-i:4] md:w-auto md:flex-row">
<LandingButton
diff --git a/app/(home)/components/landing/sections/whats-inside.tsx b/app/(home)/components/landing/sections/whats-inside.tsx
index c50ad887..431383f3 100644
--- a/app/(home)/components/landing/sections/whats-inside.tsx
+++ b/app/(home)/components/landing/sections/whats-inside.tsx
@@ -73,7 +73,7 @@ export function WhatsInside() {
<div className="landing-container flex flex-col gap-7 xl:gap-12">
<header className="flex flex-col gap-4 xl:flex-row xl:items-end xl:justify-between xl:gap-0">
<SectionTitle
- title="There’s a block for that"
+ title="shadcn/ui for video"
continuation="Seven kinds of building blocks. Your agent puts them on the timeline."
className="text-[34px]/[36px] text-wrap md:text-h2"
continuationClassName="xl:w-[720px]"
@@ -82,8 +82,9 @@ export function WhatsInside() {
data-reveal
className="text-ui leading-6 text-paragraph [--reveal-i:2] md:max-w-[560px] md:text-[18px] md:leading-[27px] xl:w-[340px] xl:shrink-0"
>
- Every Remocn component belongs to one of these families. It composes
- them one scene at a time.
+ Remocn is shadcn/ui for video: a shadcn registry of{" "}
+ {COMPONENT_COUNT} MIT-licensed Remotion components. Your agent picks
+ from these families and composes them one scene at a time.
</p>
</header>
<div className="flex flex-col gap-2.5 xl:gap-3">
diff --git a/config/site.ts b/config/site.ts
index d883eb94..4e15e515 100644
--- a/config/site.ts
+++ b/config/site.ts
@@ -20,10 +20,6 @@ export const STUDIO_URL = "https://remocn.studio";
export const SUPPORT_EMAIL = "[email protected]";
-/** The site's meta description; the home page's JSON-LD reuses it. */
-export const SITE_DESCRIPTION =
- "Describe your product, get a demo video. Ready-made animations, transitions and app-screen sims your coding agent can use. No video editor, no motion designer.";
-
export const INSTALL_ALL_NAMES: string[] = [
...remocnRegistry.items,
...remocnUiRegistry.items,
@@ -38,6 +34,12 @@ export const COMPONENT_COUNT =
remocnUiRegistry.items.length +
remocnIconsRegistry.items.length;
+/**
+ * The site's meta description; the home page's JSON-LD reuses it. It opens
+ * with the "shadcn/ui for video" answer in the words people search with.
+ */
+export const SITE_DESCRIPTION = `Remocn is shadcn/ui for video: a shadcn registry of ${COMPONENT_COUNT} MIT-licensed Remotion components. Your AI agent turns them into a product demo video.`;
+
export const SPRING_BOUNCE = {
type: "spring" as const,
stiffness: 120,
diff --git a/content/docs/getting-started/introduction.mdx b/content/docs/getting-started/introduction.mdx
index b95e7a5e..043b2f02 100644
--- a/content/docs/getting-started/introduction.mdx
+++ b/content/docs/getting-started/introduction.mdx
@@ -1,6 +1,6 @@
---
title: Introduction
-description: "What Remocn is: a shadcn-style component registry for Remotion plus an agent skill. Copy-paste video components, MIT, code lives in your repo."
+description: "Remocn is shadcn/ui for video: a shadcn registry of 932 MIT-licensed Remotion components, plus an agent skill. Add them with the shadcn CLI; the code lives in your repo."
---
import { CompareTable } from "@/components/docs/index/introduction/compare-table";
@@ -14,7 +14,7 @@ import { FileFlow, IconNote, RuntimeDiff } from "@/components/docs/index/introdu
import { Tier, Tiers } from "@/components/docs/index/introduction/tiers";
<Pillars>
- <Pillar icon="components" title="Copy-paste components">Text animations, transitions, backgrounds, UI blocks and icons, added to a [Remotion](https://www.remotion.dev) project with the shadcn CLI.</Pillar>
+ <Pillar icon="components" title="Copy-paste components">shadcn/ui-style UI primitives, text animations, transitions, backgrounds and icons, added to a [Remotion](https://www.remotion.dev) project with the shadcn CLI.</Pillar>
<Pillar icon="sparkle" title="Plus an agent skill">Teaches AI coding agents how to compose a video from those components.</Pillar>
<Pillar icon="folder" title="MIT, code in your repo" path="components/remocn/">Everything is MIT. Files are copied into your repo, where you own and edit them.</Pillar>
</Pillars>
@@ -23,6 +23,15 @@ import { Tier, Tiers } from "@/components/docs/index/introduction/tiers";
<Aside>If you searched for “remotion shadcn” or “shadcn remotion”, this is the thing you were looking for.</Aside>
+## shadcn/ui for video
+
+Remocn works for video the way shadcn/ui works for interface components. It ships two tiers, and both install with `npx shadcn@latest add @remocn/<name>`.
+
+<Tiers>
+<Tier name="UI tier" registry="remocn-ui" links={[{ href: "/docs/ui/components/button" }, { href: "/docs/ui/components/input" }, { href: "/docs/ui/components/checkbox" }, { href: "/docs/ui/components/select" }, { href: "/docs/ui/components/dialog" }]}>Familiar shadcn/ui primitives rebuilt so their states are [scripted on the timeline](/docs/ui) instead of driven by the user.</Tier>
+<Tier name="Animation tier" registry="remocn" links={[{ href: "/docs/shaders/getting-started/introduction", label: "Shader and canvas backgrounds" }, { href: "/docs/typography", label: "Text reveals" }, { href: "/docs/transitions", label: "Scene transitions" }, { href: "/docs/ui-blocks", label: "UI-block simulations" }, { href: "/docs/icons/gallery", label: "Icons that draw themselves in" }]} />
+</Tiers>
+
## If you know shadcn/ui
The workflow is the one you already use. Remocn is a namespaced registry, so components are addressed by name and copied in as files you own and edit.
@@ -56,15 +65,6 @@ Each one already uses the Remotion APIs correctly and avoids the traps that brea
to="a video that looks shipped"
/>
-## Two tiers of components
-
-Remocn ships two tiers of components. Both install the same way, as files in your repo.
-
-<Tiers>
-<Tier name="Animation tier" registry="remocn" links={[{ href: "/docs/shaders/getting-started/introduction", label: "Shader and canvas backgrounds" }, { href: "/docs/typography", label: "Text reveals" }, { href: "/docs/transitions", label: "Scene transitions" }, { href: "/docs/ui-blocks", label: "UI-block simulations" }, { href: "/docs/icons/gallery", label: "Icons that draw themselves in" }]} />
-<Tier name="UI tier" registry="remocn-ui" links={[{ href: "/docs/ui/components/button" }, { href: "/docs/ui/components/input" }, { href: "/docs/ui/components/checkbox" }, { href: "/docs/ui/components/select" }, { href: "/docs/ui/components/dialog" }]}>Familiar shadcn primitives rebuilt so their states are [scripted on the timeline](/docs/ui) instead of driven by the user.</Tier>
-</Tiers>
-
## What Remocn is not
<NotCards icons={["editor", "cloud", "fork", "chat"]}>
@@ -109,6 +109,9 @@ Nothing here replaces Remotion. If you already have a component library of your
<Faq>
+**Is there something like shadcn/ui but for video?**
+Yes. Remocn is shadcn/ui for video: a shadcn registry of Remotion components that you add with `npx shadcn@latest add @remocn/<name>`, the same way shadcn/ui works for interface components. The files are copied into your project under MIT, and the result renders as video with [Remotion](https://www.remotion.dev). It makes videos rather than playing them, so it is not a video player component library.
+
**Do I need to know how to code?**
Not necessarily, if you work through an AI coding agent. The [guides](/docs/guides) walk through building a video with prompts. Without an agent, you need to be comfortable with React and TypeScript.
diff --git a/lib/agent-docs.test.ts b/lib/agent-docs.test.ts
index c6b860fd..f3af0673 100644
--- a/lib/agent-docs.test.ts
+++ b/lib/agent-docs.test.ts
@@ -47,6 +47,20 @@ describe("buildLlmsTxt with component pages", () => {
);
});
+ test("opens with the shadcn/ui-for-video answer and the UI tier", () => {
+ const preamble = text.slice(0, text.indexOf("\n## "));
+ expect(preamble).toContain(
+ "> Remocn is shadcn/ui for video: a shadcn registry of 932 MIT-licensed Remotion components",
+ );
+ expect(preamble).toContain(
+ "**Is there something like shadcn/ui but for video?**",
+ );
+ expect(preamble).toContain("remotion shadcn");
+ expect(preamble.indexOf("- remocn-ui:")).toBeLessThan(
+ preamble.indexOf("- Animation tier:"),
+ );
+ });
+
test("links a section's whole text instead of each component page", () => {
expect(text).not.toContain("whip-pan.md");
expect(text).toContain(
diff --git a/lib/agent-docs.ts b/lib/agent-docs.ts
index 196ed416..933bd888 100644
--- a/lib/agent-docs.ts
+++ b/lib/agent-docs.ts
@@ -34,6 +34,21 @@ export const MCP_DOCS_URL = `${SITE_URL}/docs/getting-started/mcp-server`;
export const OPENAPI_URL = `${SITE_URL}/openapi.json`;
+/**
+ * The "shadcn/ui for video" answer, in the words people ask it with, and the
+ * two tiers with the UI one first: it is the part shadcn/ui users recognise.
+ */
+const FOR_VIDEO = [
+ "**Is there something like shadcn/ui but for video?**",
+ "",
+ `Yes: Remocn. It works the way shadcn/ui works for interface components. \`${INSTALL_COMMAND}\` copies the source into the user's project, where they own and edit it, and the components render video with Remotion. It makes videos; it is not a video player component library. People also search for it as "remotion shadcn" or "shadcn remotion". Remocn is an independent project, not affiliated with shadcn or with Remotion.`,
+ "",
+ "**Two tiers, both installed with the shadcn CLI:**",
+ "",
+ `- remocn-ui: familiar shadcn/ui primitives (button, input, select, dialog, toast and more) rebuilt for Remotion, so their states are scripted on the timeline instead of driven by a user. Docs: [${SITE_URL}/docs/ui.md](${SITE_URL}/docs/ui.md). Example: \`npx shadcn@latest add @remocn/button\`.`,
+ "- Animation tier: text effects, transitions, backgrounds, shaders, camera shots, app-screen simulations, captions, icons and full video templates.",
+];
+
/**
* When-to-use guidance. llms.txt allows free paragraphs and lists, but no
* headings, between the summary and the first H2 section, so this is bold
@@ -96,9 +111,11 @@ export function buildLlmsTxt(pages: IndexPage[], facts?: CatalogFacts): string {
const lines: string[] = [];
lines.push("# Remocn");
+ const registrySize = facts ? `${facts.components} ` : "";
lines.push(
- `\n> shadcn registry of production-ready Remotion components — animations, transitions, backgrounds, and full scenes for product demo videos. Install with \`${INSTALL_COMMAND}\`.`,
+ `\n> Remocn is shadcn/ui for video: a shadcn registry of ${registrySize}MIT-licensed Remotion components — shadcn/ui-style UI primitives, animations, transitions, backgrounds and full scenes for product demo videos. Install with \`${INSTALL_COMMAND}\`.`,
);
+ lines.push(`\n${FOR_VIDEO.join("\n")}`);
// Group pages by their top-level section (first slug segment).
const sections = new Map<string, IndexPage[]>();
for (const page of pages) {