battery icon
battery from Font Awesome Solid by Dave Gandy · Solid · CC-BY-4.0 Attribution required.
- Name
- battery
- Set
- Font Awesome Solid
- Style
- Solid
- Viewbox
- 640×640
- License
- CC BY 4.0
The same icon in other sets
batteryBootstrap IconsbatteryBoxIcons v2batteryBoxIcons v2 SolidbatteryEmoji One (Colored)battery-fillEva IconsbatteryFeather Iconsbattery-outlineFlowbite IconsbatteryFluent EmojibatteryFluent Emoji FlatbatteryFluent Emoji High ContrastbatteryFirefox OS Emojibatterycss.ggbatteryHuge IconsbatteryHumbleiconsbatteryJam IconsbatteryLucidebatteryMajesticonsbatteryMaterial Design Iconsbattery-fillMingCute IconbatteryNoto EmojibatteryOpenMojibatteryPixelarticonsbattery-fillRemix IconbatteryStreamline Emojis
Related icons in Font Awesome Solid
Use the battery icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M528 192c8.8 0 16 7.2 16 16v224c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm-416-64c-44.2 0-80 35.8-80 80v224c0 44.2 35.8 80 80 80h416c44.2 0 80-35.8 80-80v-48c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32v-48c0-44.2-35.8-80-80-80zm56 112c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24h304c13.3 0 24-10.7 24-24V264c0-13.3-10.7-24-24-24z"/></svg>
React
import type { SVGProps } from "react";
export function Fa7SolidBattery(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M528 192c8.8 0 16 7.2 16 16v224c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm-416-64c-44.2 0-80 35.8-80 80v224c0 44.2 35.8 80 80 80h416c44.2 0 80-35.8 80-80v-48c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32v-48c0-44.2-35.8-80-80-80zm56 112c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24h304c13.3 0 24-10.7 24-24V264c0-13.3-10.7-24-24-24z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M528 192c8.8 0 16 7.2 16 16v224c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm-416-64c-44.2 0-80 35.8-80 80v224c0 44.2 35.8 80 80 80h416c44.2 0 80-35.8 80-80v-48c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32v-48c0-44.2-35.8-80-80-80zm56 112c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24h304c13.3 0 24-10.7 24-24V264c0-13.3-10.7-24-24-24z"/></svg> </template>
CSS
.icon-battery {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M528%20192c8.8%200%2016%207.2%2016%2016v224c0%208.8-7.2%2016-16%2016H112c-8.8%200-16-7.2-16-16V208c0-8.8%207.2-16%2016-16zm-416-64c-44.2%200-80%2035.8-80%2080v224c0%2044.2%2035.8%2080%2080%2080h416c44.2%200%2080-35.8%2080-80v-48c17.7%200%2032-14.3%2032-32v-64c0-17.7-14.3-32-32-32v-48c0-44.2-35.8-80-80-80zm56%20112c-13.3%200-24%2010.7-24%2024v112c0%2013.3%2010.7%2024%2024%2024h304c13.3%200%2024-10.7%2024-24V264c0-13.3-10.7-24-24-24z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M528%20192c8.8%200%2016%207.2%2016%2016v224c0%208.8-7.2%2016-16%2016H112c-8.8%200-16-7.2-16-16V208c0-8.8%207.2-16%2016-16zm-416-64c-44.2%200-80%2035.8-80%2080v224c0%2044.2%2035.8%2080%2080%2080h416c44.2%200%2080-35.8%2080-80v-48c17.7%200%2032-14.3%2032-32v-64c0-17.7-14.3-32-32-32v-48c0-44.2-35.8-80-80-80zm56%20112c-13.3%200-24%2010.7-24%2024v112c0%2013.3%2010.7%2024%2024%2024h304c13.3%200%2024-10.7%2024-24V264c0-13.3-10.7-24-24-24z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa7-solid/battery.svg?color=%231a73e8&size=48