Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: remove bg
dev_wandry82189f805a56
diff --git a/content/docs/ai/claude-chat.mdx b/content/docs/ai/claude-chat.mdxindex 6132e7c9..2d7a74c4 100644--- a/content/docs/ai/claude-chat.mdx+++ b/content/docs/ai/claude-chat.mdx@@ -30,8 +30,6 @@ const ClaudeChatScene = () => (modelName="Opus 4.8"modelTier="Max"accentColor="#D97757"- theme="light"- background="surface"speed={1}/>);@@ -52,7 +50,7 @@ Timeline: card + greeting ease in (0–16), default state with blinking caret ho### With Backdrop-Pair with `Backdrop` to add a full-frame fill and a polished content frame around the card — pass `background="transparent"` so `ClaudeChat` does not render its own background:+The component renders transparent by default — supply the background via `Backdrop`. It ships single-theme; edit the copied file to re-theme colors.```tsximport { Composition } from "remotion";@@ -64,7 +62,6 @@ const ClaudeChatScene = () => (<ClaudeChatgreeting="Back at it, Dima"prompt="Draft a launch tweet for our new release"- background="transparent"/></Backdrop>);@@ -121,18 +118,6 @@ export const RemotionRoot = () => (default: "\"#D97757\"",description: "Terracotta accent used for the sunburst and send button",},- {- name: "theme",- type: "\"light\" | \"dark\"",- default: "\"light\"",- description: "Warm light or dark color theme",- },- {- name: "background",- type: "\"surface\" | \"transparent\"",- default: "\"surface\"",- description: "Page background fill or transparent",- },{name: "speed",type: "number",diff --git a/content/docs/transitions/device-mockup-zoom.mdx b/content/docs/transitions/device-mockup-zoom.mdxindex a1287f3b..cc992f1a 100644--- a/content/docs/transitions/device-mockup-zoom.mdx+++ b/content/docs/transitions/device-mockup-zoom.mdx@@ -36,7 +36,7 @@ export const RemotionRoot = () => (### With Backdrop-Pair with `Backdrop` to add a full-frame fill behind the device — pass `background` as `"transparent"` (or omit it) so `DeviceMockupZoom` does not render its own outer color:+The component renders transparent by default — supply the background via `Backdrop`:```tsximport { Composition } from "remotion";@@ -45,7 +45,7 @@ import { Backdrop } from "@/components/remocn/backdrop";const DeviceMockupZoomScene = () => (<Backdrop fill={{ type: "color", value: "#f5f5f5" }}>- <DeviceMockupZoom background="transparent">+ <DeviceMockupZoom><YourAppScreen /></DeviceMockupZoom></Backdrop>@@ -90,12 +90,6 @@ export const RemotionRoot = () => (default: '"#0a0a0a"',description: "Background color shown behind the screen content",},- {- name: "background",- type: "string",- default: '"transparent"',- description: "Outer background color; transparent by default so a Backdrop can supply the fill",- },{name: "className",type: "string",diff --git a/content/docs/typography/blur-reveal.mdx b/content/docs/typography/blur-reveal.mdxindex fb9e939b..eafb2bdd 100644--- a/content/docs/typography/blur-reveal.mdx+++ b/content/docs/typography/blur-reveal.mdx@@ -34,6 +34,8 @@ export const RemotionRoot = () => (### With Backdrop+The component renders transparent — supply the background via `Backdrop`. It ships single-theme; edit the copied file to re-theme colors.+Pair with `Backdrop` to place the text inside a full-frame fill with a rounded, shadowed content frame:```tsxdiff --git a/registry/remocn/claude-chat/config.ts b/registry/remocn/claude-chat/config.tsindex 620acfeb..15491119 100644--- a/registry/remocn/claude-chat/config.ts+++ b/registry/remocn/claude-chat/config.ts@@ -18,18 +18,6 @@ export const claudeChatConfig: ComponentConfig = {modelName: { type: "text", default: "Opus 4.8", label: "Model" },modelTier: { type: "text", default: "Max", label: "Tier" },accentColor: { type: "color", default: "#D97757", label: "Accent" },- theme: {- type: "select",- default: "light",- options: ["light", "dark"],- label: "Theme",- },- background: {- type: "select",- default: "transparent",- options: ["surface", "transparent"],- label: "Background",- },},durationInFrames: 150,fps: FPS,diff --git a/registry/remocn/claude-chat/index.tsx b/registry/remocn/claude-chat/index.tsxindex 1ef7887f..4f6510c3 100644--- a/registry/remocn/claude-chat/index.tsx+++ b/registry/remocn/claude-chat/index.tsx@@ -21,8 +21,6 @@ export interface ClaudeChatProps {modelName?: string;modelTier?: string;accentColor?: string;- theme?: "light" | "dark";- background?: "surface" | "transparent";speed?: number;}@@ -228,13 +226,11 @@ export function ClaudeChat({modelName = "Opus 4.8",modelTier = "Max",accentColor = "#D97757",- theme = "light",- background = "transparent",speed = 1,}: ClaudeChatProps) {const frame = useCurrentFrame();const { width, height, fps } = useVideoConfig();- const t = THEMES[theme] ?? THEMES.light;+ const t = THEMES.light;const refW = 1280;const refH = 720;@@ -252,15 +248,13 @@ export function ClaudeChat({const intro = introBounceIn(frame * speed, fps);const cardFade = fadeUpAt(frame * speed, [6, 22]);- const pageBg = background === "transparent" ? "transparent" : t.page;-const cardWidth = 860;const cardLeft = (refW - cardWidth) / 2;const iconBtnSize = 36;const morphSize = 40;return (- <AbsoluteFill style={{ background: pageBg }}>+ <AbsoluteFill style={{ background: "transparent" }}><divstyle={{position: "absolute",@@ -280,10 +274,7 @@ export function ClaudeChat({background: t.cardBg,border: `1px solid ${t.cardBorder}`,borderRadius: 24,- boxShadow:- theme === "light"- ? "0 8px 30px -12px rgba(31,30,29,0.12)"- : "0 8px 30px -12px rgba(0,0,0,0.5)",+ boxShadow: "0 8px 30px -12px rgba(31,30,29,0.12)",opacity: cardFade.opacity,transform: `translateY(${cardFade.translateY + intro.translateY}px) scale(${intro.scale})`,transformOrigin: "center top",diff --git a/registry/remocn/device-mockup-zoom/index.tsx b/registry/remocn/device-mockup-zoom/index.tsxindex 42968a20..b8d261c3 100644--- a/registry/remocn/device-mockup-zoom/index.tsx+++ b/registry/remocn/device-mockup-zoom/index.tsx@@ -8,7 +8,6 @@ export interface DeviceMockupZoomProps {device?: "laptop" | "phone";frameColor?: string;screenColor?: string;- background?: string;speed?: number;className?: string;}@@ -43,7 +42,6 @@ export function DeviceMockupZoom({device = "laptop",frameColor = "#1f1f1f",screenColor = "#0a0a0a",- background = "transparent",speed = 1,className,}: DeviceMockupZoomProps) {@@ -63,7 +61,6 @@ export function DeviceMockupZoom({style={{position: "absolute",inset: 0,- background,display: "flex",alignItems: "center",justifyContent: "center",