CTA Contact
Wave Gradient CTA
NewA banner filled with slowly flowing waves of colour, with a headline, an e-mail and a phone number on top.
npx motionsnack add wave-gradient-ctaCustomize
Wave Colour
Highlight
Shade
Background
<WaveGradientCta />Props
15 properties
| Property | Type | Default | Description |
|---|---|---|---|
| buttonColor | string | near-white | Colour of the filled button. |
| buttonTextColor | string | near-black | Text colour of the filled button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| title | string | 'Let’s build something
people remember' | Headline. Use \n for line breaks. |
| description | string | 'Tell us about your project. We reply within one working day with a plan and a price.' | Paragraph under the headline. Leave empty to hide it. |
| glowColor | string | '#0044ff' | Main colour of the waves. |
| highlightColor | string | '#000000' | Second colour that crosses the waves. |
| shadeColor | string | '#000000' | Dark troughs between the waves. |
| speed | number | 1 | How fast the waves flow. 0 keeps them still. |
| scale | number | 1.6 | Lower is broader, higher is busier. |
| warp | number | 1 | How strongly the waves bend. |
| grain | number | 0.06 | Film grain over the gradient. |
| radius | number | 28 | Corner radius of the banner. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Section background. |
About Wave Gradient CTA
A rounded banner painted by a small WebGL shader: broad bands of colour bend and flow into each other, from a dark shade through the main colour to light crests, under a fine film grain. A headline, a short paragraph, an e-mail button and a phone button sit in the middle. The three colours, speed, wave size, bend and grain are props and change live. The waves pause while the banner is off screen, stay still with reduced motion, and fall back to a plain gradient without WebGL.
What's included
- Flowing wave gradient in WebGL, no library
- Three colours, speed, size, bend and grain as props
- E-mail and phone buttons
- Pauses off screen, plain gradient fallback
- Light and dark, reduced motion respected
- Type
- Animated cta contact section for Next.js
- Library
- Sections · CTA Contact
- Stack
- Next.js, React, Tailwind CSS, WebGL
- Added
- 2026-11-20
- Install
npx motionsnack add wave-gradient-cta