JSXIcons.com

General icon

Laptop JSX Icon

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

Browse all icons
ComponentLaptopIcon
FilelaptopIcon.jsx
CategoryGeneral

Copy-ready code

Laptop React JSX component

// Source: https://unpkg.com/lucide-static@1.25.0/icons/laptop.svg
// Asset license: Lucide ISC. Some Lucide glyphs derive from Feather under MIT; see the upstream license.
export const LaptopIcon = ({ 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="M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z" />
  <path d="M20.054 15.987H3.946" />
  </svg>
)

How to use the Laptop icon

import { LaptopIcon } from "@/assets/icons/laptopIcon"

export default function Example() {
  return <LaptopIcon 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 Laptop 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.