Here’s a self-contained, detailed SVG that draws a stylized butterfly with gradients, spots, veins, antennae and a drop‐shadow. You can paste this into an .html file or view it directly in any SVG-capable viewer.
<svg
width="800" height="600"
viewBox="0 0 800 600"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<!-- Define reusable gradients, filters, and styles -->
<defs>
<!-- Wing color gradient: orange → yellow -->
<linearGradient id="wingGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#FF9000"/>
<stop offset="100%" stop-color="#FFD700"/>
</linearGradient>
<!-- Spot gradient for the wing spots -->
<radialGradient id="spotGradient" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="rgba(0,0,0,0.7)"/>
<stop offset="100%" stop-color="rgba(0,0,0,0)"/>
</radialGradient>
<!-- Soft drop shadow for the whole butterfly -->
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
<feDropShadow dx="4" dy="4" stdDeviation="4" flood-color="#000" flood-opacity="0.4"/>
</filter>
<!-- Wing vein style -->
<style type="text/css"><![CDATA[
.vein {
fill: none;
stroke: #663300;
stroke-width: 2;
stroke-linecap: round;
}
]]></style>
</defs>
<!-- Background (optional) -->
<rect width="100%" height="100%" fill="#E0F7FA"/>
<!-- Group the butterfly and apply shadow -->
<g filter="url(#shadow)" transform="translate(400,300)">
<!-- BODY -->
<g id="body" fill="#333" stroke="#222" stroke-width="2">
<!-- Head -->
<circle cx="0" cy="-30" r="18"/>
<!-- Thorax -->
<ellipse cx="0" cy="0" rx="12" ry="30"/>
<!-- Abdomen segments -->
<ellipse cx="0" cy="45" rx="10" ry="20"/>
<ellipse cx="0" cy="75" rx="8" ry="18"/>
<ellipse cx="0" cy="105" rx="6" ry="16"/>
</g>
<!-- ANTENNAE -->
<path
d="M0,-48
C -20,-80 -40,-100 -50,-120"
fill="none" stroke="#333" stroke-width="4" stroke-linecap="round"
/>
<path
d="M0,-48
C 20,-80 40,-100 50,-120"
fill="none" stroke="#333" stroke-width="4" stroke-linecap="round"
/>
<!-- WINGS GROUP -->
<g id="wings">
<!-- LEFT WING -->
<g id="wing-left">
<!-- Main Wing Shape -->
<path
d="
M0,0
C -200,-80 -260, 80 -120,120
C -180,160 -100,200 -40,140
C -20,180 20,180 0,120
C 100,80 40,-80 0,0
Z
"
fill="url(#wingGradient)"
stroke="#993300" stroke-width="3"
/>
<!-- Veins -->
<path class="vein" d="M0,0 C -120,30 -160,10 -200,-20"/>
<path class="vein" d="M0,0 C -90,60 -130,100 -180,130"/>
<path class="vein" d="M0,0 C -80,-30 -140,-10 -180,20"/>
<path class="vein" d="M0,0 C -50,20 -70,80 -110,120"/>
<!-- Spots -->
<circle cx="-140" cy="40" r="20" fill="url(#spotGradient)"/>
<circle cx="-100" cy="-20" r="15" fill="url(#spotGradient)"/>
<circle cx="-60" cy="90" r="12" fill="url(#spotGradient)"/>
</g>
<!-- RIGHT WING (mirror of left) -->
<g id="wing-right" transform="scale(-1,1)">
<use xlink:href="#wing-left"/>
</g>
</g>
</g>
</svg>
How it works:
• <defs> holds gradients, filters, and a CSS style for veins.
• We draw a simple 4-segment body with circles/ellipses and two antenna curves.
• Wings are one complex path (Bezier curves) filled by a linear gradient, with brownish stroke.
• Wing veins and spots add detail.
• The right wing is just a mirrored copy of the left (using scale(-1,1)).
• A subtle drop shadow filter gives lift off the page.
You can tweak colors, sizes or add more spots/veins to suit your taste! 🦋