battery icon
battery from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.
- Name
- battery
- Set
- Huge Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
batteryBootstrap IconsbatteryBoxIcons v2batteryBoxIcons v2 SolidbatteryEmoji One (Colored)battery-fillEva IconsbatteryFont Awesome SolidbatteryFeather Iconsbattery-outlineFlowbite IconsbatteryFluent EmojibatteryFluent Emoji FlatbatteryFluent Emoji High ContrastbatteryFirefox OS Emojibatterycss.ggbatteryHumbleiconsbatteryJam IconsbatteryLucidebatteryMajesticonsbatteryMaterial Design Iconsbattery-fillMingCute IconbatteryNoto EmojibatteryOpenMojibatteryPixelarticonsbattery-fillRemix IconbatteryStreamline Emojis
Related icons in Huge Icons
Use the battery icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
React
import type { SVGProps } from "react";
export function HugeiconsBattery(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="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>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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> </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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M8%2018h8.5c.464%200%20.697%200%20.892-.026a3%203%200%200%200%202.582-2.582c.026-.195.026-.428.026-.892a2%202%200%200%200%202-2v-1a2%202%200%200%200-2-2c0-.464%200-.697-.026-.892a3%203%200%200%200-2.582-2.582C17.197%206%2016.964%206%2016.5%206H8c-2.828%200-4.243%200-5.121.879C2%207.757%202%209.172%202%2012s0%204.243.879%205.121C3.757%2018%205.172%2018%208%2018%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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M8%2018h8.5c.464%200%20.697%200%20.892-.026a3%203%200%200%200%202.582-2.582c.026-.195.026-.428.026-.892a2%202%200%200%200%202-2v-1a2%202%200%200%200-2-2c0-.464%200-.697-.026-.892a3%203%200%200%200-2.582-2.582C17.197%206%2016.964%206%2016.5%206H8c-2.828%200-4.243%200-5.121.879C2%207.757%202%209.172%202%2012s0%204.243.879%205.121C3.757%2018%205.172%2018%208%2018%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/battery.svg?color=%231a73e8&size=48