lightning bolt icon

lightning-bolt-fill from Meteocons by Bas Milius · Fill · animated · MIT Free for personal and commercial use.

Name
lightning-bolt-fill
Set
Meteocons
Style
Fill
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><linearGradient id="SVGvnYDXzed" x1="8.7" x2="80.9" y1="17.1" y2="142.1" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f7b23b"/><stop offset=".5" stop-color="#f7b23b"/><stop offset="1" stop-color="#f59e0b"/></linearGradient><symbol id="SVGpUv0Udwf" viewBox="0 0 102.7 186.8"><path fill="url(#SVGvnYDXzed)" stroke="#f6a823" stroke-miterlimit="10" stroke-width="4" d="m34.8 2l-32 96h32l-16 80l80-112h-48l32-64h-48z"><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="102.7" height="186.7" href="#SVGpUv0Udwf" transform="translate(186.37 130)scale(1.36)"/></svg>

React

import type { SVGProps } from "react";

export function MeteoconsLightningBoltFill(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGvnYDXzed" x1="8.7" x2="80.9" y1="17.1" y2="142.1" gradientUnits="userSpaceOnUse"><stop offset="0" stopColor="#f7b23b"/><stop offset=".5" stopColor="#f7b23b"/><stop offset="1" stopColor="#f59e0b"/></linearGradient><symbol id="SVGpUv0Udwf" viewBox="0 0 102.7 186.8"><path fill="url(#SVGvnYDXzed)" stroke="#f6a823" strokeMiterlimit="10" strokeWidth="4" d="m34.8 2l-32 96h32l-16 80l80-112h-48l32-64h-48z"><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="102.7" height="186.7" href="#SVGpUv0Udwf" transform="translate(186.37 130)scale(1.36)"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGvnYDXzed" x1="8.7" x2="80.9" y1="17.1" y2="142.1" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f7b23b"/><stop offset=".5" stop-color="#f7b23b"/><stop offset="1" stop-color="#f59e0b"/></linearGradient><symbol id="SVGpUv0Udwf" viewBox="0 0 102.7 186.8"><path fill="url(#SVGvnYDXzed)" stroke="#f6a823" stroke-miterlimit="10" stroke-width="4" d="m34.8 2l-32 96h32l-16 80l80-112h-48l32-64h-48z"><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="102.7" height="186.7" href="#SVGpUv0Udwf" transform="translate(186.37 130)scale(1.36)"/></svg>
</template>

CSS

.icon-lightning-bolt-fill {
  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%3ClinearGradient%20id%3D%22SVGvnYDXzed%22%20x1%3D%228.7%22%20x2%3D%2280.9%22%20y1%3D%2217.1%22%20y2%3D%22142.1%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f7b23b%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23f7b23b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f59e0b%22%2F%3E%3C%2FlinearGradient%3E%3Csymbol%20id%3D%22SVGpUv0Udwf%22%20viewBox%3D%220%200%20102.7%20186.8%22%3E%3Cpath%20fill%3D%22url(%23SVGvnYDXzed)%22%20stroke%3D%22%23f6a823%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%224%22%20d%3D%22m34.8%202l-32%2096h32l-16%2080l80-112h-48l32-64h-48z%22%20opacity%3D%221%22%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%22102.7%22%20height%3D%22186.7%22%20href%3D%22%23SVGpUv0Udwf%22%20transform%3D%22translate(186.37%20130)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%3ClinearGradient%20id%3D%22SVGvnYDXzed%22%20x1%3D%228.7%22%20x2%3D%2280.9%22%20y1%3D%2217.1%22%20y2%3D%22142.1%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f7b23b%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23f7b23b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f59e0b%22%2F%3E%3C%2FlinearGradient%3E%3Csymbol%20id%3D%22SVGpUv0Udwf%22%20viewBox%3D%220%200%20102.7%20186.8%22%3E%3Cpath%20fill%3D%22url(%23SVGvnYDXzed)%22%20stroke%3D%22%23f6a823%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%224%22%20d%3D%22m34.8%202l-32%2096h32l-16%2080l80-112h-48l32-64h-48z%22%20opacity%3D%221%22%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%22102.7%22%20height%3D%22186.7%22%20href%3D%22%23SVGpUv0Udwf%22%20transform%3D%22translate(186.37%20130)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-fill.svg?color=%231a73e8&size=48