Section Divider Generator

Section Divider Generator

Create beautiful SVG dividers for your website sections

Live Preview

Section with Wave divider

Next section content

Divider Shape
Orientation
Settings
100px
SVG Code
1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none">
2 <path d="M0,100 C200,20 400,100 600,50 C800,0 1000,80 1200,30 L1200,100 L0,100 Z" fill="#ffffff"/>
3</svg>
HTML Usage
1<!-- Section with divider -->
2<section class="relative bg-[#6366f1]">
3 <!-- Your content here -->
4 <div class="py-20 px-4">
5 <h2 class="text-white text-4xl font-bold">Section Title</h2>
6 </div>
7
8 <!-- Bottom divider -->
9 <div class="absolute bottom-0 left-0 w-full overflow-hidden leading-none">
10 <svg class="relative block w-full h-[100px]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none">
11 <path d="M0,100 C200,20 400,100 600,50 C800,0 1000,80 1200,30 L1200,100 L0,100 Z" fill="#ffffff"></path>
12 </svg>
13 </div>
14</section>
15
16<!-- Next section -->
17<section class="bg-[#ffffff]">
18 <div class="py-20 px-4">
19 <h2 class="text-4xl font-bold">Next Section</h2>
20 </div>
21</section>

Frequently Asked Questions

What are section dividers used for?

Section dividers create visual separation between different content areas on a webpage. They add visual interest and help guide users through the page flow. Common uses include separating hero sections from content, transitioning between different colored backgrounds, and adding creative flair to landing pages.

How do I use SVG dividers in my website?

Copy the generated SVG code and paste it between your HTML sections. Position it using CSS with position: absolute at the bottom or top of a section. The SVG is responsive and will stretch to fill the container width while maintaining its shape.

Can I customize the divider colors?

Yes! The generator lets you customize both the divider fill color and the background color. You can use any hex color or Tailwind CSS color class. The divider color should match the next section's background for a seamless transition.

Are these dividers responsive?

Yes, all generated SVG dividers are fully responsive. They use preserveAspectRatio='none' to stretch horizontally while maintaining their vertical shape. They work on all screen sizes without distortion.