Skip to content

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

1.9 KB
Raw Blame
---
title: Lavender
description: Mesh Gradient preset. Soft lilac and pink haze with grain-softened edges
component: shader-mesh-gradient-lavender
vibe: premium
length: 150
useWhen:
  - "A gentle, dreamy title card that should stay quiet behind copy."
  - "The frame is light, so dark foreground text and UI stay readable on top."
  - "You want a finished Mesh Gradient look without tuning the palette and parameters yourself."
avoidWhen:
  - "The video must use your brand colors — start from `shader-mesh-gradient` and set `colors`."
  - "You want a darker, contrasting mood from the same shader — use `shader-mesh-gradient-ember`."
askedAs:
  - "soft lilac pink haze"
  - "dreamy pastel background"
  - "I want a gentle lavender and pink fog that stays quiet behind copy"
  - "light airy title card, soft and calm"
  - "pale purple gradient with soft edges"
  - "dreamy pink lilac wash"
---

<ComponentPreview name="shader-mesh-gradient-lavender" />

<InstallBlock name="shader-mesh-gradient-lavender" />

Installs [Mesh Gradient](/docs/shaders/components/shader-mesh-gradient) as a dependency. This file only fixes its look: the preset object at the top holds every value, so edit it in place to make the preset your own.

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderMeshGradientLavender } from "@/components/remocn/shader-mesh-gradient-lavender";

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

ShaderMeshGradientLavender takes the same props as `ShaderMeshGradient`. Props you pass override the preset, except `speed`, which scales the preset's own pace: `speed={2}` is twice as fast as the preset, whatever its base speed.

## Credits

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