hard drive icon
hard-drive from Font Awesome 6 Regular by Dave Gandy · Regular · CC-BY-4.0 Attribution required.
- Name
- hard-drive
- Set
- Font Awesome 6 Regular
- Style
- Regular
- Viewbox
- 512×512
- License
- CC BY 4.0
The same icon in other sets
hard-drive-fillEva Iconshard-driveFont Awesome 6 Solidhard-driveFont Awesome Regularhard-driveFont Awesome Solidhard-driveFeather Iconshard-drive-16-filledFluent UI System Iconshard-driveHuge Iconshard-driveIconoirhard-driveLucidehard-driveMajesticonshard-driveMaterial Symbolshard-driveMaterial Symbols Lighthard-driveMyna UI Iconshard-drivePhosphorhard-drive-fillRemix Iconhard-driveTDesign Icons
Use the hard drive icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M64 80c-8.8 0-16 7.2-16 16v162c5.1-1.3 10.5-2 16-2h384c5.5 0 10.9.7 16 2V96c0-8.8-7.2-16-16-16zM48 320v96c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16m-48 0V96c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v320c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64zm280 48a24 24 0 1 1 48 0a24 24 0 1 1-48 0m120-24a24 24 0 1 1 0 48a24 24 0 1 1 0-48"/></svg>
React
import type { SVGProps } from "react";
export function Fa6RegularHardDrive(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M64 80c-8.8 0-16 7.2-16 16v162c5.1-1.3 10.5-2 16-2h384c5.5 0 10.9.7 16 2V96c0-8.8-7.2-16-16-16zM48 320v96c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16m-48 0V96c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v320c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64zm280 48a24 24 0 1 1 48 0a24 24 0 1 1-48 0m120-24a24 24 0 1 1 0 48a24 24 0 1 1 0-48"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M64 80c-8.8 0-16 7.2-16 16v162c5.1-1.3 10.5-2 16-2h384c5.5 0 10.9.7 16 2V96c0-8.8-7.2-16-16-16zM48 320v96c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16m-48 0V96c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v320c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64zm280 48a24 24 0 1 1 48 0a24 24 0 1 1-48 0m120-24a24 24 0 1 1 0 48a24 24 0 1 1 0-48"/></svg> </template>
CSS
.icon-hard-drive {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%2080c-8.8%200-16%207.2-16%2016v162c5.1-1.3%2010.5-2%2016-2h384c5.5%200%2010.9.7%2016%202V96c0-8.8-7.2-16-16-16zM48%20320v96c0%208.8%207.2%2016%2016%2016h384c8.8%200%2016-7.2%2016-16v-96c0-8.8-7.2-16-16-16H64c-8.8%200-16%207.2-16%2016m-48%200V96c0-35.3%2028.7-64%2064-64h384c35.3%200%2064%2028.7%2064%2064v320c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64zm280%2048a24%2024%200%201%201%2048%200a24%2024%200%201%201-48%200m120-24a24%2024%200%201%201%200%2048a24%2024%200%201%201%200-48%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%2080c-8.8%200-16%207.2-16%2016v162c5.1-1.3%2010.5-2%2016-2h384c5.5%200%2010.9.7%2016%202V96c0-8.8-7.2-16-16-16zM48%20320v96c0%208.8%207.2%2016%2016%2016h384c8.8%200%2016-7.2%2016-16v-96c0-8.8-7.2-16-16-16H64c-8.8%200-16%207.2-16%2016m-48%200V96c0-35.3%2028.7-64%2064-64h384c35.3%200%2064%2028.7%2064%2064v320c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64zm280%2048a24%2024%200%201%201%2048%200a24%2024%200%201%201-48%200m120-24a24%2024%200%201%201%200%2048a24%2024%200%201%201%200-48%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa6-regular/hard-drive.svg?color=%231a73e8&size=48