Skip to content

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

2.0 KB
Raw Blame
---
title: Horizon
description: Grain Gradient preset. Peach horizon band rolling between navy and pale sky
component: shader-grain-gradient-horizon
vibe: premium
length: 150
useWhen:
  - "A wide landscape mood with a warm band across the middle of the frame."
  - "Foreground is light text or a bright product shot that needs a dark field around it."
  - "You want a finished Grain Gradient look without tuning the palette and parameters yourself."
avoidWhen:
  - "The video must use your brand colors — start from `shader-grain-gradient` and set `colors`."
  - "You want a lighter, contrasting mood from the same shader — use `shader-grain-gradient-arcade`."
askedAs:
  - "sunset horizon band"
  - "peach stripe navy sky"
  - "I want a wide landscape feel with a warm peach band between navy and pale sky"
  - "horizon line backdrop with grain for a calm landscape mood"
  - "dusk sky layers with film texture behind a title"
  - "navy and peach grainy horizon"
---

<ComponentPreview name="shader-grain-gradient-horizon" />

<InstallBlock name="shader-grain-gradient-horizon" />

Installs [Grain Gradient](/docs/shaders/components/shader-grain-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 { ShaderGrainGradientHorizon } from "@/components/remocn/shader-grain-gradient-horizon";

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

ShaderGrainGradientHorizon takes the same props as `ShaderGrainGradient`. 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).