Lightning icon
ph:lightning
The Lightning icon (ph:lightning) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- meteorology, stormy, thunderstorm, thunderbolt, charged, charger, charging, power, electricity, flash
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M215.79 118.17a8 8 0 0 0-5-5.66L153.18 90.9l14.66-73.33a8 8 0 0 0-13.69-7l-112 120a8 8 0 0 0 3 13l57.63 21.61l-14.62 73.25a8 8 0 0 0 13.69 7l112-120a8 8 0 0 0 1.94-7.26M109.37 214l10.47-52.38a8 8 0 0 0-5-9.06L62 132.71l84.62-90.66l-10.46 52.38a8 8 0 0 0 5 9.06l52.8 19.8Z"/></svg>How to use the Lightning icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:lightning" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:lightning" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:lightning" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--lightning]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:lightning"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:lightning"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/lightning.svg" alt="Lightning icon" width="24" height="24">Related icons in Phosphor
lightning-a
lightning-a-bold
lightning-a-duotone
lightning-a-fill
lightning-a-light
lightning-a-thin
lightning-bold
lightning-duotone
lightning-fill
lightning-light
lightning-slash
lightning-slash-bold
lightning-slash-duotone
lightning-slash-fill
lightning-slash-light
lightning-slash-thin
lightning-thin
Lightning icon in other icon sets
Lightning icon FAQ
Is the Lightning icon free for commercial use?
Yes. Phosphor 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="ph: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/ph/lightning.svg" alt="Lightning icon">, or paste the SVG code inline to style it with CSS.