gentleface

Gentleface › Devices & hardware › hard-drive-lock

hard-drive-lock icon

Hard drive lock: encrypted drive, locked drive. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M0.5 4.382L1.638 2.106C1.808 1.767 2.053 1.498 2.376 1.299C2.698 1.1 3.048 1 3.427 1L10.573 1C10.952 1 11.302 1.1 11.624 1.299C11.947 1.498 12.192 1.767 12.362 2.106L13.5 4.382C13.66 4.702 13.782 5.035 13.866 5.382C13.899 5.519 13.881 5.645 13.81 5.761C13.74 5.877 13.636 5.952 13.5 5.986C13.468 5.994 13.435 5.999 13.402 6L13.397 6C13.392 6 13.387 6 13.382 6L13.378 6C13.373 6 13.367 6 13.361 6L1.033 6C1.011 6.164 1 6.331 1 6.5L1 9C1 9.276 1.098 9.512 1.293 9.707C1.488 9.902 1.724 10 2 10L6.5 10C6.641 10 6.759 10.048 6.856 10.144C6.952 10.241 7 10.359 7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L2 11C1.746 11 1.5 10.953 1.264 10.86C1.007 10.758 0.781 10.609 0.586 10.414C0.391 10.219 0.242 9.993 0.14 9.736C0.047 9.5 0 9.254 0 9L0 6.5C0 5.755 0.167 5.049 0.5 4.382ZM12.606 4.829L11.467 2.553C11.383 2.383 11.26 2.249 11.099 2.149C10.938 2.05 10.762 2 10.573 2L3.427 2C3.238 2 3.062 2.05 2.901 2.149C2.74 2.249 2.617 2.383 2.533 2.553L1.394 4.829C1.366 4.886 1.339 4.943 1.314 5L12.686 5C12.66 4.943 12.634 4.886 12.606 4.829ZM2.293 7.293C2.488 7.098 2.724 7 3 7C3.276 7 3.512 7.098 3.707 7.293C3.902 7.488 4 7.724 4 8C4 8.276 3.902 8.512 3.707 8.707C3.512 8.902 3.276 9 3 9C2.724 9 2.488 8.902 2.293 8.707C2.098 8.512 2 8.276 2 8C2 7.724 2.098 7.488 2.293 7.293ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z"/></svg>
React
// Gentleface "hard-drive-lock" (line-round), MIT. https://gentleface.com/icons/hard-drive-lock
import type { SVGProps } from 'react';

export function HardDriveLockIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M0.5 4.382L1.638 2.106C1.808 1.767 2.053 1.498 2.376 1.299C2.698 1.1 3.048 1 3.427 1L10.573 1C10.952 1 11.302 1.1 11.624 1.299C11.947 1.498 12.192 1.767 12.362 2.106L13.5 4.382C13.66 4.702 13.782 5.035 13.866 5.382C13.899 5.519 13.881 5.645 13.81 5.761C13.74 5.877 13.636 5.952 13.5 5.986C13.468 5.994 13.435 5.999 13.402 6L13.397 6C13.392 6 13.387 6 13.382 6L13.378 6C13.373 6 13.367 6 13.361 6L1.033 6C1.011 6.164 1 6.331 1 6.5L1 9C1 9.276 1.098 9.512 1.293 9.707C1.488 9.902 1.724 10 2 10L6.5 10C6.641 10 6.759 10.048 6.856 10.144C6.952 10.241 7 10.359 7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L2 11C1.746 11 1.5 10.953 1.264 10.86C1.007 10.758 0.781 10.609 0.586 10.414C0.391 10.219 0.242 9.993 0.14 9.736C0.047 9.5 0 9.254 0 9L0 6.5C0 5.755 0.167 5.049 0.5 4.382ZM12.606 4.829L11.467 2.553C11.383 2.383 11.26 2.249 11.099 2.149C10.938 2.05 10.762 2 10.573 2L3.427 2C3.238 2 3.062 2.05 2.901 2.149C2.74 2.249 2.617 2.383 2.533 2.553L1.394 4.829C1.366 4.886 1.339 4.943 1.314 5L12.686 5C12.66 4.943 12.634 4.886 12.606 4.829ZM2.293 7.293C2.488 7.098 2.724 7 3 7C3.276 7 3.512 7.098 3.707 7.293C3.902 7.488 4 7.724 4 8C4 8.276 3.902 8.512 3.707 8.707C3.512 8.902 3.276 9 3 9C2.724 9 2.488 8.902 2.293 8.707C2.098 8.512 2 8.276 2 8C2 7.724 2.098 7.488 2.293 7.293ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/hard-drive-lock.md
Svelte
Svelte: see /icons/hard-drive-lock.md
HTML img
HTML img: see /icons/hard-drive-lock.md
CSS
CSS: see /icons/hard-drive-lock.md
Data URL
Data URL: see /icons/hard-drive-lock.md
Sprite
Sprite: see /icons/hard-drive-lock.md
SwiftUI
SwiftUI: see /icons/hard-drive-lock.md
Compose
Compose: see /icons/hard-drive-lock.md
Android XML
Android XML: see /icons/hard-drive-lock.md
Flutter
Flutter: see /icons/hard-drive-lock.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { HardDriveLockIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
encrypted drive, locked drive
Example
Disk utility: an encrypted drive that needs unlocking
Built from
hard-drive + lock
Tags
hard-drive, disk, drive, hdd, ssd, storage, hardware, lock
Category
Devices & hardware
Component name
HardDriveLockIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 8

More devices & hardware icons

For agents

Metadata: /icons/hard-drive-lock.json · Markdown: /icons/hard-drive-lock.md · SVG: https://gentleface.com/svg/{style}/16/hard-drive-lock.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/hard-drive-lock.png