Lightning bolt icon (free SVG)
In shortA lightning bolt says fast, powerful or electric: quick actions, power-ups, energy usage, flash sales and thunderstorms. Download this lightning bolt icon free in four styles as a 24×24 SVG that uses
currentColor; every file is under 1 KB and free for commercial use.Variations
The same lightning bolt drawn four ways. Open any of them in the editor to recolour it, change the stroke, rotate or export PNG.
Code
Inline SVG (HTML)
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2.5 4.5 13.5 11 13.5 10 21.5 19.5 9.5 13 9.5"/></svg>React component
export default function LightningBoltIcon({ size = 24, color = "currentColor", ...props }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<polygon points="13 2.5 4.5 13.5 11 13.5 10 21.5 19.5 9.5 13 9.5" />
</svg>
);
}CSS mask (recolour with color)
.icon-lightning-bolt {
display: inline-block;
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2.5 4.5 13.5 11 13.5 10 21.5 19.5 9.5 13 9.5'/%3E%3C/svg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2.5 4.5 13.5 11 13.5 10 21.5 19.5 9.5 13 9.5'/%3E%3C/svg%3E") no-repeat center / contain;
}Image tag
<img src="https://mumshadjawad.com/svg-creator/icons/lightning-bolt-outline.svg" width="24" height="24" alt="">Not sure which to use? See SVG icons in React, SVG icons in CSS and how to change an SVG icon's colour.
Details
- Good for
- fast, energy, power, flash sale, storm
- Grid
- 24 × 24, viewBox="0 0 24 24", 2px safe area
- Outline stroke
- 2px, round caps and joins
- Shapes
- 1 element (outline, classic)
- File sizes
- outline 254 B · filled 262 B · duotone 369 B · glyph 190 B
- Licence
- Free for personal and commercial use, no attribution required
- Collections
- weather and nature icons, developer and tech icons