Battery icon
duo-icons:battery
The Battery icon (duo-icons:battery) is a free SVG icon from the Duoicons set by fernandcf. It is drawn on a 24 × 24 grid. Duoicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 6a2 2 0 0 1 2 2v1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2v1a2 2 0 0 1-2 2h-5.101l2.664-4.441c.986-1.642.197-3.65-1.405-4.325l.415-.69c.478-.799.543-1.73.255-2.544z" class="duoicon-secondary-layer" opacity=".3"/><path fill="currentColor" d="M11.142 6.486a1 1 0 0 1 1.77.925l-.055.104L10.768 11h2.215c.746 0 1.221.773.92 1.427l-.054.103l-2.99 4.985a1 1 0 0 1-1.77-.926l.055-.104L11.233 13H9.019a1.01 1.01 0 0 1-.92-1.427l.054-.103l2.99-4.984z" class="duoicon-primary-layer"/><path fill="currentColor" d="m9.101 6l-2.664 4.441c-.953 1.587-.247 3.516 1.247 4.253l.158.072l-.414.69a3 3 0 0 0-.317 2.354l.06.19H4a2 2 0 0 1-1.995-1.85L2 16V8a2 2 0 0 1 1.85-1.994L4 6z" class="duoicon-secondary-layer" opacity=".3"/></svg>How to use the Battery icon
React
import { Icon } from "@iconify/react";
<Icon icon="duo-icons:battery" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="duo-icons:battery" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="duo-icons:battery" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[duo-icons--battery]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/duo-icons -->
<div class="i-duo-icons:battery"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="duo-icons:battery"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/duo-icons/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. Duoicons 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="duo-icons: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/duo-icons/battery.svg" alt="Battery icon">, or paste the SVG code inline to style it with CSS.