Computer Desktop icon
heroicons:computer-desktop
The Computer Desktop icon (heroicons:computer-desktop) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- computerdesktop
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"/></svg>How to use the Computer Desktop icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:computer-desktop" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:computer-desktop" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:computer-desktop" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--computer-desktop]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:computer-desktop"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:computer-desktop"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/computer-desktop.svg" alt="Computer Desktop icon" width="24" height="24">Related icons in HeroIcons
Computer Desktop icon in other icon sets
Computer Desktop icon FAQ
Is the Computer Desktop icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Computer Desktop icon in React?
Install @iconify/react and render <Icon icon="heroicons:computer-desktop" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Computer Desktop icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/computer-desktop.svg" alt="Computer Desktop icon">, or paste the SVG code inline to style it with CSS.