ICONYZ
English
Electricity icon from Pepicons

Electricity icon

pepicons:electricity

The Electricity icon (pepicons:electricity) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M15 8h-3.055l1.974-4.606A1 1 0 0 0 13 2H8a1 1 0 0 0-.92.606l-3 7A1 1 0 0 0 5 11h1.734l-2.662 6.627c-.4.995.835 1.836 1.614 1.1l5.024-4.742l4.94-4.225C16.356 9.156 15.93 8 15 8Zm-5.49.606A1 1 0 0 0 10.428 10h1.864l-2.92 2.498l-1.748 1.65l1.517-3.775A1 1 0 0 0 8.214 9H6.517l2.142-5h2.824L9.51 8.606Z" clip-rule="evenodd"/></svg>

How to use the Electricity icon

React

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

<Icon icon="pepicons:electricity" width="24" />

Vue

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

<template>
  <Icon icon="pepicons:electricity" width="24" />
</template>

Svelte

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

<Icon icon="pepicons:electricity" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pepicons:electricity"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pepicons/electricity.svg" alt="Electricity icon" width="24" height="24">

Related icons in Pepicons

Electricity icon in other icon sets

Electricity icon FAQ

Is the Electricity icon free for commercial use?

Yes. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Electricity icon in React?

Install @iconify/react and render <Icon icon="pepicons:electricity" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Electricity icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pepicons/electricity.svg" alt="Electricity icon">, or paste the SVG code inline to style it with CSS.

Browse all Pepicons →