21st

Gradient Mesh

Backgrounds 10

About

Gradient Mesh is an animated background for Remotion videos. Sets the atmosphere behind the rest of a scene. Loops every 8 seconds in 16:9, 9:16 and 1:1, with editable colors, intensity, cycles and grain.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Gradient Mesh to your project and fits it to your theme.

Code

How Gradient Mesh is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// Built with Remotion - https://remotion.pro/license
import { Composition } from "remotion";
import { Component } from "./video/gradient-mesh/gradient-mesh";
import { schema, defaults } from "./video/gradient-mesh/gradient-mesh.schema";

export const GradientMeshComposition = () => (
  <Composition
    id="gradient-mesh"
    component={Component}
    schema={schema}
    defaultProps={defaults}
    durationInFrames={240}
    fps={30}
    width={1920}
    height={1080}
  />
);

Dependencies

More by 21st

View all
  • Prism Spectrum List

    Prism Spectrum List

    59
  • Logo Construction Lines

    Logo Construction Lines

    48
  • Polyrhythm Orbits

    Polyrhythm Orbits

    33
  • Galton Board Chart

    Galton Board Chart

    28
  • Live Transaction Alerts

    Live Transaction Alerts

    28
  • Shattered Title Assembly

    Shattered Title Assembly

    27
  • Metal Card Reveal

    Metal Card Reveal

    25
  • Differential Growth

    Differential Growth

    24

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    811
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • LivingOrigami bg

    LivingOrigami bg

    135
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    536
  • Background snippets

    Background snippets

    14
  • Gradient Blur Bg

    Gradient Blur Bg

    18
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    221