Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: create blog setup, create first articles
kapishdima8b2e94b5b4a7
diff --git a/app/(home)/blog/[slug]/page.tsx b/app/(home)/blog/[slug]/page.tsxnew file mode 100644index 00000000..9aaff2a1--- /dev/null+++ b/app/(home)/blog/[slug]/page.tsx@@ -0,0 +1,96 @@+import { ArrowLeft } from "lucide-react";+import type { Metadata } from "next";+import Link from "next/link";+import { notFound } from "next/navigation";+import { blog } from "@/.source/server";+import { GuideVideo } from "@/components/docs/guide-video";+import { blogDateFormatter, blogSlug } from "@/lib/blog";+import { getMDXComponents } from "@/mdx-components";++type PageProps = { params: Promise<{ slug: string }> };++function getPost(slug: string) {+ return blog.find((post) => blogSlug(post) === slug);+}++export function generateStaticParams() {+ return blog.map((post) => ({ slug: blogSlug(post) }));+}++export async function generateMetadata({+ params,+}: PageProps): Promise<Metadata> {+ const { slug } = await params;+ const post = getPost(slug);+ if (!post) return {};++ const url = `/blog/${slug}`;+ const title = `${post.title} · remocn`;+ const shareImage = post.videoPoster ?? "/hero.png";++ return {+ title: post.title,+ description: post.description,+ alternates: { canonical: url },+ openGraph: {+ type: "article",+ url,+ siteName: "Remocn",+ title,+ description: post.description,+ locale: "en_US",+ images: [{ url: shareImage, alt: post.title }],+ },+ twitter: {+ card: "summary_large_image",+ title,+ description: post.description,+ images: [shareImage],+ },+ };+}++const postComponents = { ...getMDXComponents(), GuideVideo };++export default async function BlogPostPage({ params }: PageProps) {+ const { slug } = await params;+ const post = getPost(slug);+ if (!post) notFound();++ const iso = post.date.toISOString().slice(0, 10);+ const MDX = post.body;++ return (+ <section className="pt-10 pb-24 sm:pt-14">+ <div className="section flex flex-col gap-8">+ <Link+ href="/blog"+ className="inline-flex w-fit items-center gap-1.5 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground"+ >+ <ArrowLeft className="size-4" aria-hidden="true" />+ Blog+ </Link>++ {post.video ? (+ <GuideVideo src={post.video} poster={post.videoPoster} />+ ) : null}++ <div className="flex flex-col gap-3">+ <h1 className="text-3xl font-semibold leading-tight tracking-tight text-foreground sm:text-4xl">+ {post.title}+ </h1>+ <time+ dateTime={iso}+ className="font-mono text-xs font-medium text-muted-foreground"+ >+ {blogDateFormatter.format(post.date)}+ </time>+ </div>++ <div className="typeset typeset-docs">+ <MDX components={postComponents} />+ </div>+ </div>+ </section>+ );+}diff --git a/app/(home)/blog/page.tsx b/app/(home)/blog/page.tsxnew file mode 100644index 00000000..4b8bb951--- /dev/null+++ b/app/(home)/blog/page.tsx@@ -0,0 +1,99 @@+import type { Metadata } from "next";+import Link from "next/link";+import { blog } from "@/.source/server";+import { blogDateFormatter, blogSlug } from "@/lib/blog";+import { sortByDateDesc } from "@/lib/changelog";+import { cn } from "@/lib/utils";++const DESCRIPTION =+ "Making-of stories behind the videos we build with remocn — the storyboard, the decisions that made each one work, and the prompt that rebuilds it.";++export const metadata: Metadata = {+ title: "Blog",+ description: DESCRIPTION,+ alternates: { canonical: "/blog" },+ openGraph: {+ type: "website",+ url: "/blog",+ siteName: "Remocn",+ title: "Blog · remocn",+ description: DESCRIPTION,+ locale: "en_US",+ images: [+ { url: "/hero.png", width: 1200, height: 675, alt: "Blog · remocn" },+ ],+ },+ twitter: {+ card: "summary_large_image",+ title: "Blog · remocn",+ description: DESCRIPTION,+ images: ["/hero.png"],+ },+};++export default function BlogPage() {+ const posts = sortByDateDesc(blog);++ return (+ <>+ <section className="pt-24 pb-10 sm:pt-28">+ <div className="section">+ <h1 className="text-4xl font-semibold leading-[1.05] tracking-tight text-foreground sm:text-5xl">+ Blog+ </h1>+ <p className="mt-4 max-w-2xl text-balance text-base leading-relaxed text-muted-foreground sm:text-lg">+ {DESCRIPTION}+ </p>+ </div>+ </section>++ <section className="pb-24">+ <ul className="section flex flex-col">+ {posts.map((post, index) => {+ const slug = blogSlug(post);+ const iso = post.date.toISOString().slice(0, 10);++ return (+ <li key={slug}>+ <Link+ href={`/blog/${slug}`}+ className={cn(+ "group grid gap-4 py-8 md:grid-cols-[7rem_1fr_16rem] md:gap-8",+ index > 0 && "border-t border-border",+ )}+ >+ <time+ dateTime={iso}+ className="font-mono text-xs font-medium tabular-nums text-muted-foreground md:pt-1"+ >+ {blogDateFormatter.format(post.date)}+ </time>++ <div className="flex min-w-0 flex-col gap-2">+ <h2 className="text-xl font-semibold tracking-tight text-foreground group-hover:underline sm:text-2xl">+ {post.title}+ </h2>+ <p className="text-balance text-sm leading-relaxed text-muted-foreground">+ {post.description}+ </p>+ </div>++ <div className="aspect-video overflow-hidden rounded-lg bg-muted">+ {post.videoPoster ? (+ <img+ src={post.videoPoster}+ alt=""+ loading="lazy"+ className="size-full object-cover transition-transform duration-500 group-hover:scale-[1.02]"+ />+ ) : null}+ </div>+ </Link>+ </li>+ );+ })}+ </ul>+ </section>+ </>+ );+}diff --git a/app/sitemap.ts b/app/sitemap.tsindex 5635a75d..b6c1d548 100644--- a/app/sitemap.ts+++ b/app/sitemap.ts@@ -1,5 +1,6 @@import type { MetadataRoute } from "next";-import { changelog } from "@/.source/server";+import { blog, changelog } from "@/.source/server";+import { blogSlug } from "@/lib/blog";import { getShowcases } from "@/lib/showcases";import { source } from "@/source";@@ -39,6 +40,12 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {changeFrequency: "weekly",priority: 0.6,},+ {+ url: `${SITE_URL}/blog`,+ lastModified: now,+ changeFrequency: "weekly",+ priority: 0.6,+ },];const docRoutes: MetadataRoute.Sitemap = source.getPages().map((page) => ({@@ -68,5 +75,18 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {}),);- return [...staticRoutes, ...docRoutes, ...changelogRoutes, ...showcaseRoutes];+ const blogRoutes: MetadataRoute.Sitemap = blog.map((post) => ({+ url: `${SITE_URL}/blog/${blogSlug(post)}`,+ lastModified: post.date,+ changeFrequency: "monthly",+ priority: 0.5,+ }));++ return [+ ...staticRoutes,+ ...docRoutes,+ ...changelogRoutes,+ ...showcaseRoutes,+ ...blogRoutes,+ ];}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/config/site.ts b/config/site.tsindex 1414c91b..e4b150dc 100644--- a/config/site.ts+++ b/config/site.ts@@ -45,6 +45,7 @@ export const NAV_LINKS: NavLink[] = [{ href: "/docs/shaders/getting-started/introduction", label: "Shaders" },{ href: "/docs/icons/gallery", label: "Icons" },{ href: "/showcases", label: "Showcases" },+ { href: "/blog", label: "Blog" },{ href: "/sponsors", label: "Sponsors" },];@@ -64,6 +65,7 @@ export const NEW_BADGE_PATHS = new Set<string>([export const FOOTER_NAV: NavLink[] = [{ href: "/docs/getting-started/introduction", label: "Docs" },{ href: "/changelog", label: "Changelog" },+ { href: "/blog", label: "Blog" },{ href: "/showcases", label: "Showcases" },{ href: GITHUB_URL, label: "GitHub" },{ href: "/sponsors", label: "Sponsors" },diff --git a/content/blog/introducing-remocn.mdx b/content/blog/introducing-remocn.mdxnew file mode 100644index 00000000..36491a36--- /dev/null+++ b/content/blog/introducing-remocn.mdx@@ -0,0 +1,119 @@+---+title: Introducing remocn — shadcn-style copy-paste components for videos in React+description: remocn is an MIT registry of 234 copy-paste Remotion components — text animations, cinematic transitions, WebGL shader backgrounds, animated icons, and simulated product UI.+date: 2026-07-22+video: https://cdn.remocn.dev/videos/intoducing-remocn.mp4+videoPoster: https://cdn.remocn.dev/posters/intoducing-remocn.png+---++You shipped a product. Now you need a demo video — for the landing page, the launch post, the Product Hunt gallery. The usual options are all bad if you're a React developer: learn After Effects (a profession, not a weekend), hire an editor (a slow feedback loop that restarts every time your UI changes), or screen-record and accept whatever comes out.++There's a fourth option that fits how you already work: write the video in React. [Remotion](https://remotion.dev) has made that possible for years — a real `.mp4` rendered from React components, where motion is a pure function of the current frame. What's been missing is the layer above it. Nobody wants to hand-build a typewriter effect again, tune a whip-pan's motion blur from scratch, or figure out why their WebGL background flickers in headless renders. Every Remotion project starts from zero.++[Remocn](https://remocn.dev) is that layer: 234 production-ready components for Remotion, delivered the shadcn way — copied into your project as TypeScript source you own.++## The shadcn workflow, for video++If you've used [shadcn/ui](https://ui.shadcn.com), you already know the model. Components aren't an npm dependency you configure through props and fight through overrides. The CLI copies the source file into your project, and from that moment it's your code:++```bash+npx shadcn@latest add @remocn/soft-blur-in+```++That drops `soft-blur-in.tsx` into `components/remocn/`. Want the blur to start softer, the spring to settle faster, the easing to feel different? Open the file and change it. There's no library API standing between you and the animation.++The registry also carries dependency metadata: installing `whip-pan` brings in `@remotion/transitions` automatically, installing a scripted UI flow pulls the primitives it's built from. One command, working code.++## Sixty seconds to a rendered video++remocn assumes an existing Remotion project (`npx create-video@latest` if you need one) and a `components.json` (`npx shadcn@latest init`, defaults are fine). After that:++```tsx+// src/Root.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" }}+ />+);+```++```bash+npx remotion render HelloWorld out.mp4+```++Two seconds of video, text resolving out of a soft blur, rendered to a file. Every component page on [remocn.dev](https://remocn.dev/docs) mounts a real `@remotion/player`, so you can scrub any animation frame by frame before installing it.++## What's in the registry++**34 text animations.** Product videos are mostly words on screen, so this is the deepest section: `staggered-fade-up`, `per-character-rise`, `typewriter` (with a deterministic blinking cursor), `kinetic-center-build` (words push the line sideways while the phrase stays centered — it measures real word widths), `slot-machine-roll`, `matrix-decode`, `number-wheel` and `rolling-number` for metrics, `value-swap` and `rolodex-flip` for word substitutions.++<GuideVideo src="https://cdn.remocn.dev/videos/typography.mp4" poster="https://cdn.remocn.dev/posters/typography.png" />++**12 transitions.** Four camera moves — `whip-pan`, `push-through`, `focus-pull`, `zoom-blur` — modeled on how editors actually hide cuts, plus eight GPU dissolves (`grain-dissolve`, `smoke-dissolve`, `ripple-zoom`, and friends) for texture. They're presentation functions for `@remotion/transitions`, so they slot into a `TransitionSeries` you may already have:++<GuideVideo src="https://cdn.remocn.dev/videos/new-transitions.mp4" poster="https://cdn.remocn.dev/posters/new-transitions.png" />++```tsx+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { whipPan } from "@/components/remocn/whip-pan";++<TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 26 })}+ presentation={whipPan()}+ />+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneB />+ </TransitionSeries.Sequence>+</TransitionSeries>+```++**18 WebGL shader backgrounds.** Mesh gradients, god rays, metaballs, liquid metal — each wraps a shader from [paper-design/shaders](https://github.com/paper-design/shaders) and adapts it for video rendering (more on why that's necessary below).++<GuideVideo src="https://cdn.remocn.dev/videos/paper-shaders.mp4" poster="https://cdn.remocn.dev/posters/paper-shaders.png" />++**44 video-ready UI primitives.** Buttons, dialogs, command menus, toasts, tabs — the shadcn vocabulary, rebuilt for a timeline instead of user input. On top of them: scripted flows like `signup-flow`, `checkout-flow`, and `imessage-chat-flow` that play out a complete interaction.++<GuideVideo src="https://cdn.remocn.dev/videos/remocn-ui.mp4" poster="https://cdn.remocn.dev/posters/remocn-ui.png" />++**100 animated icons.** Lucide-derived geometry, re-authored for video: each icon draws its stroke in, then performs one action — the check pops, the bell rings. Browse them in the [gallery](https://remocn.dev/docs/icons/gallery).++<GuideVideo src="https://cdn.remocn.dev/videos/remocn-icons.mp4" poster="https://cdn.remocn.dev/posters/remocn-icons.png" />++**The rest.** Terminal simulators with typed commands, glassy code blocks, animated line and bar charts, GitHub-stars and X-follower cards for social proof, AI-chat mockups (Claude, ChatGPT, v0), confetti, and a `backdrop` primitive that gives any scene a filled frame.++## The boring hard parts are handled++Video rendering is stricter than the browser you're used to. Remotion renders frame 47 in isolation — possibly on a different worker than frame 46, possibly out of order — and expects identical pixels every time it asks for that frame. A cursor blinking off `setInterval`, a `Math.random()` in a particle field, a CSS animation: all of them produce renders that flicker or desync.++Every remocn component derives its motion from `useCurrentFrame()` and nothing else. The shader backgrounds go further: a shader normally animates against a wall clock, so the wrappers freeze it and drive its frame uniform from the timeline, gating the first paint with `delayRender()` so headless capture never grabs an uninitialized canvas. Scrubbing, looping, and multi-pass renders stay deterministic — which is exactly the class of bug you don't want to discover at render time, on a deadline.++The other handled part is taste. Springs come pre-tuned, transition durations ship with sane defaults (a whip-pan lives on speed at ~26 frames; a focus-pull needs ~46 to breathe), and components render transparent so your background — a `backdrop` fill or a shader — is one wrapper away.++## Stop screen-recording your product++The technique I'd point any founder to first: don't record your app, simulate it. The scripted UI flows replay a signup, a checkout, a chat conversation, a command-menu search — at retina sharpness, with a cursor that never fumbles, on a timeline you control frame by frame. When your product ships a redesign, you update props and re-render instead of re-recording every asset. That's the difference between a demo video that rots and one that lives in your repo next to the code it demos.++## Free, MIT, yours++Everything above is MIT-licensed and free. There's no version to upgrade and no breaking API changes to absorb, because there's no dependency — the code lands in `components/remocn/` and belongs to you. Remotion itself is the only prerequisite (free for individuals and companies of up to 3 people; larger companies need their [company license](https://remotion.dev/license)).++## Start here++- [Docs and live previews](https://remocn.dev/docs) — every component with a scrubbable player+- [Installation guide](https://remocn.dev/docs/getting-started/installation) — two commands and you're rendering+- [GitHub](https://github.com/Remocn/remocn) — a star helps more people find it++If you build something with it, I'd genuinely like to see the result.diff --git a/content/blog/nextjs-launch-video.mdx b/content/blog/nextjs-launch-video.mdxnew file mode 100644index 00000000..791bf8bb--- /dev/null+++ b/content/blog/nextjs-launch-video.mdx@@ -0,0 +1,71 @@+---+title: Making a launch video for Next.js+description: The eclipse cut — a monochrome flight through the Next.js brand, rebuilt beat by beat in code+date: 2026-07-22+video: https://cdn.remocn.dev/videos/introducing-nextjs.mp4+videoPoster: https://cdn.remocn.dev/posters/introducing-nextjs.png+---++Nobody at Vercel asked for this video. We make unofficial launch videos for products everyone knows — it is the hardest test we can give remocn, because you already know exactly what Next.js should look like, and any wrong note reads instantly. This one runs about forty seconds and never uses a color: white is the accent.++### The storyboard++1. **The eclipse** — a backlit black triangle over a grainy halo of light, the hook line beneath. The camera dives into the triangle until its flat black swallows the frame.+2. **The tunnel** — we fell into a triangle, so we fall through triangles: concentric outlines rushing past the lens, born small at the vanishing point.+3. **The logotype writes itself** — the official wordmark traced left to right, fills rising behind the tracing line, timed to start the exact frame the tunnel hands over.+4. **The hero** — nextjs.org's own dashed construction lines and marker circles draw themselves around the real headline and `npx create-next-app@latest`.+5. **The receipts** — five real customer names on a slow perspective marquee.+6. **The features** — three whip-pan stations, each of the homepage's feature cards rebuilt as a live illustration: pixel mountains assembling, a wireframe streaming in with traveling pulses, a component tree growing sphere by sphere.+7. **Powered by** — a chip with circuit traces drawing outward and colored pulses riding the wires.+8. **The numbers** — two real performance figures landing on odometer digits.+9. **The command and the blueprint** — the install command types itself over a grain cover, then the lockup sits on a breathing blueprint grid.++### Director's notes++**The register is stolen honestly.** Everything comes from nextjs.org's dark theme: pure black canvas, `#ededed` ink, Geist weighted exactly as the site weights it. The video is strictly monochrome — the only color allowed lives *inside* the rebuilt illustrations, where the site itself uses it. When you borrow a brand, borrow its discipline too.++**One transition family.** Every cut is a dive, a push, or a pan — the same family of camera moves — and a slow camera creep runs under the whole piece without ever resetting at a cut. `fade` is spent exactly once, on the final breath into the lockup. That is why forty seconds read as one take.++**Facts are verified, not vibed.** Every customer name and figure on screen was checked against nextjs.org the day the video was built, kept verbatim or cut. The GitHub star count is deliberately absent — the site doesn't lead with it, so neither do we. And the logo is the official brand SVG, embedded path for path, never redrawn.++**The tunnel is geometry, not a shader.** A grayscale ripple shader reads as circles at best and a soft glow at worst. The triangle is the brand — so the tunnel is hand-built triangle strokes on an exponential scale cycle.++### The prompt++This is the video's brief, written as a prompt you can hand to your agent (we validate every prompt we publish against a clean project and the [remocn skill](/docs/ai/agent-skill)):++```text+I'm making an unofficial launch video for Next.js with remocn (remocn.dev)+in a Remotion project — install anything you need with+`npx shadcn add @remocn/<name>`.++Build a ~40-second, 1280×720, 30fps introducing video:++1. Eclipse — a backlit black triangle over a grainy halo of light, the hook+ beneath. Dive into the triangle until flat black fills the frame.+2. Tunnel — fall through concentric triangle outlines rushing past the lens.+3. The wordmark writes itself — trace the official Next.js logotype left to+ right, fills rising behind the tracing line.+4. Hero — nextjs.org's dashed construction lines and marker circles draw+ themselves around the real headline and `npx create-next-app@latest`.+5. Receipts — five real customer names on a slow perspective marquee.+6. Features — three whip-pan stations rebuilding the homepage's three+ feature cards as live illustrations.+7. Powered by — a chip with circuit traces drawing outward and pulses+ riding the wires.+8. Numbers — two real performance figures landing on odometer digits.+9. Close — the install command types itself over a grain cover, then a+ blueprint lockup with the logo and nextjs.org.++Style: pure black canvas, #ededed ink, strictly monochrome — white is the+only accent; color may live only inside the rebuilt illustrations. Geist+for everything, Geist Mono for the shell. One grayscale grain-gradient+field behind the whole video. Keep transitions in one family — dives,+pushes, whip-pans — with a single fade reserved for the final lockup.+Verify every name and figure against nextjs.org before it goes on screen;+use the official logo SVGs, never redraw them.+```++### Make one for your product++The generic recipe — same anatomy, your words — is [Launch video](/docs/guides/launch-video). When the first render comes back close-but-not-right, [Directing your agent](/docs/guides/directing-your-agent) is the vocabulary.diff --git a/content/blog/prisma-launch-video.mdx b/content/blog/prisma-launch-video.mdxnew file mode 100644index 00000000..95f33a87--- /dev/null+++ b/content/blog/prisma-launch-video.mdx@@ -0,0 +1,81 @@+---+title: Making a launch video for Prisma+description: A launch video that lives inside the Prisma logo — gem smoke, a refraction transition, and a schema that compiles+date: 2026-07-22+video: https://cdn.remocn.dev/videos/introducing-prisma.mp4+videoPoster: https://cdn.remocn.dev/posters/introducing-prisma.png+---++Another unofficial one — Prisma didn't commission this. Forty-six seconds, and the whole video happens inside the logo: an indigo-and-teal smoke field lives behind everything, masked to the prism silhouette, so every beat plays out within the brand mark itself.++### The storyboard++1. **The pain conveyor** — "Raw SQL strings" / "No autocomplete" / "Schema drift", each arriving from the right, holding alone, exiting left.+2. **The reveal** — a beam of white light strikes the prism outline, an indigo-to-teal spectrum fan swallows the scene, and the official mark draws itself on: contour first, fill rising, then the wordmark docks in glyph by glyph.+3. **What it is** — the homepage's own words, "Agent infrastructure for TypeScript", assembling word by word.+4. **The mechanism** — the one idea the product rests on, acted out: `schema.prisma` cascades line by line, `npx prisma generate` flashes, and the generated client appears with the `: User[]` inlay hint popping in — the guarantee shown the way your editor shows it.+5. **The montage** — five stations whip-panning left: a live autocomplete menu fed by the schema, two model cards with the relation curve drawing itself, a migration applying, the provider value flipping through five databases, and a Studio table populating and saving a record.+6. **The platform** — "Start with the ORM / Add Postgres when you need it / Deploy on Compute."+7. **The proof** — a counter easing into the real GitHub star count.+8. **The action** — a terminal types the real `npx prisma init` / `npx prisma generate` flow with the CLI's real answers, then yields to "Start at prisma.io".+9. **The lockup** — the field opens to full brightness — the smoke the whole video lived inside, finally seen at scale — and the official lockup stands alone.++### Director's notes++**Tokens come from the live stylesheet, not from memory.** The canvas, the ink, the indigo ramp, the Postgres teal — all lifted from prisma.io's CSS the day the video was built. Even the code cards run Prisma's own editor theme. A brand video that eyeballs its colors is off by exactly enough to feel wrong.++**One branded transition, used exactly twice.** The refraction — light strikes the prism, the spectrum fan opens, folds back, and the refracting element *becomes* the logo — appears at the opening turn and the final stamp, nowhere else. A signature move you repeat five times stops being a signature.++**Nothing appears without a direction.** Enumeration always travels left: the pain conveyor, the five montage stations, content arriving from the right and decelerating. Narrative turns dive into the frame; calm shifts crossfade. When every scene obeys the same grammar, forty-six seconds feel composed instead of assembled.++### The prompt++The brief, as a prompt (validated against a clean project + the [remocn skill](/docs/ai/agent-skill) before publishing):++```text+I'm making an unofficial launch video for Prisma with remocn (remocn.dev)+in a Remotion project — install anything you need with+`npx shadcn add @remocn/<name>`.++Build a ~46-second, 1280×720, 30fps introducing spot:++1. Pain conveyor — "Raw SQL strings" / "No autocomplete" / "Schema drift",+ each arriving from the right, holding alone, exiting left.+2. Reveal — a beam of light strikes the prism outline, an indigo-to-teal+ spectrum fan swallows the scene, and the official Prisma mark draws+ itself on — contour first, fill rising — then the wordmark docks in+ glyph by glyph.+3. What it is — "Agent infrastructure for TypeScript" assembling word by+ word.+4. Mechanism — "Define once — generate the client": schema.prisma cascades+ line by line, `npx prisma generate` flashes, and the generated client+ appears with a `: User[]` editor inlay hint.+5. Montage — five whip-pan stations traveling left: a live autocomplete+ menu fed by the schema, two model cards with the @relation curve+ drawing itself, a migration applying, the provider value flipping+ through five databases, and a Studio table populating and saving a+ record.+6. Platform — "Start with the ORM / Add Postgres when you need it /+ Deploy on Compute" stacking as a block.+7. Proof — a counter easing into the real GitHub star count, verified the+ day you build.+8. Action — a terminal types the real `npx prisma init` and+ `npx prisma generate` flow with the CLI's real answers, yielding to+ "Start at prisma.io".+9. Lockup — the official mark alone as the background field opens to full+ brightness.++Style: tokens lifted from prisma.io's live stylesheet — #131420 canvas,+#f9fafb ink, the indigo ramp and the Postgres teal; Inter everywhere,+Geist Mono for code; Prisma's own editor theme on every code card. The+whole video lives inside the brand — a gem-smoke shader field masked to+the prism silhouette carries everything, brightening for the reveal and+the outro, dimming under code. The refraction transition appears exactly+twice: the opening turn and the final stamp. Enumeration always travels+left; nothing appears without a direction. Use the official press-kit+logo paths, never redraw them.+```++### Make one for your product++The generic recipe is [Launch video](/docs/guides/launch-video); the brand-matching trick — pointing your agent at your own tokens — is [Your brand](/docs/guides/your-brand).diff --git a/content/blog/shadcn-launch-video.mdx b/content/blog/shadcn-launch-video.mdxnew file mode 100644index 00000000..c8c7b2e2--- /dev/null+++ b/content/blog/shadcn-launch-video.mdx@@ -0,0 +1,75 @@+---+title: How we built shadcn a launch video+description: A gift video for shadcn/ui where the hook is the product itself — real components rendered live+date: 2026-07-22+video: https://cdn.remocn.dev/videos/introducing-shadcn.mp4+videoPoster: https://cdn.remocn.dev/posters/introducing-shadcn.png+---++This one is a gift — an introducing spot for shadcn/ui made by a fan, not the owner. Fifty-five seconds, and by the end the viewer should know one thing: shadcn/ui is not a component library, it's how you build your own. remocn exists because of the shadcn model, so this video is also a thank-you note.++### The storyboard++1. **The component field** — a camera glide across a dense wall of real shadcn/ui components, installed from the registry and rendered live. No text for seven seconds. The product is the spectacle.+2. **The name** — "This is shadcn/ui" resolves alone, then the tagline gets its own beat.+3. **The creed** — two beats: "Not a component library" holds solo, then "How you build your own" assembles word by word. The negation creates the question; the next beat answers it.+4. **The montage** — four hard cuts, each a label plus live UI proving it: Blocks (a sidebar block assembling itself), Charts (a bar chart drawing live), Themes (a card hard-flipping dark → light → dark), Colors (the full Tailwind palette sweeping in as a wave).+5. **The pillars** — three claims stack as a block: accessible, composable, open code.+6. **The mechanism** — `npx shadcn add button` types itself, then the component name flips through the registry like a rolodex.+7. **The preset story** — the ui.shadcn.com/create builder flips Style, Base Color, Theme, and Font while a live sign-in card reshapes; the choices condense into one preset code; the code flips and the same installed components re-theme live. "Switch it any time."+8. **The ownership line** — "And the code is yours."+9. **The proof** — a count slams into 1,000,000 apps a month, a whip-pan carries into Startups / YC / Fortune 500s, and the kicker lands: "Everyone needs UI."+10. **The lockup** — a muted smoke ring, the name, "Open Source. Open Code." No URL anywhere. It's a gift, not an ad.++### Director's notes++**The hook is the product, not an illustration of it.** The opening wall and the category montage are real shadcn/ui components running live inside the video pipeline (Tailwind enabled in Remotion). Recognition does the persuading — you have met these cards in the wild.++**Color lives only where the brand allows it.** The video is monochrome — zinc-950, ink, Geist at regular weight only, nothing bolder anywhere. The only color in the whole piece sits inside the shader covers between scenes, and even that was sampled from shadcn's X avatar and heavily muted. Restraint is the brand.++**Every line is its own beat.** No headline ever carries a subtitle. A statement lands alone, plays its exit, and yields. That single rule is most of why the typography feels calm at fifty-five seconds.++### The prompt++The brief, as a prompt (validated against a clean project + the [remocn skill](/docs/ai/agent-skill) before publishing):++```text+I'm making a gift video introducing shadcn/ui with remocn (remocn.dev) —+an unofficial spot made by a fan — in a Remotion project with Tailwind+enabled. Install anything you need with `npx shadcn add @remocn/<name>`.++Build a ~55-second, 1280×720, 30fps cut:++1. Hook — a camera glide across a dense wall of REAL shadcn/ui components+ installed from the registry and rendered live. No text; the product is+ the spectacle.+2. Name — "This is shadcn/ui" resolves alone, then "Beautifully designed+ components" as its own beat.+3. Creed — two beats: "Not a component library" solo, then "How you build+ your own" assembling word by word (kinetic-center-build).+4. Montage — four hard cuts, each a label plus live UI proving it:+ Blocks, Charts, Themes, Colors.+5. Pillars — "Accessible by default / Composable by design / Open code,+ always" stacking line by line (line-by-line-slide).+6. Mechanism — `npx shadcn add button` types itself, then the component+ name rolodex-flips through the registry.+7. Presets — the ui.shadcn.com/create builder flips Style, Base Color,+ Theme and Font while a live sign-in card reshapes; the choices condense+ into a preset code; `npx shadcn init --preset <code>` re-themes the+ same components on every code flip; then "Switch it any time."+8. Ownership — "And the code is yours."+9. Proof — a count slams into 1,000,000 ("apps every month"), whip-pan+ into "Startups. YC. Fortune 500s.", then the kicker: "Everyone needs UI."+10. Lockup — a muted smoke ring, "shadcn/ui", "Open Source. Open Code."+ No URL anywhere.++Style: zinc-950 canvas, #fafafa ink, Geist at regular weight only,+monochrome throughout. The only color lives inside the shader covers+between scenes — muted plum, navy, dusty rose — nothing bright. One quiet+simplex-noise field carries the whole video. Every line gets its own+beat — never a subtitle under a headline.+```++### Make one for your product++Same anatomy, your words: [Launch video](/docs/guides/launch-video). For the lines themselves, [Words on screen](/docs/guides/words-on-screen) is the cheat sheet.diff --git a/lib/blog.ts b/lib/blog.tsnew file mode 100644index 00000000..24666798--- /dev/null+++ b/lib/blog.ts@@ -0,0 +1,10 @@+export const blogDateFormatter = new Intl.DateTimeFormat("en-US", {+ timeZone: "UTC",+ year: "numeric",+ month: "long",+ day: "numeric",+});++export function blogSlug(post: { info: { path: string } }): string {+ return post.info.path.replace(/\.mdx$/, "");+}diff --git a/source.config.ts b/source.config.tsindex 9a4ab486..9417b159 100644--- a/source.config.ts+++ b/source.config.ts@@ -32,6 +32,18 @@ export const changelog = defineCollections({}),});+export const blog = defineCollections({+ type: "doc",+ dir: "content/blog",+ schema: z.object({+ title: z.string(),+ description: z.string(),+ date: z.date(),+ video: z.url().optional(),+ videoPoster: z.url().optional(),+ }),+});+const transformers: ShikiTransformer[] = [{code(node) {