# Gradient Mesh

Soft color blobs in the theme accent, highlight and surface drifting slowly over the background.

```bash
npx shadcn add https://www.reelcn.dev/r/gradient-mesh.json
```

Usage:

```tsx
<AbsoluteFill>
  <GradientMesh />
  <Center><TextReveal text="Hello" /></Center>
</AbsoluteFill>
```

Use for:

- Hero scenes, launch titles and product intros that need color and gentle motion
- Behind glass cards, device frames and stat callouts

Avoid:

- A still, single-color brand canvas. Use `brand-solid`

Dependencies:

- `remotion`


## Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| delay? | `number` | — | Frames to wait before entering. |
| duration? | `number` | — | Enter duration in frames. Defaults to 0.6s. Some items reuse `duration` for an unrelated local timing. See that item's own prop docs. |
| exit? | `number \| boolean` | — | Exit at the end of the parent `<Sequence>`. `false` keeps it on screen, a number sets the exit length in frames. |
| motion? | `MotionPersonality` | — | Override the theme's motion personality. |
| poster? | `boolean` | — | Renders fully entered, with no exit: for a still frame or thumbnail. Defaults to `false`. |
| holdFrames? | `number` | — | Delays the start of the exit window by this many frames, for a minimum on-screen hold. Defaults to `0`. |
| background? | `string` | — | Base fill. Defaults to the theme background. |
| colors? | `string[]` | — | One blob per color; three or four look best. Defaults to accent, highlight, surface, accent. |
| intensity? | `number` | `0.45` | Blob opacity at its center, 0–1. |
| blobSize? | `number` | `0.8` | Blob diameter as a share of the canvas' long side. |
| speed? | `number` | `1` | Drift speed multiplier. 0 freezes the blobs. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |