devices
Hard Drive SVG Icon
Hard Drive icon for dashboard and devices interface workflows. Preview the icon in realistic interface contexts, customise its presentation, copy reusable markup and download a tailored SVG.
Icon Studio
Icon Studio
Customise Hard Drive, test it in real interface surfaces and copy reusable SVG or JSX. Default copied SVG keeps currentColor; customised SVG includes your preview choices.
Output
Copy production-ready markup.
Default output stays reusable with currentColor. Use customised SVG when you need fixed presentation.
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M4 5h16v12H4z" /><path d="M9 21h6" /><path d="M12 17v4" /><path d="M14 9v3" /></svg>Usage examples
Use the format that matches your project. Keep decorative icons hidden from assistive technology, and label icons when they carry meaning without visible text.
Paste inline SVG anywhere you need a dependency-free icon.
<span class="icon">Hard Drive</span>Let the icon inherit text colour with currentColor and control size from CSS.
.icon svg { width: 1.25rem; height: 1.25rem; color: currentColor; }Use the JSX snippet when the icon belongs inside a component or design system.
<HardDriveIcon aria-hidden="true" />Size and colour the inline SVG with utility classes in your own project.
<svg className="h-5 w-5 text-slate-700" aria-hidden="true">...</svg>Use this when adjacent text already explains the icon.
<svg aria-hidden="true" ...>...</svg>Use this when the icon itself communicates the label or state.
<svg role="img" aria-label="Hard Drive" ...>...</svg>Accessibility notes
Use aria-hidden="true" when nearby text already explains the action.
Give the button an accessible name, for example aria-label="Copy SVG".
Do not rely on colour alone. Pair status icons with text for error, warning and success states.