Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added backdrop component
dev_wandry74f2c0be3756
diff --git a/components/docs/component-preview.tsx b/components/docs/component-preview.tsxindex 16313727..ec7578ad 100644--- a/components/docs/component-preview.tsx+++ b/components/docs/component-preview.tsx@@ -124,6 +124,7 @@ function Preview({fps={config.fps}compositionWidth={config.compositionWidth}compositionHeight={config.compositionHeight}+ previewBackdrop={config.previewBackdrop}/></TabsContent>diff --git a/components/docs/examples/backdrop-demo.tsx b/components/docs/examples/backdrop-demo.tsxnew file mode 100644index 00000000..433f3f07--- /dev/null+++ b/components/docs/examples/backdrop-demo.tsx@@ -0,0 +1,56 @@+"use client";++import { type BackdropFill, Backdrop } from "@/registry/remocn/backdrop";++export interface BackdropDemoProps {+ fillType?: "color" | "gradient" | "image";+ color?: string;+ gradient?: string;+ image?: string;+ padding?: number;+ radius?: number;+ shadow?: string;+}++export function BackdropDemo({+ fillType = "gradient",+ color = "#6366f1",+ gradient = "linear-gradient(135deg, #6366f1 0%, #a855f7 100%)",+ image = "https://picsum.photos/1280/720",+ padding = 4,+ radius = 1,+ shadow = "0 20px 60px rgba(0,0,0,0.4)",+}: BackdropDemoProps) {+ const fill: BackdropFill =+ fillType === "color"+ ? { type: "color", value: color }+ : fillType === "image"+ ? { type: "image", src: image }+ : { type: "gradient", value: gradient };++ return (+ <Backdrop+ fill={fill}+ padding={padding}+ radius={radius}+ shadow={shadow}+ >+ <div+ style={{+ width: "100%",+ height: "100%",+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ background: "#0f0f12",+ color: "#e5e5e5",+ fontFamily: "system-ui, sans-serif",+ fontSize: 48,+ fontWeight: 600,+ }}+ >+ Your content+ </div>+ </Backdrop>+ );+}diff --git a/components/docs/examples/backdrop-variants.tsx b/components/docs/examples/backdrop-variants.tsxnew file mode 100644index 00000000..82d1400d--- /dev/null+++ b/components/docs/examples/backdrop-variants.tsx@@ -0,0 +1,100 @@+"use client";++import { Backdrop } from "@/registry/remocn/backdrop";+import { MeshGradientBg } from "@/registry/remocn/mesh-gradient-bg";++function DemoContent() {+ return (+ <div+ style={{+ width: "100%",+ height: "100%",+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ background: "#0f0f12",+ color: "#e5e5e5",+ fontFamily: "system-ui, sans-serif",+ fontSize: 48,+ fontWeight: 600,+ }}+ >+ Your content+ </div>+ );+}++function TransparentDemoContent() {+ return (+ <div+ style={{+ width: "100%",+ height: "100%",+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ background: "transparent",+ color: "#fff",+ fontFamily: "system-ui, sans-serif",+ fontSize: 48,+ fontWeight: 600,+ }}+ >+ Your content+ </div>+ );+}++export const BackdropColorScene = () => (+ <Backdrop fill={{ type: "color", value: "#6366f1" }} shadow="0" padding={0}>+ <TransparentDemoContent />+ </Backdrop>+);++export const BackdropGradientScene = () => (+ <Backdrop+ fill={{+ type: "gradient",+ value: "linear-gradient(135deg, #6366f1 0%, #a855f7 100%)",+ }}+ >+ <DemoContent />+ </Backdrop>+);++export const BackdropImageScene = () => (+ <Backdrop fill={{ type: "image", src: "https://picsum.photos/1280/720" }}>+ <DemoContent />+ </Backdrop>+);++export const BackdropLiveScene = () => (+ <Backdrop fill={<MeshGradientBg />} shadow="0" padding={0}>+ <TransparentDemoContent />+ </Backdrop>+);++export const backdropColorCode = `import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "color", value: "#0a0a0a" }} shadow="0" padding={0}>+ <YourScene />+</Backdrop>`;++export const backdropGradientCode = `import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "gradient", value: "linear-gradient(135deg, #6366f1 0%, #a855f7 100%)" }}>+ <YourScene />+</Backdrop>`;++export const backdropImageCode = `import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "image", src: "/bg.jpg" }}>+ <YourScene />+</Backdrop>`;++export const backdropLiveCode = `import { Backdrop } from "@/components/remocn/backdrop";+import { MeshGradientBg } from "@/components/remocn/mesh-gradient-bg";++<Backdrop fill={<MeshGradientBg />} shadow="0" padding={0}>+ <YourScene />+</Backdrop>`;diff --git a/components/docs/examples/blocks/index.tsx b/components/docs/examples/blocks/index.tsxindex b78ca13d..8b97e2c7 100644--- a/components/docs/examples/blocks/index.tsx+++ b/components/docs/examples/blocks/index.tsx@@ -20,6 +20,16 @@ import {SettingsToggleFlowExampleScene,settingsToggleFlowExampleCode,} from "../settings-toggle-flow-example";+import {+ BackdropColorScene,+ BackdropGradientScene,+ BackdropImageScene,+ BackdropLiveScene,+ backdropColorCode,+ backdropGradientCode,+ backdropImageCode,+ backdropLiveCode,+} from "../backdrop-variants";/*** Blocks scene registry — parallel to the ui-tier `examples` map@@ -97,6 +107,38 @@ export const blockExamples: Record<string, BlockExampleEntry> = {width: W,height: H,},+ "backdrop-color": {+ Component: BackdropColorScene,+ code: backdropColorCode,+ durationInFrames: 90,+ fps: FPS,+ width: W,+ height: H,+ },+ "backdrop-gradient": {+ Component: BackdropGradientScene,+ code: backdropGradientCode,+ durationInFrames: 90,+ fps: FPS,+ width: W,+ height: H,+ },+ "backdrop-image": {+ Component: BackdropImageScene,+ code: backdropImageCode,+ durationInFrames: 90,+ fps: FPS,+ width: W,+ height: H,+ },+ "backdrop-live": {+ Component: BackdropLiveScene,+ code: backdropLiveCode,+ durationInFrames: 150,+ fps: FPS,+ width: W,+ height: H,+ },};/**@@ -115,6 +157,10 @@ export const BLOCK_SCENE_META: Record<"checkout-flow": { code: checkoutFlowExampleCode },"onboarding-stepper-flow": { code: onboardingStepperFlowExampleCode },"settings-toggle-flow": { code: settingsToggleFlowExampleCode },+ "backdrop-color": { code: backdropColorCode },+ "backdrop-gradient": { code: backdropGradientCode },+ "backdrop-image": { code: backdropImageCode },+ "backdrop-live": { code: backdropLiveCode },};// Re-export so block entries can reference the shared timing constants withoutdiff --git a/content/docs/ai/claude-chat.mdx b/content/docs/ai/claude-chat.mdxindex cd3c964b..6132e7c9 100644--- a/content/docs/ai/claude-chat.mdx+++ b/content/docs/ai/claude-chat.mdx@@ -50,6 +50,37 @@ export const RemotionRoot = () => (Timeline: card + greeting ease in (0–16), default state with blinking caret holds (16–42), the prompt types in from frame 42, and the waveform button morphs into the terracotta send button the instant text appears, then holds to the end.+### 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:++```tsx+import { Composition } from "remotion";+import { ClaudeChat } from "@/components/remocn/claude-chat";+import { Backdrop } from "@/components/remocn/backdrop";++const ClaudeChatScene = () => (+ <Backdrop fill={{ type: "gradient", value: "linear-gradient(135deg, #f5f0eb, #ede8e3)" }}>+ <ClaudeChat+ greeting="Back at it, Dima"+ prompt="Draft a launch tweet for our new release"+ background="transparent"+ />+ </Backdrop>+);++export const RemotionRoot = () => (+ <Composition+ id="ClaudeChat"+ component={ClaudeChatScene}+ durationInFrames={150}+ fps={30}+ width={1280}+ height={720}+ />+);+```+## Props<PropsTablediff --git a/content/docs/layout/backdrop.mdx b/content/docs/layout/backdrop.mdxnew file mode 100644index 00000000..0ebaa419--- /dev/null+++ b/content/docs/layout/backdrop.mdx@@ -0,0 +1,194 @@+---+title: Backdrop+description: Full-frame fill with an optional rounded, shadowed content frame — accepts a color, gradient, image, or any React element as a live animated background+---++<ComponentPreview name="backdrop" />++## Installation++<InstallBlock name="backdrop" />++## Usage++Solid color fill with a content frame:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "color", value: "#0f0f0f" }}>+ <YourScene />+</Backdrop>+```++Gradient fill:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "gradient", value: "linear-gradient(135deg, #6366f1, #a855f7)" }}>+ <YourScene />+</Backdrop>+```++Image fill using Remotion's `<Img>` (CORS-safe for MP4 export):++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "image", src: "https://example.com/bg.jpg", fit: "cover" }}>+ <YourScene />+</Backdrop>+```++Live animated React element as the fill:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";+import { MeshGradientBg } from "@/components/remocn/mesh-gradient-bg";++<Backdrop fill={<MeshGradientBg />}>+ <YourScene />+</Backdrop>+```++Custom padding, radius, and shadow:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop+ fill={{ type: "color", value: "#18181b" }}+ padding={6}+ radius={2}+ shadow="0 32px 80px rgba(0,0,0,0.6)"+>+ <YourScene />+</Backdrop>+```++Disable shadow:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop fill={{ type: "color", value: "#fff" }} shadow="">+ <YourScene />+</Backdrop>+```++## Fill variants++Each `fill` type renders differently — pick the one that fits your scene.++### Color++<BlockPreview name="backdrop-color" />++### Gradient++<BlockPreview name="backdrop-gradient" />++### Image++<BlockPreview name="backdrop-image" />++### Live background++Any React element as fill, e.g. `<MeshGradientBg />`.++<BlockPreview name="backdrop-live" />++## Background only++When no children are passed, the content frame is not rendered — the fill covers the full composition bleed with no inset, rounding, or shadow.++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++// full-bleed fill, no frame+<Backdrop fill={{ type: "gradient", value: "linear-gradient(135deg, #6366f1, #a855f7)" }} />++// or a live animated background as the fill+<Backdrop fill={<MeshGradientBg />} />+```++To render content edge-to-edge without any decorative frame, pass children but zero out padding, radius, and shadow:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop+ fill={{ type: "image", src: "/bg.jpg" }}+ padding={0}+ radius={0}+ shadow=""+>+ <YourScene />+</Backdrop>+```++## Props++<PropsTable+ rows={[+ {+ name: "fill",+ type: "BackdropFill | ReactNode",+ default: "undefined",+ description: "The background layer. Pass a BackdropFill object ({ type: \"color\" | \"gradient\" | \"image\", ... }) for static fills, or any React element (e.g. <MeshGradientBg />) to render a live animated background.",+ },+ {+ name: "padding",+ type: "number",+ default: "4",+ description: "Inset of the content frame as a percentage of the composition width. Scales automatically across 720p, 1080p, and 4K.",+ },+ {+ name: "radius",+ type: "number",+ default: "1",+ description: "Corner radius of the content frame as a percentage of the composition width. Scales automatically across resolutions.",+ },+ {+ name: "shadow",+ type: "string",+ default: "\"0 20px 60px rgba(0,0,0,0.4)\"",+ description: "CSS box-shadow applied to the content frame. Pass an empty string to disable the shadow.",+ },+ {+ name: "children",+ type: "ReactNode",+ default: "undefined",+ description: "Content rendered inside the rounded, shadowed frame. When omitted, only the fill is shown full-bleed.",+ },+ {+ name: "className",+ type: "string",+ default: "undefined",+ description: "Additional class names applied to the outer full-frame container.",+ },+ ]}+/>++### BackdropFill shape++<PropsTable+ rows={[+ {+ name: "type: \"color\"",+ type: "{ type: \"color\"; value: string }",+ description: "Solid CSS color value (hex, hsl, oklch, etc.) applied as the background.",+ },+ {+ name: "type: \"gradient\"",+ type: "{ type: \"gradient\"; value: string }",+ description: "Any CSS gradient string (linear-gradient, radial-gradient, conic-gradient) applied as the background.",+ },+ {+ name: "type: \"image\"",+ type: "{ type: \"image\"; src: string; fit?: \"cover\" | \"contain\" }",+ description: "Image rendered via Remotion's <Img> (CORS-safe for MP4 export). fit defaults to \"cover\".",+ },+ ]}+/>diff --git a/content/docs/layout/index.mdx b/content/docs/layout/index.mdxnew file mode 100644index 00000000..a37c60c6--- /dev/null+++ b/content/docs/layout/index.mdx@@ -0,0 +1,17 @@+---+title: Layout+description: Scene framing and fill components for Remotion compositions+---++Layout primitives that handle full-frame fills, content framing, and padding — the structural layer every Remotion composition needs before adding animation.++<ComponentCardGrid+ items={[+ {+ name: "Backdrop",+ description: "Full-frame fill (color, gradient, image, or live animated React element) with an optional rounded, shadowed content frame inset by padding",+ status: "stable",+ href: "/docs/layout/backdrop",+ },+ ]}+/>diff --git a/content/docs/layout/meta.json b/content/docs/layout/meta.jsonnew file mode 100644index 00000000..2668cced--- /dev/null+++ b/content/docs/layout/meta.json@@ -0,0 +1,5 @@+{+ "title": "Layout",+ "collapsible": false,+ "pages": ["index", "backdrop"]+}diff --git a/content/docs/meta.json b/content/docs/meta.jsonindex c3a53c0b..8ebd6984 100644--- a/content/docs/meta.json+++ b/content/docs/meta.json@@ -2,6 +2,7 @@"title": "Documentation","pages": ["getting-started",+ "layout","typography","ui","environment",diff --git a/content/docs/transitions/device-mockup-zoom.mdx b/content/docs/transitions/device-mockup-zoom.mdxindex fe024781..a1287f3b 100644--- a/content/docs/transitions/device-mockup-zoom.mdx+++ b/content/docs/transitions/device-mockup-zoom.mdx@@ -17,7 +17,38 @@ import { Composition } from "remotion";import { DeviceMockupZoom } from "@/components/remocn/device-mockup-zoom";const DeviceMockupZoomScene = () => (- <YourAppScreen />+ <DeviceMockupZoom>+ <YourAppScreen />+ </DeviceMockupZoom>+);++export const RemotionRoot = () => (+ <Composition+ id="DeviceMockupZoom"+ component={DeviceMockupZoomScene}+ durationInFrames={120}+ fps={30}+ width={1280}+ height={720}+ />+);+```++### 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:++```tsx+import { Composition } from "remotion";+import { DeviceMockupZoom } from "@/components/remocn/device-mockup-zoom";+import { Backdrop } from "@/components/remocn/backdrop";++const DeviceMockupZoomScene = () => (+ <Backdrop fill={{ type: "color", value: "#f5f5f5" }}>+ <DeviceMockupZoom background="transparent">+ <YourAppScreen />+ </DeviceMockupZoom>+ </Backdrop>);export const RemotionRoot = () => (@@ -62,8 +93,8 @@ export const RemotionRoot = () => ({name: "background",type: "string",- default: '"#fafafa"',- description: "Outer background color",+ default: '"transparent"',+ description: "Outer background color; transparent by default so a Backdrop can supply the fill",},{name: "className",diff --git a/content/docs/typography/blur-reveal.mdx b/content/docs/typography/blur-reveal.mdxindex 1d0cfda5..fb9e939b 100644--- a/content/docs/typography/blur-reveal.mdx+++ b/content/docs/typography/blur-reveal.mdx@@ -32,6 +32,33 @@ export const RemotionRoot = () => ();```+### With Backdrop++Pair with `Backdrop` to place the text inside a full-frame fill with a rounded, shadowed content frame:++```tsx+import { Composition } from "remotion";+import { BlurReveal } from "@/components/remocn/blur-reveal";+import { Backdrop } from "@/components/remocn/backdrop";++const BlurRevealScene = () => (+ <Backdrop fill={{ type: "color", value: "#ffffff" }}>+ <BlurReveal text="Hello, world" blur={12} fontSize={72} />+ </Backdrop>+);++export const RemotionRoot = () => (+ <Composition+ id="BlurReveal"+ component={BlurRevealScene}+ durationInFrames={90}+ fps={30}+ width={1280}+ height={720}+ />+);+```+## Props<PropsTablediff --git a/lib/customizer-config.ts b/lib/customizer-config.tsindex dba6d077..91a107ff 100644--- a/lib/customizer-config.ts+++ b/lib/customizer-config.ts@@ -1,3 +1,5 @@+import type { BackdropFill } from "@/registry/remocn/backdrop";+export type ControlType =| { type: "text"; default: string; label: string }| {@@ -36,6 +38,7 @@ export interface ComponentConfig {* preview-only props). Components without it keep the default path.*/snippet?: (values: Record<string, unknown>) => string;+ previewBackdrop?: BackdropFill;}export const FPS = 30;diff --git a/lib/ui-preview-internals.tsx b/lib/ui-preview-internals.tsxindex 73fef74d..cab0a206 100644--- a/lib/ui-preview-internals.tsx+++ b/lib/ui-preview-internals.tsx@@ -8,7 +8,9 @@ import {parseAsString,parseAsStringLiteral,} from "nuqs";-import { useEffect, useRef, useState } from "react";+import { useEffect, useMemo, useRef, useState } from "react";+import type { BackdropFill } from "@/registry/remocn/backdrop";+import { Backdrop } from "@/registry/remocn/backdrop";import type { ControlConfig } from "@/lib/customizer-config";import { usePrefersReducedMotion } from "@/lib/use-prefers-reduced-motion";import { cn } from "@/lib/utils";@@ -70,6 +72,7 @@ export function PreviewStage({fps,compositionWidth,compositionHeight,+ previewBackdrop,}: {name: string;Component: React.ComponentType<any>;@@ -78,6 +81,7 @@ export function PreviewStage({fps: number;compositionWidth: number;compositionHeight: number;+ previewBackdrop?: BackdropFill;}) {const [mounted, setMounted] = useState(false);const frameRef = useRef<HTMLDivElement>(null);@@ -125,6 +129,16 @@ export function PreviewStage({};}, [mounted]);+ const Composition = useMemo(() => {+ if (!previewBackdrop) return Component;+ const Wrapped = (p: Record<string, unknown>) => (+ <Backdrop fill={previewBackdrop} padding={0} radius={0} shadow="">+ <Component {...p} />+ </Backdrop>+ );+ return Wrapped;+ }, [Component, previewBackdrop]);+return (<divref={frameRef}@@ -144,7 +158,7 @@ export function PreviewStage({><Playerref={playerRef}- component={Component}+ component={Composition}inputProps={inputProps}durationInFrames={durationInFrames}fps={fps}diff --git a/registry/__index__.tsx b/registry/__index__.tsxindex b65ffb66..310fc7e8 100644--- a/registry/__index__.tsx+++ b/registry/__index__.tsx@@ -179,6 +179,8 @@ import { Resizable } from "@/registry/remocn-ui/resizable";import { resizableConfig } from "@/registry/remocn-ui/resizable/config";import { ZoomThroughTransition } from "@/registry/remocn/zoom-through-transition";import { zoomThroughTransitionConfig } from "@/registry/remocn/zoom-through-transition/config";+import { BackdropDemo } from "@/components/docs/examples/backdrop-demo";+import { backdropConfig } from "@/registry/remocn/backdrop/config";export interface RegistryEntry {Component: React.ComponentType<any>;@@ -339,6 +341,7 @@ const registry: Record<string, RegistryEntry> = {config: xFollowersOverviewConfig,},"confetti": { Component: Confetti, config: confettiConfig },+ "backdrop": { Component: BackdropDemo, config: backdropConfig },"claude-chat": { Component: ClaudeChat, config: claudeChatConfig },"chat-gpt": { Component: ChatGpt, config: chatGptConfig },"v0": { Component: V0, config: v0Config },@@ -426,6 +429,11 @@ for (const { config } of Object.values(registry)) {config.controls = { ...config.controls, ...SHARED_CONTROLS };}+const backdrop = registry["backdrop"];+if (backdrop) {+ delete backdrop.config.controls.speed;+}+// github-stars must land its count-up exactly on the final frame. A speed < 1// would stop the shared progress driver short (the count never reaches the// total), so this component intentionally deviates from SHARED_CONTROLS anddiff --git a/registry/remocn/backdrop/config.ts b/registry/remocn/backdrop/config.tsnew file mode 100644index 00000000..2c4baf55--- /dev/null+++ b/registry/remocn/backdrop/config.ts@@ -0,0 +1,77 @@+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";++export const backdropConfig: ComponentConfig = {+ componentName: "Backdrop",+ importPath: "@/components/remocn/backdrop",+ controls: {+ fillType: {+ type: "select",+ default: "gradient",+ options: ["color", "gradient", "image"],+ label: "Fill type",+ },+ color: { type: "color", default: "#6366f1", label: "Color" },+ gradient: {+ type: "text",+ default: "linear-gradient(135deg, #6366f1 0%, #a855f7 100%)",+ label: "Gradient (CSS)",+ },+ image: {+ type: "text",+ default: "/hero.png",+ label: "Image URL",+ },+ padding: {+ type: "number",+ default: 4,+ min: 0,+ max: 12,+ step: 0.5,+ label: "Padding",+ },+ radius: {+ type: "number",+ default: 1,+ min: 0,+ max: 4,+ step: 0.25,+ label: "Radius",+ },+ shadow: {+ type: "text",+ default: "0 20px 60px rgba(0,0,0,0.4)",+ label: "Shadow",+ },+ },+ durationInFrames: 150,+ fps: FPS,+ compositionWidth: W,+ compositionHeight: H,+ snippet: (values) => {+ const fillType = values.fillType as string;+ const color = values.color as string;+ const gradient = values.gradient as string;+ const image = values.image as string;+ const padding = values.padding as number;+ const radius = values.radius as number;+ const shadow = values.shadow as string;++ const fill =+ fillType === "color"+ ? `{{ type: "color", value: "${color}" }}`+ : fillType === "image"+ ? `{{ type: "image", src: "${image}" }}`+ : `{{ type: "gradient", value: "${gradient}" }}`;++ return `import { Backdrop } from "@/components/remocn/backdrop";++<Backdrop+ fill=${fill}+ padding={${padding}}+ radius={${radius}}+ shadow="${shadow}"+>+ <YourContent />+</Backdrop>`;+ },+};diff --git a/registry/remocn/backdrop/index.tsx b/registry/remocn/backdrop/index.tsxnew file mode 100644index 00000000..a2eaef5e--- /dev/null+++ b/registry/remocn/backdrop/index.tsx@@ -0,0 +1,79 @@+"use client";++import { isValidElement, type ReactNode } from "react";+import { AbsoluteFill, Img, useVideoConfig } from "remotion";++export type BackdropFill =+ | { type: "color"; value: string }+ | { type: "gradient"; value: string }+ | { type: "image"; src: string; fit?: "cover" | "contain" };++export interface BackdropProps {+ fill?: BackdropFill | ReactNode;+ padding?: number;+ radius?: number;+ shadow?: string;+ children?: ReactNode;+ className?: string;+}++const DEFAULT_FILL: BackdropFill = { type: "color", value: "#0a0a0a" };++function FillLayer({ fill }: { fill: BackdropFill }) {+ if (fill.type === "image") {+ return (+ <AbsoluteFill>+ <Img+ src={fill.src}+ style={{+ width: "100%",+ height: "100%",+ objectFit: fill.fit ?? "cover",+ }}+ />+ </AbsoluteFill>+ );+ }++ return <AbsoluteFill style={{ background: fill.value }} />;+}++export function Backdrop({+ fill,+ padding = 4,+ radius = 1,+ shadow = "0 20px 60px rgba(0,0,0,0.4)",+ children,+ className,+}: BackdropProps) {+ const { width } = useVideoConfig();++ const paddingPx = (padding / 100) * width;+ const radiusPx = (radius / 100) * width;++ const fillLayer = isValidElement(fill) ? (+ <AbsoluteFill>{fill}</AbsoluteFill>+ ) : (+ <FillLayer fill={(fill as BackdropFill | undefined) ?? DEFAULT_FILL} />+ );++ return (+ <AbsoluteFill className={className}>+ {fillLayer}+ {children != null && (+ <div+ style={{+ position: "absolute",+ inset: paddingPx,+ overflow: "hidden",+ borderRadius: radiusPx,+ display: "flex",+ ...(shadow === "" ? {} : { boxShadow: shadow }),+ }}+ >+ <div style={{ width: "100%", height: "100%" }}>{children}</div>+ </div>+ )}+ </AbsoluteFill>+ );+}diff --git a/registry/remocn/blur-reveal/config.ts b/registry/remocn/blur-reveal/config.tsindex 52a13a26..a2049a76 100644--- a/registry/remocn/blur-reveal/config.ts+++ b/registry/remocn/blur-reveal/config.ts@@ -39,4 +39,5 @@ export const blurRevealConfig: ComponentConfig = {fps: FPS,compositionWidth: W,compositionHeight: H,+ previewBackdrop: { type: "color", value: "#ffffff" },};diff --git a/registry/remocn/blur-reveal/index.tsx b/registry/remocn/blur-reveal/index.tsxindex 51f61d0f..2c5f6836 100644--- a/registry/remocn/blur-reveal/index.tsx+++ b/registry/remocn/blur-reveal/index.tsx@@ -43,7 +43,7 @@ export function BlurReveal({display: "flex",alignItems: "center",justifyContent: "center",- background: "white",+ background: "transparent",}}><spandiff --git a/registry/remocn/claude-chat/config.ts b/registry/remocn/claude-chat/config.tsindex c8bbd3a9..620acfeb 100644--- a/registry/remocn/claude-chat/config.ts+++ b/registry/remocn/claude-chat/config.ts@@ -26,7 +26,7 @@ export const claudeChatConfig: ComponentConfig = {},background: {type: "select",- default: "surface",+ default: "transparent",options: ["surface", "transparent"],label: "Background",},@@ -35,4 +35,5 @@ export const claudeChatConfig: ComponentConfig = {fps: FPS,compositionWidth: W,compositionHeight: H,+ previewBackdrop: { type: "color", value: "#F5F4EF" },};diff --git a/registry/remocn/claude-chat/index.tsx b/registry/remocn/claude-chat/index.tsxindex c3a99682..1ef7887f 100644--- a/registry/remocn/claude-chat/index.tsx+++ b/registry/remocn/claude-chat/index.tsx@@ -229,7 +229,7 @@ export function ClaudeChat({modelTier = "Max",accentColor = "#D97757",theme = "light",- background = "surface",+ background = "transparent",speed = 1,}: ClaudeChatProps) {const frame = useCurrentFrame();diff --git a/registry/remocn/device-mockup-zoom/config.ts b/registry/remocn/device-mockup-zoom/config.tsindex ef2c3c5b..88fe2182 100644--- a/registry/remocn/device-mockup-zoom/config.ts+++ b/registry/remocn/device-mockup-zoom/config.ts@@ -12,10 +12,10 @@ export const deviceMockupZoomConfig: ComponentConfig = {},frameColor: { type: "color", default: "#1f1f1f", label: "Frame color" },screenColor: { type: "color", default: "#0a0a0a", label: "Screen color" },- background: { type: "color", default: "#fafafa", label: "Background" },},durationInFrames: 120,fps: FPS,compositionWidth: W,compositionHeight: H,+ previewBackdrop: { type: "color", value: "#fafafa" },};diff --git a/registry/remocn/device-mockup-zoom/index.tsx b/registry/remocn/device-mockup-zoom/index.tsxindex 3e4275af..42968a20 100644--- a/registry/remocn/device-mockup-zoom/index.tsx+++ b/registry/remocn/device-mockup-zoom/index.tsx@@ -43,7 +43,7 @@ export function DeviceMockupZoom({device = "laptop",frameColor = "#1f1f1f",screenColor = "#0a0a0a",- background = "#fafafa",+ background = "transparent",speed = 1,className,}: DeviceMockupZoomProps) {diff --git a/registry/remocn/registry.json b/registry/remocn/registry.jsonindex 8bde16a5..1a03547c 100644--- a/registry/remocn/registry.json+++ b/registry/remocn/registry.json@@ -8,7 +8,9 @@"type": "registry:component","title": "Blur Reveal","description": "Text fades in from a heavy blur into sharp focus.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "blur-reveal/index.tsx",@@ -22,8 +24,13 @@"type": "registry:component","title": "Typewriter","description": "Character-by-character text reveal with a deterministic blinking cursor.",- "dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],+ "dependencies": [+ "remotion"+ ],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/caret"+ ],"files": [{"path": "typewriter/index.tsx",@@ -37,7 +44,9 @@"type": "registry:component","title": "Inline Highlight","description": "Animates one word inside a sentence from a base color to a brand color.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "inline-highlight/index.tsx",@@ -51,7 +60,9 @@"type": "registry:component","title": "Strikethrough Replace","description": "Draws a strike line across old text then reveals new text in its place.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "strikethrough-replace/index.tsx",@@ -65,7 +76,9 @@"type": "registry:component","title": "Staggered Fade Up","description": "Words fade in and slide up one after another with a configurable delay.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "staggered-fade-up/index.tsx",@@ -79,7 +92,9 @@"type": "registry:component","title": "Masked Slide Reveal","description": "Words slide up out of an invisible horizontal mask, one after another.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "masked-slide-reveal/index.tsx",@@ -93,7 +108,9 @@"type": "registry:component","title": "Tracking In","description": "Letter-spacing collapses and blur clears with a springy motion.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "tracking-in/index.tsx",@@ -107,7 +124,9 @@"type": "registry:component","title": "Shimmer Sweep","description": "Light shine sweeps across muted text via background-clip:text.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "shimmer-sweep/index.tsx",@@ -121,7 +140,9 @@"type": "registry:component","title": "Marker Highlight","description": "Colored marker block draws behind a phrase as the text color shifts.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "marker-highlight/index.tsx",@@ -135,7 +156,9 @@"type": "registry:component","title": "Slot Machine Roll","description": "Vertical reel scrolls characters from one value to another.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "slot-machine-roll/index.tsx",@@ -149,7 +172,9 @@"type": "registry:component","title": "Matrix Decode","description": "Random scramble resolves left-to-right into the target text.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "matrix-decode/index.tsx",@@ -163,7 +188,9 @@"type": "registry:component","title": "RGB Glitch Text","description": "Three RGB-offset text copies jitter for a brief glitch window.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "rgb-glitch-text/index.tsx",@@ -177,7 +204,9 @@"type": "registry:component","title": "Infinite Marquee","description": "Seamlessly looping horizontal text strip with optional stroke style.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "infinite-marquee/index.tsx",@@ -191,7 +220,9 @@"type": "registry:component","title": "Mesh Gradient Background","description": "Living gradient with amorphous color blobs slowly drifting across the frame.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "mesh-gradient-bg/index.tsx",@@ -205,7 +236,9 @@"type": "registry:component","title": "Dynamic Grid","description": "Subtle moving grid background with configurable cell size and direction.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "dynamic-grid/index.tsx",@@ -219,7 +252,9 @@"type": "registry:component","title": "Simulated Cursor","description": "Animated mouse cursor moving between waypoints with click ripple feedback.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "simulated-cursor/index.tsx",@@ -233,7 +268,9 @@"type": "registry:component","title": "Directional Wipe","description": "Slide one scene in while pushing the other out.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "directional-wipe/index.tsx",@@ -247,7 +284,9 @@"type": "registry:component","title": "Device Mockup Zoom","description": "Pull back from a UI to reveal it inside a device frame.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "device-mockup-zoom/index.tsx",@@ -261,7 +300,9 @@"type": "registry:component","title": "Zoom Through Transition","description": "Aggressively scale into the center of an element.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "zoom-through-transition/index.tsx",@@ -275,7 +316,9 @@"type": "registry:component","title": "Chat to Preview Layout","description": "Two-column layout where chat shrinks and preview expands.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "chat-to-preview-layout/index.tsx",@@ -289,7 +332,9 @@"type": "registry:component","title": "Animated Line Chart","description": "Line chart whose SVG path draws on from left to right with a leading dot.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "animated-line-chart/index.tsx",@@ -303,7 +348,9 @@"type": "registry:component","title": "Animated Bar Chart","description": "Bars spring up from the baseline in a staggered cascade.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "animated-bar-chart/index.tsx",@@ -317,7 +364,9 @@"type": "registry:component","title": "Terminal Simulator","description": "Terminal window that types out commands and rolls old lines off the top.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "terminal-simulator/index.tsx",@@ -331,7 +380,9 @@"type": "registry:component","title": "Code Diff Wipe","description": "Before/after code reveal via clip-path wipe with a handle marker.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "code-diff-wipe/index.tsx",@@ -345,7 +396,9 @@"type": "registry:component","title": "Drag and Drop Flow","description": "Simulated file drag into a dropzone followed by upload progress.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "drag-and-drop-flow/index.tsx",@@ -359,7 +412,9 @@"type": "registry:component","title": "Progress Steps","description": "Multi-step pipeline with sequentially activating nodes and filling lines.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "progress-steps/index.tsx",@@ -373,7 +428,9 @@"type": "registry:component","title": "Data Flow Pipes","description": "Glowing data packets travel along SVG bezier pipes between system nodes, leaving fading trails.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "data-flow-pipes/index.tsx",@@ -387,7 +444,9 @@"type": "registry:component","title": "Code Accordion","description": "A code window that springs a range of lines closed and replaces them with a \"N lines collapsed\" placeholder.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "code-accordion/index.tsx",@@ -401,7 +460,9 @@"type": "registry:component","title": "Glass Code Block","description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "glass-code-block/index.tsx",@@ -415,7 +476,9 @@"type": "registry:component","title": "Spotlight Card","description": "A card with a moonlight-cool radial spotlight that follows a synthetic cursor and lights up its microborder.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "spotlight-card/index.tsx",@@ -429,7 +492,9 @@"type": "registry:component","title": "Perspective Marquee","description": "A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "perspective-marquee/index.tsx",@@ -443,7 +508,9 @@"type": "registry:component","title": "Frosted Glass Wipe","description": "Elegant scene transition through a sliding pane of frosted glass.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "frosted-glass-wipe/index.tsx",@@ -457,7 +524,9 @@"type": "registry:component","title": "Spatial Push","description": "A new scene physically presses the old one back into the frame.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "spatial-push/index.tsx",@@ -471,7 +540,9 @@"type": "registry:component","title": "Grid Pixelate Wipe","description": "Dissolve from one scene to the next through a deterministic grid of mask cells.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "grid-pixelate-wipe/index.tsx",@@ -485,7 +556,9 @@"type": "registry:component","title": "Chromatic Aberration Wipe","description": "An ultra-fast slide transition with an RGB glitch on the peak frames.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "chromatic-aberration-wipe/index.tsx",@@ -499,7 +572,9 @@"type": "registry:component","title": "Hero Device Assemble","description": "Floating device layers spring together into a laptop or phone mockup, then the screen wakes with a shimmer.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "hero-device-assemble/index.tsx",@@ -513,7 +588,9 @@"type": "registry:component","title": "Ecosystem Constellation","description": "A central logo orbited by integration satellites with pulsing data lines.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "ecosystem-constellation/index.tsx",@@ -527,7 +604,9 @@"type": "registry:component","title": "AI Generation Canvas","description": "A prompt input transforms into a header, then a skeleton dashboard flips into populated cards.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "ai-generation-canvas/index.tsx",@@ -541,7 +620,9 @@"type": "registry:component","title": "Live Code Compilation","description": "Split-screen where typed code on the left snaps a live UI preview on the right, HMR-style.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "live-code-compilation/index.tsx",@@ -555,7 +636,9 @@"type": "registry:component","title": "Landing Code Showcase","description": "Magical split-screen: code types itself on the left while the preview reactively re-renders on the right with sparks and tactile bounce.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "landing-code-showcase/index.tsx",@@ -569,7 +652,9 @@"type": "registry:component","title": "Dashboard Populate","description": "An empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "dashboard-populate/index.tsx",@@ -583,7 +668,9 @@"type": "registry:component","title": "Terminal to Browser Deploy","description": "A CLI deploy completes, the terminal blurs back, and a browser window springs from the deploy URL.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "terminal-to-browser-deploy/index.tsx",@@ -597,7 +684,9 @@"type": "registry:component","title": "Browser Flow","description": "Full Safari/Chrome simulation: typed URL, progress bar, page render, scroll, and a virtual cursor click.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "browser-flow/index.tsx",@@ -611,7 +700,9 @@"type": "registry:component","title": "Pricing Tier Focus","description": "Three pricing cards where the focused tier rises and brightens while siblings dim and blur.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "pricing-tier-focus/index.tsx",@@ -625,7 +716,9 @@"type": "registry:component","title": "Infinite Bento Pan","description": "A camera diagonally drifts across an oversized bento grid behind a soft vignette.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "infinite-bento-pan/index.tsx",@@ -639,7 +732,9 @@"type": "registry:component","title": "Tool Menu Slide In","description": "A glass tool palette whips up from below the editor canvas while its icons pop in with a stagger.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "tool-menu-slide-in/index.tsx",@@ -653,7 +748,9 @@"type": "registry:component","title": "Image Expand To Fullscreen","description": "An image lifts out of a feed post and morphs into a fullscreen editor with toolbars sliding in.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "image-expand-to-fullscreen/index.tsx",@@ -667,7 +764,11 @@"type": "registry:component","title": "GitHub Stars","description": "Inertial fly-through of a repo's stargazers with a synced count-up odometer that locks on the total. Horizontal 16:9 or vertical 9:16.",- "dependencies": ["remotion", "date-fns", "@remotion/google-fonts"],+ "dependencies": [+ "remotion",+ "date-fns",+ "@remotion/google-fonts"+ ],"files": [{"path": "github-stars/index.tsx",@@ -681,8 +782,13 @@"type": "registry:component","title": "X Follow Card","description": "Animated X profile follow card — spring bounce-in, staggered blur-in, a synthetic cursor that clicks Follow and flips it to Following. Light/dark, horizontal or vertical.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/cursor"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/cursor"+ ],"files": [{"path": "x-follow-card/index.tsx",@@ -696,8 +802,13 @@"type": "registry:component","title": "X Followers Overview","description": "X follow notifications cycle through as 3D flipping text — '<name> followed you · 7h' — then the total follower count pops in with a confetti burst. Hardcoded sample list (X API ready). Light/dark, horizontal or vertical.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/confetti"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/confetti"+ ],"files": [{"path": "x-followers-overview/index.tsx",@@ -711,8 +822,14 @@"type": "registry:component","title": "Claude Chat","description": "Animated Claude chat input — types a prompt character-by-character and the waveform button morphs into a terracotta send button the moment text appears. Warm light/dark themes.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/caret",+ "@remocn/remocn-ui"+ ],"files": [{"path": "claude-chat/index.tsx",@@ -726,8 +843,14 @@"type": "registry:component","title": "ChatGPT","description": "Animated ChatGPT composer — types a prompt into the pill input, the blue voice button morphs into a send button, and the suggestion chips fade out. Light/dark themes.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/caret",+ "@remocn/remocn-ui"+ ],"files": [{"path": "chat-gpt/index.tsx",@@ -741,8 +864,14 @@"type": "registry:component","title": "v0","description": "Animated Vercel v0 composer — types a prompt into the dark textarea and the mic button morphs into a send button. Dark/light themes.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/caret",+ "@remocn/remocn-ui"+ ],"files": [{"path": "v0/index.tsx",@@ -756,8 +885,14 @@"type": "registry:component","title": "Claude Code","description": "Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/caret",+ "@remocn/remocn-ui"+ ],"files": [{"path": "claude-code/index.tsx",@@ -771,8 +906,14 @@"type": "registry:component","title": "OpenCode","description": "Animated OpenCode TUI welcome screen — two-tone wordmark, an input box with a blue accent bar that types a query, a model status line, and command hints. Dark/light themes.",- "dependencies": ["remotion", "@remotion/google-fonts"],- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],+ "dependencies": [+ "remotion",+ "@remotion/google-fonts"+ ],+ "registryDependencies": [+ "@remocn/caret",+ "@remocn/remocn-ui"+ ],"files": [{"path": "opencode/index.tsx",@@ -786,7 +927,9 @@"type": "registry:component","title": "Confetti","description": "Deterministic confetti burst for Remotion — seeded particles with gravity, spin, and flutter so every render is identical. Fire it on any frame as a celebratory overlay.",- "dependencies": ["remotion"],+ "dependencies": [+ "remotion"+ ],"files": [{"path": "confetti/index.tsx",@@ -794,6 +937,22 @@"target": "components/remocn/confetti.tsx"}]+ },+ {+ "name": "backdrop",+ "type": "registry:component",+ "title": "Backdrop",+ "description": "Configurable full-frame background (color / gradient / image / live component) with Screen Studio-style padding and a rounded, shadowed content frame.",+ "dependencies": [+ "remotion"+ ],+ "files": [+ {+ "path": "backdrop/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/backdrop.tsx"+ }+ ]}]}