ICONYZ
English
Lightning icon from Bootstrap Icons

Lightning icon

bi:lightning

The Lightning icon (bi:lightning) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
Bootstrap Icons
Author
The Bootstrap Authors
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.52.359A.5.5 0 0 1 6 0h4a.5.5 0 0 1 .474.658L8.694 6H12.5a.5.5 0 0 1 .395.807l-7 9a.5.5 0 0 1-.873-.454L6.823 9.5H3.5a.5.5 0 0 1-.48-.641zM6.374 1L4.168 8.5H7.5a.5.5 0 0 1 .478.647L6.78 13.04L11.478 7H8a.5.5 0 0 1-.474-.658L9.306 1z"/></svg>

How to use the Lightning icon

React

import { Icon } from "@iconify/react";

<Icon icon="bi:lightning" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bi:lightning" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bi:lightning" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--lightning]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:lightning"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bi:lightning"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bi/lightning.svg" alt="Lightning icon" width="24" height="24">

Related icons in Bootstrap Icons

Lightning icon in other icon sets

Lightning icon FAQ

Is the Lightning icon free for commercial use?

Yes. Bootstrap 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="bi: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/bi/lightning.svg" alt="Lightning icon">, or paste the SVG code inline to style it with CSS.

Browse all Bootstrap Icons →