Design and Social Media

Wave Section Dividers: Adding Curved Edges Between Website Sections

How SVG wave dividers work, how to match their colours to neighbouring sections, and how to make them stretch cleanly from phones to wide monitors.

Saizul Amin
Saizul Amin5 Nov 2026 · 4 min read
Wave Section Dividers: Adding Curved Edges Between Website Sections

Landing pages are built from horizontal bands: a hero, a features section, testimonials, a call to action. Where two bands meet, a straight line is the default. Replacing it with a gentle wave, a slant or a row of peaks is a small change that makes a page feel crafted, and it costs only a few hundred bytes of SVG.

How a divider works

A divider is a shape placed exactly where two sections touch. It is filled with the colour of the section it leads into, while the area around it shows the colour of the section it leaves. With a white hero followed by an indigo section, the divider sits at the bottom of the hero, its background is white, and the wave itself is indigo. The eye reads it as the indigo section rising into the white one.

Flip the shape upside down and it hangs from the top of a section instead, which is how you shape the far edge of a coloured band.

Shapes to choose from

  • Sine waves: regular and calm. One or two waves across the width feel relaxed; six or more feel busy.
  • Smooth random waves: organic and less predictable, good for creative brands.
  • Peaks: sharp zigzags, energetic, sometimes used for sports or events.
  • Steps: blocky, like a city skyline.
  • A single curve or arc: elegant and minimal.
  • Tilt: a straight diagonal, simple and modern.

Layers add depth: lighter copies of the wave drawn slightly higher behind the main shape, like ripples.

Making one

The SVG Wave and Section Divider Generator shows the divider live between two coloured sections.

  1. Choose a shape or start from a preset such as Gentle wave or Layered waves.
  2. Set the size: divider height, wave depth, number of waves and shift.
  3. Add layers and set their spacing and colour.
  4. Set the colours: the shape colour (the next section) and the background (the current section). Flip left to right or place it at the top of a section if needed.
  5. Check the preview and press Randomise for random shapes. Save the ones you like.
  6. Copy the code as inline SVG, a CSS class or an HTML snippet, or download SVG or PNG.

Stretching across screen sizes

The generated SVG uses a wide view box with preserveAspectRatio set to none. That tells the browser to stretch the shape to the full width of its container while keeping the height you chose. The divider therefore reaches from edge to edge on a 375 px phone and on a 2560 px monitor, with no gaps.

The trade-off is that waves become narrower and steeper on phones. If a deep wave looks too dramatic on small screens, reduce the height in a media query, for example from 160 px to 80 px below 600 px wide.

Adding it to your site

Plain HTML and CSS. Paste the HTML snippet between the two sections, or add a div with the generated CSS class. Make sure no margin separates the divider from the sections, or a thin line of the page background will show. Setting line-height to 0 on the wrapper removes the gap that inline SVGs sometimes leave.

Page builders. WordPress block themes, Elementor, Webflow and others accept custom HTML blocks, and many also let you upload an SVG as a shape divider.

Frameworks. In React or Vue, paste the SVG into a small component and pass the colours as props or CSS variables so the divider follows your theme, including dark mode.

Design tips

  • Use one divider style throughout a page. Mixing waves, peaks and tilts looks accidental.
  • Alternate the direction: flip every other divider so the page does not drift to one side.
  • Keep important content clear of the divider; headings that touch a wave edge look cramped.
  • Subtle is usually better. Depth of 20 to 60 px reads as a curve; 150 px reads as a statement.

Accessibility and performance

Dividers are decoration, so mark them aria-hidden to keep them out of screen reader output. SVG dividers add no extra requests when inlined and render instantly, unlike background images, which helps your page load and layout stability scores.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages