Skip to content

Glow Wave

Free

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.

  • React 19
  • Tailwind CSS 4

Added Nov 24, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

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. One command adds them with this item:

signup-footer.tsx

GlowWave

<div>
PropTypeDefaultDescription
childrenReactNode—Content on top of the glow: a call to action, a footer.
outline"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.
colorsreadonly string[]—Your own colors from the crest down (two or more, any CSS color), in place of palette.
barsnumber28The bars in one copy of the outline. More bars give a smoother edge.
seednumber1The seed of the nudges and swell phases: each seed gives another wave of the same outline.
jitternumber0.06How far each bar is nudged from the outline, from 0 to 0.3 of the height.
heightstring"clamp(140px, 19vw, 260px)"The height of the glow, any CSS length.
blurnumber22The blur in px: about 20 melts the bars into one glow, 0 shows them.
flownumber40The 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.
swellnumber0.12How much each bar grows at the top of its swell, from 0 (off) to 0.5.
swellDurationnumber6The seconds of one swell.
opacitynumber0.9How much the glow shows, from 0 (none) to 1 (full).
saturationnumber1.15The color strength after the blur, from 0 (gray) to 2.
anchor"bottom""top""bottom"The edge the glow rises from.
fadebooleantrueFade the glow out toward its crest, so it melts into the page.
layersreadonly 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.
pausedbooleanfalseHold the glow on its current frame. It also holds off screen and in a hidden tab.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • 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.
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
  1. AddedGlow Wave.
Open the release