Hard Disk Line icon
clarity:hard-disk-line
The Hard Disk Line icon (clarity:hard-disk-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M34 21.08L30.86 8.43A2 2 0 0 0 28.94 7H7.06a2 2 0 0 0-1.93 1.47L2 21.08a1 1 0 0 0 0 .24V29a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2v-7.69a1 1 0 0 0 0-.23M4 29v-7.56L7.06 9h21.87L32 21.44V29Z" class="clr-i-outline clr-i-outline-path-1"/><path fill="currentColor" d="M6 20h24v2H6z" class="clr-i-outline clr-i-outline-path-2"/><path fill="currentColor" d="M26 24h4v2h-4z" class="clr-i-outline clr-i-outline-path-3"/><path fill="none" d="M0 0h36v36H0z"/></svg>How to use the Hard Disk Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="clarity:hard-disk-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="clarity:hard-disk-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="clarity:hard-disk-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--hard-disk-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:hard-disk-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="clarity:hard-disk-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/clarity/hard-disk-line.svg" alt="Hard Disk Line icon" width="24" height="24">Related icons in Clarity
Hard Disk Line icon FAQ
Is the Hard Disk Line icon free for commercial use?
Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hard Disk Line icon in React?
Install @iconify/react and render <Icon icon="clarity:hard-disk-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hard Disk Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/hard-disk-line.svg" alt="Hard Disk Line icon">, or paste the SVG code inline to style it with CSS.