ICONYZ
English
Hard Drive icon from Open Iconic

Hard Drive icon

oi:hard-drive

The Hard Drive icon (oi:hard-drive) is a free SVG icon from the Open Iconic set by Iconic. It is drawn on a 8 × 8 grid. Open Iconic 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
Open Iconic
Author
Iconic
License
MIT
Size
8 × 8
Tags
harddrive
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="currentColor" d="M.19 0C.08 0 0 .08 0 .19V3.5c0 .28.22.5.5.5h6c.28 0 .5-.22.5-.5V.19C7 .08 6.92 0 6.81 0H.18zM0 4.91v2.91c0 .11.08.19.19.19h6.63c.11 0 .19-.08.19-.19V4.91c-.16.06-.32.09-.5.09h-6c-.18 0-.34-.04-.5-.09zM5.5 6c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5"/></svg>

How to use the Hard Drive icon

React

import { Icon } from "@iconify/react";

<Icon icon="oi:hard-drive" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="oi:hard-drive" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="oi:hard-drive" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[oi--hard-drive]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/oi -->
<div class="i-oi:hard-drive"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="oi:hard-drive"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/oi/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. Open Iconic 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="oi: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/oi/hard-drive.svg" alt="Hard Drive icon">, or paste the SVG code inline to style it with CSS.

Browse all Open Iconic icons →