A drive with its casing and light, for disks, local storage and backup drives. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

DevicesNewv1.0.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M5 11L19 11C20.6569 11 22 12.3431 22 14L22 17C22 18.6569 20.6569 20 19 20L5 20C3.3431 20 2 18.6569 2 17L2 14C2 12.3431 3.3431 11 5 11ZM2.4954 12.3486L4.1448 6.8506C4.6524 5.1587 6.2097 4 7.9761 4L16.0239 4C17.7903 4 19.3476 5.1587 19.8552 6.8506L21.5046 12.3486"/>
  <path d="M19 15.5C19 16.3284 18.3284 17 17.5 17C16.6716 17 16 16.3284 16 15.5C16 14.6716 16.6716 14 17.5 14C18.3284 14 19 14.6716 19 15.5Z" fill="currentColor" stroke="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • hdd
  • disk
  • storage
  • drive
  • backup
  • external drive

Related icons

The rest of the hard family first, then the Devices shelf.

FAQ

Answered from hard-drive's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the hard-drive icon for?
A drive with its casing and light, for disks, local storage and backup drives. It is filed under Devices in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as hdd, disk, storage, drive, backup and external drive, and the browser's search matches all of those.
What styles does the hard-drive icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of hard-drive?
No. hard-drive is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with hard-drive?
app-check, app-dot, app-minus, app-plus, app-window and app-window-2, and 12 more, all shown below. They are the Devices shelf: nothing else in the set is named after hard.
How do I import hard-drive in React?
<HardDrive /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <HardDrive size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the hard-drive SVG?
icons/stroke/hard-drive.svg, icons/two-tone/hard-drive.svg, icons/duotone/hard-drive.svg and icons/fill/hard-drive.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was hard-drive added to the set?
Added 17 Sept 2026. It ships in v1.0.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.