JSXIcons.com

General icon

Battery JSX Icon

Copy the Battery icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.

Browse all icons
ComponentBatteryIcon
FilebatteryIcon.jsx
CategoryGeneral

Copy-ready code

Battery React JSX component

// Source: https://unpkg.com/lucide-static@1.25.0/icons/battery.svg
// Asset license: Lucide ISC. Some Lucide glyphs derive from Feather under MIT; see the upstream license.
export const BatteryIcon = ({ width = "40px", height = "40px", color = "currentColor", ...props }) => (
  <svg {...props} width={width} height={height} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" role="img">
    <path d="M 22 14 L 22 10" />
  <rect x="2" y="6" width="16" height="12" rx="2" />
  </svg>
)

How to use the Battery icon

import { BatteryIcon } from "@/assets/icons/batteryIcon"

export default function Example() {
  return <BatteryIcon width="32px" height="32px" />
}

Built for the web

Use it in your stack

This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.

ReactNext.jsJSXSVGGeneral icons

Looking for a similar mark? Browse the related icons below or explore the full general collection.

Related JSX icons

FAQ

Is the Battery JSX icon free?

Yes. You can copy the JSX component and use it in React and Next.js projects.

Can I customize it?

Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.