How to use the SVG Wave Generator
- Pick a shape: smooth wave, peaks, steps, tilt or a single curve.
- Choose one to three layers, a color, the height, complexity and amplitude.
- Set the position: bottom of a section (the wave fills upwards) or top of a section.
- Press Randomize until you like the shape, then copy the SVG, copy it as a CSS background, or download the file.
Tips
- Use the same color as the next section so the wave blends into it.
- The SVG uses
preserveAspectRatio="none", so it stretches to any width while keeping the height you set. - As a CSS background the wave needs no extra markup: add the class to an empty
divbetween two sections.
Waves work well at the bottom of hero sections and above footers.
Everything runs in your browser: nothing you type or paste is sent to a server.