lightning bolt icon
lightning-bolt from Meteocons by Bas Milius · Line · animated · MIT Free for personal and commercial use.
- Name
- lightning-bolt
- Set
- Meteocons
- Style
- Line
- Animation
- Animated SVG (SMIL)
- Viewbox
- 512×512
- License
- MIT
1 other variant in Meteocons
The same icon in other sets
All lightning bolt icons →Use the lightning bolt icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><symbol id="SVG7V8H0dgo" viewBox="0 0 96 176"><path fill="#f6a823" d="M32 0L0 96h32l-16 80L96 64H48L80 0H32z"><animate id="SVGbxDaaeoE" attributeName="opacity" begin="0s; x1.end+.67s" dur="1.33s" keyTimes="0; .38; .5; .63; .75; .86; .94; 1" values="1; 1; 0; 1; 0; 1; 0; 1"/></path></symbol></defs><use width="96" height="176" href="#SVG7V8H0dgo" transform="translate(190.13 132.72)scale(1.36)"/></svg>
React
import type { SVGProps } from "react";
export function MeteoconsLightningBolt(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><symbol id="SVG7V8H0dgo" viewBox="0 0 96 176"><path fill="#f6a823" d="M32 0L0 96h32l-16 80L96 64H48L80 0H32z"><animate id="SVGbxDaaeoE" attributeName="opacity" begin="0s; x1.end+.67s" dur="1.33s" keyTimes="0; .38; .5; .63; .75; .86; .94; 1" values="1; 1; 0; 1; 0; 1; 0; 1"/></path></symbol></defs><use width="96" height="176" href="#SVG7V8H0dgo" transform="translate(190.13 132.72)scale(1.36)"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><symbol id="SVG7V8H0dgo" viewBox="0 0 96 176"><path fill="#f6a823" d="M32 0L0 96h32l-16 80L96 64H48L80 0H32z"><animate id="SVGbxDaaeoE" attributeName="opacity" begin="0s; x1.end+.67s" dur="1.33s" keyTimes="0; .38; .5; .63; .75; .86; .94; 1" values="1; 1; 0; 1; 0; 1; 0; 1"/></path></symbol></defs><use width="96" height="176" href="#SVG7V8H0dgo" transform="translate(190.13 132.72)scale(1.36)"/></svg> </template>
CSS
.icon-lightning-bolt {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cdefs%3E%3Csymbol%20id%3D%22SVG7V8H0dgo%22%20viewBox%3D%220%200%2096%20176%22%3E%3Cpath%20fill%3D%22%23f6a823%22%20d%3D%22M32%200L0%2096h32l-16%2080L96%2064H48L80%200H32z%22%20opacity%3D%221%22%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%2296%22%20height%3D%22176%22%20href%3D%22%23SVG7V8H0dgo%22%20transform%3D%22translate(190.13%20132.72)scale(1.36)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cdefs%3E%3Csymbol%20id%3D%22SVG7V8H0dgo%22%20viewBox%3D%220%200%2096%20176%22%3E%3Cpath%20fill%3D%22%23f6a823%22%20d%3D%22M32%200L0%2096h32l-16%2080L96%2064H48L80%200H32z%22%20opacity%3D%221%22%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%2296%22%20height%3D%22176%22%20href%3D%22%23SVG7V8H0dgo%22%20transform%3D%22translate(190.13%20132.72)scale(1.36)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}This icon is animated. Browsers do not run SVG animation inside a CSS mask, so the rule above uses a still of the drawn icon. Inline the SVG (or use the React/Vue/Svelte snippet) to keep the animation.
Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/meteocons/lightning-bolt.svg?color=%231a73e8&size=48