Skip to content

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

feat: remove bg, added docs

dev_wandry62f9c19ff7d3
diff --git a/content/docs/compositions/dashboard-populate.mdx b/content/docs/compositions/dashboard-populate.mdx
index ef0d16e2..3d9f3892 100644
--- a/content/docs/compositions/dashboard-populate.mdx
+++ b/content/docs/compositions/dashboard-populate.mdx
@@ -32,6 +32,19 @@ export const RemotionRoot = () => (
);
```
+### With Backdrop
+
+Renders its scene transparent — supply the background via `Backdrop`:
+
+```tsx
+import { Backdrop } from "@/components/remocn/backdrop";
+import { DashboardPopulate } from "@/components/remocn/dashboard-populate";
+
+<Backdrop fill={{ type: "color", value: "#09090b" }}>
+ <DashboardPopulate accentColor="#22c55e" kpiTarget={128400} />
+</Backdrop>
+```
+
## Props
<PropsTable
diff --git a/content/docs/compositions/ecosystem-constellation.mdx b/content/docs/compositions/ecosystem-constellation.mdx
index 6e445882..b250ec00 100644
--- a/content/docs/compositions/ecosystem-constellation.mdx
+++ b/content/docs/compositions/ecosystem-constellation.mdx
@@ -36,6 +36,19 @@ export const RemotionRoot = () => (
);
```
+### With Backdrop
+
+Renders its scene transparent — supply the background via `Backdrop`:
+
+```tsx
+import { Backdrop } from "@/components/remocn/backdrop";
+import { EcosystemConstellation } from "@/components/remocn/ecosystem-constellation";
+
+<Backdrop fill={{ type: "gradient", value: "radial-gradient(ellipse at center, #14101e 0%, #05030a 75%)" }}>
+ <EcosystemConstellation satelliteCount={6} centerLabel="V" accentColor="#a855f7" />
+</Backdrop>
+```
+
## Props
<PropsTable
diff --git a/content/docs/compositions/hero-device-assemble.mdx b/content/docs/compositions/hero-device-assemble.mdx
index 500eac39..9f7304a7 100644
--- a/content/docs/compositions/hero-device-assemble.mdx
+++ b/content/docs/compositions/hero-device-assemble.mdx
@@ -36,6 +36,19 @@ export const RemotionRoot = () => (
);
```
+### With Backdrop
+
+Renders its scene transparent — supply the background via `Backdrop`:
+
+```tsx
+import { Backdrop } from "@/components/remocn/backdrop";
+import { HeroDeviceAssemble } from "@/components/remocn/hero-device-assemble";
+
+<Backdrop fill={{ type: "gradient", value: "radial-gradient(ellipse at center, #1a1a22 0%, #050507 70%)" }}>
+ <HeroDeviceAssemble device="laptop" accentColor="#22c55e" assembleStart={0} />
+</Backdrop>
+```
+
## Props
<PropsTable
diff --git a/content/docs/compositions/infinite-bento-pan.mdx b/content/docs/compositions/infinite-bento-pan.mdx
index 936ec071..292c5257 100644
--- a/content/docs/compositions/infinite-bento-pan.mdx
+++ b/content/docs/compositions/infinite-bento-pan.mdx
@@ -32,6 +32,19 @@ export const RemotionRoot = () => (
);
```
+### With Backdrop
+
+Renders its scene transparent — supply the background via `Backdrop`:
+
+```tsx
+import { Backdrop } from "@/components/remocn/backdrop";
+import { InfiniteBentoPan } from "@/components/remocn/infinite-bento-pan";
+
+<Backdrop fill={{ type: "color", value: "#050505" }}>
+ <InfiniteBentoPan panSpeed={1} accentColor="#7c3aed" />
+</Backdrop>
+```
+
## Props
<PropsTable
diff --git a/registry/remocn/dashboard-populate/config.ts b/registry/remocn/dashboard-populate/config.ts
index 0a7ee693..18fcdb8b 100644
--- a/registry/remocn/dashboard-populate/config.ts
+++ b/registry/remocn/dashboard-populate/config.ts
@@ -22,4 +22,5 @@ export const dashboardPopulateConfig: ComponentConfig = {
fps: FPS,
compositionWidth: W,
compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#09090b" },
};
diff --git a/registry/remocn/dashboard-populate/index.tsx b/registry/remocn/dashboard-populate/index.tsx
index 5b64c2d0..072f1d4b 100644
--- a/registry/remocn/dashboard-populate/index.tsx
+++ b/registry/remocn/dashboard-populate/index.tsx
@@ -144,7 +144,7 @@ export function DashboardPopulate({
style={{
position: "absolute",
inset: 0,
- background: "#09090b",
+ background: "transparent",
fontFamily: FONT_FAMILY,
color: "white",
padding: 64,
diff --git a/registry/remocn/ecosystem-constellation/config.ts b/registry/remocn/ecosystem-constellation/config.ts
index 6a0b52b2..feac4703 100644
--- a/registry/remocn/ecosystem-constellation/config.ts
+++ b/registry/remocn/ecosystem-constellation/config.ts
@@ -27,4 +27,8 @@ export const ecosystemConstellationConfig: ComponentConfig = {
fps: FPS,
compositionWidth: W,
compositionHeight: H,
+ previewBackdrop: {
+ type: "gradient",
+ value: "radial-gradient(ellipse at center, #14101e 0%, #05030a 75%)",
+ },
};
diff --git a/registry/remocn/ecosystem-constellation/index.tsx b/registry/remocn/ecosystem-constellation/index.tsx
index 95a24c78..e7090997 100644
--- a/registry/remocn/ecosystem-constellation/index.tsx
+++ b/registry/remocn/ecosystem-constellation/index.tsx
@@ -221,8 +221,7 @@ export function EcosystemConstellation({
position: "absolute",
inset: 0,
overflow: "hidden",
- background:
- "radial-gradient(ellipse at center, #14101e 0%, #05030a 75%)",
+ background: "transparent",
fontFamily: FONT_FAMILY,
}}
>
diff --git a/registry/remocn/hero-device-assemble/config.ts b/registry/remocn/hero-device-assemble/config.ts
index f2b19017..09bf7254 100644
--- a/registry/remocn/hero-device-assemble/config.ts
+++ b/registry/remocn/hero-device-assemble/config.ts
@@ -28,4 +28,8 @@ export const heroDeviceAssembleConfig: ComponentConfig = {
fps: FPS,
compositionWidth: W,
compositionHeight: H,
+ previewBackdrop: {
+ type: "gradient",
+ value: "radial-gradient(ellipse at center, #1a1a22 0%, #050507 70%)",
+ },
};
diff --git a/registry/remocn/hero-device-assemble/index.tsx b/registry/remocn/hero-device-assemble/index.tsx
index aebec44d..70c90c74 100644
--- a/registry/remocn/hero-device-assemble/index.tsx
+++ b/registry/remocn/hero-device-assemble/index.tsx
@@ -252,8 +252,7 @@ export function HeroDeviceAssemble({
position: "absolute",
inset: 0,
overflow: "hidden",
- background:
- "radial-gradient(ellipse at center, #1a1a22 0%, #050507 70%)",
+ background: "transparent",
display: "flex",
alignItems: "center",
justifyContent: "center",
diff --git a/registry/remocn/infinite-bento-pan/config.ts b/registry/remocn/infinite-bento-pan/config.ts
index 9fe8b19a..3d712e6f 100644
--- a/registry/remocn/infinite-bento-pan/config.ts
+++ b/registry/remocn/infinite-bento-pan/config.ts
@@ -22,4 +22,5 @@ export const infiniteBentoPanConfig: ComponentConfig = {
fps: FPS,
compositionWidth: W,
compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#050505" },
};
diff --git a/registry/remocn/infinite-bento-pan/index.tsx b/registry/remocn/infinite-bento-pan/index.tsx
index 57559197..c9922238 100644
--- a/registry/remocn/infinite-bento-pan/index.tsx
+++ b/registry/remocn/infinite-bento-pan/index.tsx
@@ -448,7 +448,7 @@ export function InfiniteBentoPan({
style={{
position: "absolute",
inset: 0,
- background: "#050505",
+ background: "transparent",
overflow: "hidden",
fontFamily: FONT_FAMILY,
}}