SVG & Decorative Shape Tools for Web Design (2026)
SVG waves, blobs and dividers, measured: our wave was 173 bytes as SVG and 4,253 bytes as a 1x PNG, SVGO cut five Inkscape icons by 43% to 90%, and the CSS d property that animates paths still does nothing in Safari.
Why Shapes Belong in SVG
Waves, blobs and dividers are a handful of curves, and SVG stores curves as math rather than pixels. We drew a typical section wave and a blob and compared them with PNGs of the same shapes rendered in Chromium:
| Shape | SVG | PNG at 1x | PNG at 2x |
|---|---|---|---|
| Wave (1440 × 120) | 173 bytes | 4,253 bytes | 9,548 bytes |
| Blob (400 × 400) | 298 bytes | 6,696 bytes | 14,850 bytes |
The SVGs were 22 to 25 times smaller than the 1x PNGs and about 50 times smaller than the 2x ones, stay sharp at any size or pixel density, and take their color from CSS, so one file serves light and dark themes. A PNG only makes sense when the shape carries texture or photographic detail.
Waves
A wave is a path of cubic Bézier curves closed off along the bottom; amplitude and the number of peaks set its character, and gentle waves with two or three crests sit best between sections. Make one with the SVG Wave Generator and set preserveAspectRatio="none" so it stretches to the full width. Animating the path itself with the CSS d property is tempting, but MDN's compatibility data (checked live on October 14, 2026) lists it in Chrome 52 and Firefox 97 while Safari parses it with no effect; animate with transform, SMIL <animate> or JavaScript instead. Our wave guide covers the details.
Blobs
Blobs are closed smooth paths through randomly offset points around a circle. Use them as soft background shapes, image masks through clip-path: path() or the <clipPath> element, or illustration accents. The Blob Shape Generator shows its seed, so you can recreate a shape you liked; our blob guide explains the geometry.
Optimizing SVG From Design Tools
Editor exports carry metadata, editor-specific attributes, unused definitions and over-precise coordinates. We ran SVGO 3.3.2 with its default preset on five icons made in Inkscape, downloaded from Wikimedia Commons: files shrank by 43.4% to 90% (median 57.6%), and after gzip, which servers usually apply, the optimized files were still 42% to 74% smaller.
| Icon | Original | Optimized | Saved | Gzip before / after |
|---|---|---|---|---|
| Inkscape icon 0 | 4,468 B | 1,216 B | 72.8% | 1,791 / 608 B |
| Inkscape icon 1 | 33,492 B | 3,353 B | 90% | 3,727 / 979 B |
| Inkscape icon 2 | 4,211 B | 2,351 B | 44.2% | 1,308 / 764 B |
| Inkscape icon 3 | 4,048 B | 2,291 B | 43.4% | 1,088 / 631 B |
| Inkscape icon 4 | 6,458 B | 2,740 B | 57.6% | 1,556 / 680 B |
Our SVG Optimizer does the same in the browser with safe and aggressive presets; check the result visually, because aggressive settings can merge paths or round away detail. Our optimization guide lists what each step removes.
Dividers and Seams
When an SVG divider sits at the edge of a section, fractional zoom levels can leave a hairline gap; in our divider tests a 1-pixel overlap removed it. Give the SVG the next section's fill color and set it to the full width.
