Hard Drive icon
gravity-ui:hard-drive
The Hard Drive icon (gravity-ui:hard-drive) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI 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
- Gravity UI Icons
- Author
- YANDEX LLC
- License
- MIT
- Size
- 24 × 24
- Tags
- harddrive
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12 8.5a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 11v-1A1.5 1.5 0 0 1 4 8.5zm.89-1.366L11.488 4.33a1.5 1.5 0 0 0-1.342-.829H5.854a1.5 1.5 0 0 0-1.342.83L3.11 7.133A3 3 0 0 1 4 7h8a3 3 0 0 1 .89.134M15 9.18V11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V9.18a5 5 0 0 1 .528-2.236L3.17 3.658A3 3 0 0 1 5.854 2h4.292a3 3 0 0 1 2.683 1.658l1.643 3.286A5 5 0 0 1 15 9.18m-6 .57a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>How to use the Hard Drive icon
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:hard-drive" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:hard-drive" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:hard-drive" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--hard-drive]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:hard-drive"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gravity-ui:hard-drive"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gravity-ui/hard-drive.svg" alt="Hard Drive icon" width="24" height="24">Hard Drive icon in other icon sets
Hard Drive icon FAQ
Is the Hard Drive icon free for commercial use?
Yes. Gravity UI 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="gravity-ui: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/gravity-ui/hard-drive.svg" alt="Hard Drive icon">, or paste the SVG code inline to style it with CSS.