SVG Shape Divider Generator
Responsive wave, curve, angle and zigzag dividers with copy-ready SVG or CSS.
Divider settings
wave · 120pxPreview & code
wave · curved shapewave divider, 120px tall, 55% amplitude.
Examples
Hero to body wave
shape: wave · height: 120 · amplitude: 55% · waves: 3<svg viewBox="0 0 1440 120" preserveAspectRatio="none" …><path d="M 0 60 C …"/></svg>The shape stretches to the full container width while keeping a 120px exported height.
Slanted break
shape: angle · tilt: 20° · amplitude: 60%clip-path: polygon(0% 40%, 100% 8.1%, 100% 100%, 0% 100%)Polygonal shapes can be exported as a CSS clip path when an SVG element is not wanted.
Inverted zigzag
shape: zigzag · peaks: 8 · flipY: onThe source path's y coordinates are mirrored around the viewBox height.Flipping happens in path generation, so the copied code needs no transform wrapper.
About this tool
SVG Shape Divider Generator creates width-fluid section separators: waves, single-arc curves, straight angles, zigzags and tilted bands. Choose a shape, set the exported height and amplitude, then flip either axis or add a gradient and a soft shadow layer. The preview places the divider between two stacked sections so its real-world placement is visible before any code is copied.
Every shape is built in a 1440-unit-wide viewBox with the chosen pixel height. Exports use preserveAspectRatio="none" by default, which lets one divider span any container width; a fixed-ratio mode is available when stretching would distort the design. Flips are applied to the generated path coordinates rather than a CSS transform, keeping the exported markup self-contained.
Three export forms are available: inline SVG markup, a CSS background image data URI, and a clip-path polygon for the polygonal shapes. Curved waves and arcs cannot be represented by a polygon, so that tab is disabled with an explanation. Generation is entirely client-side and the output has no external references or tracking.
What this tool does not do
- Dividers are single shapes; full page templates and section content are not generated.
- Clip-path export is limited to angle, zigzag and tilt shapes.
- The preview simulates two sections; exact appearance depends on your page colors and CSS.
- There is no animation export in this version.
How to use this tool
Pick a shape
Choose wave, curve, angle, zigzag or tilt. Use the preset chips for a quick starting point.
Set height and amplitude
Height controls the exported pixel height (20–400); amplitude controls how far the surface moves from its midline.
Adjust style
Set colors, optionally enable a gradient or shadow layer, and flip horizontally or vertically if the shape faces the wrong way.
Copy the code
Switch between SVG markup, CSS background and clip-path, then copy or download the snippet.
Use cases
Landing pages
Separate a colored hero from a white content section without an image editor or a third-party site.
Theme development
Generate a family of matching dividers with the same height and color but different shapes for reusable theme variants.
CSS-only layouts
Use the clip-path export for angular dividers when the project cannot include inline SVG.
Exports and when to use them
| Export | Use case |
|---|---|
| SVG markup | Inline between two sections; style with display:block and width:100% |
| CSS background | A divider painted as a background-image on a full-width element |
| clip-path polygon | A CSS-only divider for angle, zigzag and tilt shapes |
| Download | Save the markup or CSS for a design-system hand-off |
Curved dividers have no polygon equivalent; the clip-path tab explains why it is unavailable.
Common mistakes
Mistake:Leaving an inline SVG as the default inline element.
Fix:Add display:block and width:100%; the exported markup already sets both in its style attribute.
Mistake:Expecting a clip-path export for a wave.
Fix:Curves are not polygons. Use SVG markup or a CSS background for wave and curve dividers.
Mistake:Using the blob generator for a section boundary.
Fix:Blobs are closed decorative shapes; dividers are width-fluid separators built for section edges.
Mistake:Applying a CSS transform to flip the shape.
Fix:Use the Flip X / Flip Y controls: coordinates are mirrored in the path so the export stays standalone.
Frequently asked questions
How do I make the divider responsive?
Exports use a 1440-unit viewBox with preserveAspectRatio="none" and a style of display:block; width:100%. Place the SVG between your sections and it stretches to the container width while keeping the chosen pixel height.
Why does my divider look stretched?
That is the default: the shape scales horizontally to fill its container, so curves become shallower on wide screens. Enable Keep aspect ratio to switch to xMidYMax meet, which preserves the original proportions but may leave side gaps.
What does preserveAspectRatio="none" do?
It tells the SVG to scale x and y independently instead of preserving the viewBox ratio. That is what makes a single divider fit any width without cropping or letterboxing.
Can I use clip-path instead of SVG?
Yes for the polygonal shapes — angle, zigzag and tilt — which export a CSS polygon() with percentage coordinates. Waves and curves contain cubic Bézier segments that a polygon cannot represent, so that tab is disabled for them.
How do I flip a divider?
Use the Flip X and Flip Y checkboxes. They mirror the generated path coordinates rather than applying a CSS transform, so the copied code is standalone. Enabling both produces a full inversion.
Does the tool upload my design?
No. Paths, colors and gradient stops are generated and rendered entirely in your browser. The exported SVG and CSS contain no external references or tracking.
References & standards
Related tools
Aspect Ratio Calculator
Calculate dimensions and ratios for images and videos.
Border Radius Generator
Visually craft CSS border-radius values — including the advanced 8-value slash syntax for organic blob shapes — with a live preview and one-click copy.
Box Shadow Generator
Visual CSS box-shadow generator. Create beautiful shadows with live preview and copy the CSS code.
CSS :has() Selector Playground
Try the CSS :has() parent selector on live editable HTML and CSS, with ten patterns, dropped-rule detection and specificity notes.
CSS Button Generator
Design buttons with hover, active, focus-visible and disabled states — gradients, shadows, borders, icons — and copy clean CSS or Tailwind.
CSS Clip-Path Generator
Draw clip-path shapes visually: drag polygon points, tune circle/ellipse/inset presets, paste an SVG path and copy responsive CSS.