Skip to content

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

1.6 KB
Raw Blame
---
title: Color Panels
description: Overlapping translucent color panels sliding past each other
component: shader-color-panels
vibe: premium
length: 150
useWhen:
  - "You want an architectural, glassy backdrop of translucent panes sliding past each other."
  - "A scene benefits from layered depth without organic blob motion."
  - "You want the panel count tunable via `density`."
avoidWhen:
  - "You want organic, flowing motion — use `shader-warp` or `shader-metaballs`."
  - "The overlap patterns would clutter dense foreground content — lower `density`."
  - "You need a single smooth gradient — use `shader-mesh-gradient`."
askedAs:
  - "glass panes background"
  - "sliding translucent panels"
  - "I want overlapping see-through color slabs gliding past each other"
  - "layered architectural backdrop, geometric not blobby"
  - "clean modern scene with depth from stacked colored panes"
  - "abstract frosted glass sheets moving behind product text"
---

<ComponentPreview name="shader-color-panels" />

<InstallBlock name="shader-color-panels" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderColorPanels } from "@/components/remocn/shader-color-panels";

const ShaderColorPanelsScene = () => (
  <ShaderColorPanels speed={1} density={3} length={1.1} />
);

export const RemotionRoot = () => (
  <Composition
    id="ShaderColorPanels"
    component={ShaderColorPanelsScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

## Credits

Shader by [paper-design/shaders](https://github.com/paper-design/shaders).