Hard Drive icon
andrsrxn:hard-drive
The Hard Drive icon (andrsrxn:hard-drive) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons 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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Devices
- Tags
- harddrive
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M18.6 20.44c.7 0 1.05 0 1.34-.06a3 3 0 0 0 2.36-2.35c.05-.3.05-.64.05-1.34s0-1.05-.05-1.34A3 3 0 0 0 19.94 13c-.29-.06-.64-.06-1.34-.06H5.4c-.7 0-1.05 0-1.34.06a3 3 0 0 0-2.36 2.35c-.05.3-.05.64-.05 1.34s0 1.05.05 1.34a3 3 0 0 0 2.36 2.35c.29.06.64.06 1.34.06z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.14 20.44c2.07 0 3.11 0 3.86-.5a3 3 0 0 0 .86-.85c.5-.75.5-1.8.5-3.87c0-.96 0-1.45-.08-1.92l-.15-.66c-.12-.46-.33-.9-.73-1.78l-1.75-3.8c-.78-1.7-1.17-2.55-1.91-3.03c-.74-.47-1.68-.47-3.54-.47H9.87c-1.85 0-2.78 0-3.51.47c-.74.46-1.13 1.3-1.92 2.97l-1.8 3.84c-.42.88-.63 1.32-.76 1.78a6 6 0 0 0-.16.7c-.07.48-.07.96-.07 1.94c0 2.04 0 3.06.47 3.8a3 3 0 0 0 .9.9c.74.48 1.77.48 3.8.48zM2 13h20"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.79 16.1a.57.57 0 1 1 0 1.15a.57.57 0 0 1 0-1.15m4.73 0a.57.57 0 1 1 0 1.15a.57.57 0 0 1 0-1.15"/></g></svg>How to use the Hard Drive icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:hard-drive" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:hard-drive" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:hard-drive" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--hard-drive]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:hard-drive"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:hard-drive"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/hard-drive.svg" alt="Hard Drive icon" width="24" height="24">Related icons in andrsrxn/icons
Hard Drive icon in other icon sets
Hard Drive icon FAQ
Is the Hard Drive icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hard Drive icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:hard-drive" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hard Drive icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/hard-drive.svg" alt="Hard Drive icon">, or paste the SVG code inline to style it with CSS.