Lightning icon
andrsrxn:lightning
The Lightning icon (andrsrxn:lightning) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Energy
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="m6.27 10.9l3.93-5.3c2.09-2.8 3.13-4.2 3.86-3.88s.4 2.04-.3 5.47l-.04.22c-.22 1.1-.33 1.66-.03 2.02s.86.37 2 .37h.63c1.73 0 2.59 0 2.87.55s-.24 1.24-1.26 2.64l-4 5.43c-2.1 2.86-3.16 4.28-3.89 3.96s-.38-2.06.32-5.54l.07-.36c.22-1.1.33-1.66.03-2.03s-.86-.36-2-.36h-.59c-1.74 0-2.6 0-2.88-.55s.24-1.25 1.28-2.65" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m6.27 10.9l3.93-5.3c2.09-2.8 3.13-4.2 3.86-3.88s.4 2.04-.3 5.47l-.04.22c-.22 1.1-.33 1.66-.03 2.02s.86.37 2 .37h.63c1.73 0 2.59 0 2.87.55s-.24 1.24-1.26 2.64l-4 5.43c-2.1 2.86-3.16 4.28-3.89 3.96s-.38-2.06.32-5.54l.07-.36c.22-1.1.33-1.66.03-2.03s-.86-.36-2-.36h-.59c-1.74 0-2.6 0-2.88-.55s.24-1.25 1.28-2.65"/></g></svg>How to use the Lightning icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:lightning" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:lightning" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:lightning" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--lightning]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:lightning"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:lightning"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/lightning.svg" alt="Lightning icon" width="24" height="24">Related icons in andrsrxn/icons
Lightning icon in other icon sets
Lightning icon FAQ
Is the Lightning icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Lightning icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:lightning" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lightning icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/lightning.svg" alt="Lightning icon">, or paste the SVG code inline to style it with CSS.