How to use the shape divider generator
- Pick a shape from the gallery or the Shape menu.
- Choose the position. Bottom of section draws the shape into the next section; Top of section points it into the section from above.
- Adjust the look: flip it horizontally, invert the filled area, add one or two translucent layers behind it, and set the height and horizontal stretch.
- Set the colors. The divider color is the next section’s background; the section color is the one it belongs to.
- Copy the code. HTML + CSS is ready to paste. The SVG file works anywhere images do, and React gives you a component.
How it works
Every shape is a single SVG path in a 1200 × 120 box. The path follows the top edge of the shape and then closes along the bottom (or the top, when inverted). preserveAspectRatio="none" lets the shape stretch to any width while you control its height in CSS:
.divider svg { display: block; width: calc(100% + 1.3px); height: 100px; }
.divider path { fill: #4F46E5; }
Because the color is set in CSS, you can change it per theme or in dark mode without touching the SVG.
Worked examples
Example 1: a wave between hero and features
Load Wave, keep it at the bottom of the hero section, and set the divider color to the background of your features section. A height of 80–120px gives a gentle transition. Add one layer for depth without extra markup.
Example 2: a dramatic footer edge
Load Mountains dark, set the position to Top of section inside your footer, and match the colors. The layered mountains frame the footer like a landscape. On phones, reduce the height to around 60px with a media query.
Example 3: a playful pricing section
Load Scallops or Zigzag at 30–40px. Small, repeating shapes work well between bright sections. Stretch the width to 150% for larger teeth.
Tips
- Use one divider style throughout a page for a consistent rhythm.
- Inverting a shape changes which section it seems to belong to. Try both.
- Waves and curves feel friendly; angles and arrows feel energetic and directional.
- The divider adds no layout shift: its height is fixed in CSS before the page renders.