ICONYZ
English
Battery icon from Material Design Iconic Font

Battery icon

zmdi:battery

The Battery icon (zmdi:battery) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 216 × 432 grid. Material Design Iconic Font icons are released under the Open Font 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
Material Design Iconic Font
Author
MDI Community
License
OFL-1.1
Size
216 × 432
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="216" height="432" viewBox="0 0 216 432"><path fill="currentColor" d="M185 45q12 0 20 8.5t8 20.5v327q0 12-8 20t-20 8H28q-11 0-19.5-8T0 401V74q0-12 8.5-20.5T28 45h36V3h85v42z"/></svg>

How to use the Battery icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Material Design Iconic Font

Battery icon in other icon sets

Battery icon FAQ

Is the Battery icon free for commercial use?

Yes. Material Design Iconic Font icons are released under the Open Font 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="zmdi: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/zmdi/battery.svg" alt="Battery icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Iconic Font icons →