Desktop icon
lets-icons:desktop
The Desktop icon (lets-icons:desktop) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Lets Icons
- Author
- Leonid Tsvetkov
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Devices
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><path id="SVGzgdBobCE" d="M3 8c0-1.886 0-2.828.586-3.414S5.114 4 7 4h10c1.886 0 2.828 0 3.414.586S21 6.114 21 8v9H3z"/></defs><mask id="SVGtNCHMdjs" fill="#fff"><use href="#SVGzgdBobCE"/></mask><mask id="SVGdDu8ikNp" width="22" height="6" x="1" y="15" fill="#000" maskUnits="userSpaceOnUse"><path fill="#fff" d="M1 15h22v6H1z"/><path d="M3 17.667c0-.369.298-.667.667-.667h16.666c.369 0 .667.299.667.667c0 .736-.597 1.333-1.333 1.333H4.333A1.333 1.333 0 0 1 3 17.667"/></mask><g fill="none" stroke="currentColor" stroke-width="4"><use href="#SVGzgdBobCE" mask="url(#SVGtNCHMdjs)"/><path d="M3 17.667c0-.369.298-.667.667-.667h16.666c.369 0 .667.299.667.667c0 .736-.597 1.333-1.333 1.333H4.333A1.333 1.333 0 0 1 3 17.667Z" mask="url(#SVGdDu8ikNp)"/></g></svg>How to use the Desktop icon
React
import { Icon } from "@iconify/react";
<Icon icon="lets-icons:desktop" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lets-icons:desktop" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lets-icons:desktop" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--desktop]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lets-icons -->
<div class="i-lets-icons:desktop"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lets-icons:desktop"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lets-icons/desktop.svg" alt="Desktop icon" width="24" height="24">Related icons in Lets Icons
Desktop icon in other icon sets
Desktop icon FAQ
Is the Desktop icon free for commercial use?
Yes. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Desktop icon in React?
Install @iconify/react and render <Icon icon="lets-icons:desktop" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Desktop icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lets-icons/desktop.svg" alt="Desktop icon">, or paste the SVG code inline to style it with CSS.