ICONYZ
English
Battery icon from OpenMoji

Battery icon

openmoji:battery

The Battery icon (openmoji:battery) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#d0cfce" d="M59.971 42.799a1 1 0 0 1 1-1h4.143v-9.184h-4.143a1 1 0 0 1-1-1m0 0v-7.158H6.662V49.47h53.309v-6.671"/><path fill="#d0cfce" d="M61.083 32.349a1 1 0 0 1-1-1v-7.16H6.773v25.014h53.313V42.53a1 1 0 0 1 1-1h4.143v-9.18z"/><path fill="#b1cc33" d="M12.002 45.367h32.239V28.36H12.002z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M61.081 31.348v-7.16a1 1 0 0 0-1-1H6.772a1 1 0 0 0-1 1v25.017a1 1 0 0 0 1 1h53.313a1 1 0 0 0 1-1V42.53h5.143V31.347z"/><path d="M11 27.36h34.239v19.007H11z"/></g></svg>

How to use the Battery icon

React

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

<Icon icon="openmoji:battery" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:battery" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:battery" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:battery"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/battery.svg" alt="Battery icon" width="24" height="24">

Battery icon in other icon sets

Battery icon FAQ

Is the Battery icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Battery icon in React?

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

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

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

Browse all OpenMoji icons →