---
title: "Glow Wave"
description: "A soft band of color rises from the edge of a box and flows sideways, in pure CSS. For footers, calls to action, and the end of a hero."
url: https://gelatinui.com/components/glow-wave
markdown_url: https://gelatinui.com/components/glow-wave.md
access: free
install: "npx shadcn@latest add @gelatin-ui/glow-wave"
registry_item: https://gelatinui.com/r/glow-wave.json
version: "2026-11-24"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Glow Wave

> A soft band of color rises from the edge of a box and flows sideways, in pure CSS. For footers, calls to action, and the end of a hero.

Page: https://gelatinui.com/components/glow-wave

## When to use it

Best for: A footer or call to action: a soft band of color rises from an edge and flows sideways.

- Use `outline` (`mountain`, `hills`, `waves`, `dunes`, `skyline`, `valley`) and `palette` (`aurora`, `dawn`, `ember`, `lagoon`, `dusk`, `mono`) to pick the look.
- Use `colors` for your own colors from the crest down, or pass your own heights to `outline` (0 to 1, one bar each).
- Use `layers` to stack glows back to front: give a back layer a slower `flow` and less `opacity` for depth. Use `anchor="top"` to hang it from the top edge.

## When not to use it

- For aurora curtains drawn as fine threads, use [Aurora Strands Background](https://gelatinui.com/components/aurora-strands-background.md).
- For shafts of light from a top corner, use [Light Rays Background](https://gelatinui.com/components/light-rays-background.md).

## Notes for agents

- It is pure CSS: no WebGL, no canvas. Blurred gradient bars slide on the compositor.
- Children sit on top of the moving picture. The root is `relative isolate overflow-hidden`: give it a height, or let a flex parent size it.
- It holds still off screen and in a hidden tab. `paused` holds the current frame.
- `flow` is the seconds of one sideways loop (default 40); 0 holds the wave in place. `direction` does not flip in right to left.
- `aurora` and `mono` read theme tokens, so they follow light and dark mode.

## Anatomy

```text
GlowWave
```

## API reference

### GlowWave

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `children` | `ReactNode` |  | Content on top of the glow: a call to action, a footer. |
| `outline` | `union` | "mountain" | The outline: a built-in one, or your own heights (0 to 1, one bar each). |
| `palette` | `"aurora" \| "dawn" \| "dusk" \| "ember" \| "lagoon" \| "mono"` | "aurora" | The colors from the crest down. |
| `colors` | `readonly string[]` |  | Your own colors from the crest down (two or more, any CSS color), in place of `palette`. |
| `bars` | `number` | 28 | The bars in one copy of the outline. More bars give a smoother edge. |
| `seed` | `number` | 1 | The seed of the nudges and swell phases: each seed gives another wave of the same outline. |
| `jitter` | `number` | 0.06 | How far each bar is nudged from the outline, from 0 to 0.3 of the height. |
| `height` | `string` | "clamp(140px, 19vw, 260px)" | The height of the glow, any CSS length. |
| `blur` | `number` | 22 | The blur in px: about 20 melts the bars into one glow, 0 shows them. |
| `flow` | `number` | 40 | The seconds of one loop of the sideways flow. 0 holds the wave in place. |
| `direction` | `"left" \| "right"` | "left" | The way the wave flows. A wave has no reading order, so it does not flip in right to left. |
| `swell` | `number` | 0.12 | How much each bar grows at the top of its swell, from 0 (off) to 0.5. |
| `swellDuration` | `number` | 6 | The seconds of one swell. |
| `opacity` | `number` | 0.9 | How much the glow shows, from 0 (none) to 1 (full). |
| `saturation` | `number` | 1.15 | The color strength after the blur, from 0 (gray) to 2. |
| `anchor` | `"bottom" \| "top"` | "bottom" | The edge the glow rises from. |
| `fade` | `boolean` | true | Fade the glow out toward its crest, so it melts into the page. |
| `layers` | `readonly GlowWaveOptions[]` |  | Glows stacked back to front, each with its own options over the root ones. Give a back layer a slower `flow` and less `opacity` for depth. With no layers, the root options draw one glow. |
| `paused` | `boolean` | false | Hold the glow on its current frame. It also holds off screen and in a hidden tab. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| GlowWave | `glow-wave` |  |  |  |

## Usage

Put the call to action inside as children: they sit on top of the glow. Give the root a height.

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui/glow-wave @gelatin-ui/button
```

```tsx title="signup-footer.tsx"
import { GlowWave } from "@/components/backgrounds/glow-wave";
import { Button } from "@/components/ui/button";

export function SignupFooter() {
  return (
    <GlowWave
      outline="hills"
      palette="dawn"
      layers={[{ flow: 70, opacity: 0.5 }, { flow: 40 }]}
      className="flex h-[560px] justify-center px-6 pt-28"
    >
      <div className="flex flex-col items-center gap-6 text-center">
        <h2 className="text-5xl font-light tracking-tight">
          Build the page.
          <br />
          Keep the glow.
        </h2>
        <p className="max-w-md text-muted-foreground">
          Start free. Upgrade when your team grows.
        </p>
        <Button size="lg" rounded="full">
          Start free trial
        </Button>
      </div>
    </GlowWave>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/glow-wave
```

It adds 13 registry items: 12 files, 1051 lines, and the npm packages `@mantine/hooks`, `clsx`, `tailwind-merge`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Aurora Strands Background](https://gelatinui.com/components/aurora-strands-background.md)
- [Light Rays Background](https://gelatinui.com/components/light-rays-background.md)
- [Fire Background](https://gelatinui.com/components/fire-background.md)

## Motion

| Part | Motion |
| --- | --- |
| Flow | progress · the strip slides sideways at one speed; one loop takes `flow` seconds (40 by default) |
| Swell | sine · each bar grows by `swell` and back over `swellDuration` seconds (6 by default), each on its own beat |
