Skip to content

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

feat: replace meshgradient with shader bg

dev_wandry8e6ff17c0304
diff --git a/components/docs/examples/backdrop-variants.tsx b/components/docs/examples/backdrop-variants.tsx
index 82d1400d..0e042b4f 100644
--- a/components/docs/examples/backdrop-variants.tsx
+++ b/components/docs/examples/backdrop-variants.tsx
@@ -1,7 +1,7 @@
"use client";
import { Backdrop } from "@/registry/remocn/backdrop";
-import { MeshGradientBg } from "@/registry/remocn/mesh-gradient-bg";
+import { ShaderGrainGradient } from "@/registry/remocn/shader-grain-gradient";
function DemoContent() {
return (
@@ -69,7 +69,7 @@ export const BackdropImageScene = () => (
);
export const BackdropLiveScene = () => (
- <Backdrop fill={<MeshGradientBg />} shadow="0" padding={0}>
+ <Backdrop fill={<ShaderGrainGradient />} shadow="0" padding={0}>
<TransparentDemoContent />
</Backdrop>
);
@@ -93,8 +93,8 @@ export const backdropImageCode = `import { Backdrop } from "@/components/remocn/
</Backdrop>`;
export const backdropLiveCode = `import { Backdrop } from "@/components/remocn/backdrop";
-import { MeshGradientBg } from "@/components/remocn/mesh-gradient-bg";
+import { ShaderGrainGradient } from "@/components/remocn/shader-grain-gradient";
-<Backdrop fill={<MeshGradientBg />} shadow="0" padding={0}>
+<Backdrop fill={<ShaderGrainGradient />} shadow="0" padding={0}>
<YourScene />
</Backdrop>`;
diff --git a/content/docs/layout/backdrop.mdx b/content/docs/layout/backdrop.mdx
index 0ebaa419..a4712c90 100644
--- a/content/docs/layout/backdrop.mdx
+++ b/content/docs/layout/backdrop.mdx
@@ -45,9 +45,9 @@ Live animated React element as the fill:
```tsx
import { Backdrop } from "@/components/remocn/backdrop";
-import { MeshGradientBg } from "@/components/remocn/mesh-gradient-bg";
+import { ShaderGrainGradient } from "@/components/remocn/shader-grain-gradient";
-<Backdrop fill={<MeshGradientBg />}>
+<Backdrop fill={<ShaderGrainGradient />}>
<YourScene />
</Backdrop>
```
@@ -95,7 +95,7 @@ Each `fill` type renders differently — pick the one that fits your scene.
### Live background
-Any React element as fill, e.g. `<MeshGradientBg />`.
+Any React element as fill, e.g. `<ShaderGrainGradient />`.
<BlockPreview name="backdrop-live" />
@@ -110,7 +110,7 @@ import { Backdrop } from "@/components/remocn/backdrop";
<Backdrop fill={{ type: "gradient", value: "linear-gradient(135deg, #6366f1, #a855f7)" }} />
// or a live animated background as the fill
-<Backdrop fill={<MeshGradientBg />} />
+<Backdrop fill={<ShaderGrainGradient />} />
```
To render content edge-to-edge without any decorative frame, pass children but zero out padding, radius, and shadow:
@@ -136,7 +136,7 @@ import { Backdrop } from "@/components/remocn/backdrop";
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.",
+ description: "The background layer. Pass a BackdropFill object ({ type: \"color\" | \"gradient\" | \"image\", ... }) for static fills, or any React element (e.g. <ShaderGrainGradient />) to render a live animated background.",
},
{
name: "padding",
diff --git a/content/docs/typography/index.mdx b/content/docs/typography/index.mdx
index 02823f57..bc7b6dcf 100644
--- a/content/docs/typography/index.mdx
+++ b/content/docs/typography/index.mdx
@@ -134,25 +134,6 @@ Every way text can move, fade, glitch, or stretch across the screen. From quiet
]}
/>
-## Hero & Display
-
-<ComponentCardGrid
- items={[
- {
- name: "InfiniteMarquee",
- description: "Endlessly scrolling horizontal text band",
- status: "stable",
- href: "/docs/typography/infinite-marquee",
- },
- {
- name: "PerspectiveMarquee",
- description: "Marquee tilted into 3D space with depth fade",
- status: "stable",
- href: "/docs/typography/perspective-marquee",
- },
- ]}
-/>
-
## Tech & Glitch
<ComponentCardGrid