ICONYZ
English
Battery icon from Huge Icons

Battery icon

hugeicons:battery

The Battery icon (hugeicons:battery) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8 18h8.5c.464 0 .697 0 .892-.026a3 3 0 0 0 2.582-2.582c.026-.195.026-.428.026-.892a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2c0-.464 0-.697-.026-.892a3 3 0 0 0-2.582-2.582C17.197 6 16.964 6 16.5 6H8c-2.828 0-4.243 0-5.121.879C2 7.757 2 9.172 2 12s0 4.243.879 5.121C3.757 18 5.172 18 8 18"/></svg>

How to use the Battery icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Huge Icons

Battery icon in other icon sets

Battery icon FAQ

Is the Battery icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Battery icon in React?

Install @iconify/react and render <Icon icon="hugeicons: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/hugeicons/battery.svg" alt="Battery icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →