EN

SVG Section Divider Generator

Make the shape that separates two page sections: pick a divider shape, set its height and color, flip it, and copy ready-to-paste HTML and CSS.

Shape
Pick a color
Section above
Section below
<div class="divider" aria-hidden="true">
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0C300,120 900,120 1200,0V120H0Z" fill="#6D46D3"/></svg>
</div>

<style>
.divider { line-height: 0; }
.divider svg { display: block; width: 100%; height: 120px; }
</style>

How to use it

  1. Choose a shape: curve, wave, tilt, triangle, arrow, zigzag, mountains or book.
  2. Set the height and the color (usually the background of the next section).
  3. Flip horizontally or vertically to point it the way you need.
  4. Copy the HTML snippet or download the SVG.

Using a divider between sections

Place the snippet between two sections. The SVG stretches to the full width (preserveAspectRatio="none") and has a fixed height in CSS. Give it the color of the section it flows into, so the edge looks like part of that section.

For layered waves instead of a single edge, use the wave generator.

Frequently asked questions

What is a shape divider?

A shape divider is a decorative edge (curve, slant, wave, zigzag) between two sections of a web page, used instead of a straight line.

Is the downloaded SVG safe to use on my site?

Yes. The file contains only an svg element, shapes and colors written from a fixed template, with no scripts, fonts or external links.

Can I use it commercially?

Yes. What you make is generated in your browser from your settings; use it in personal or commercial work without credit.

Related tools