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>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | 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. |
| 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. |
| swell | 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. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |





