locked from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.

Name
locked
Set
Huge Icons
Style
Stroke
Viewbox
24×24
License
MIT

The same icon in other sets

Use the locked icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path stroke-linejoin="round" d="M2.5 8.187c.104-2.1.415-3.409 1.347-4.34c.93-.932 2.24-1.243 4.34-1.347M21.5 8.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0 19c2.1-.104 3.41-.415 4.34-1.346c.932-.932 1.243-2.241 1.347-4.34M8.187 21.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34"/><path d="M9.5 10.555c0-.842-.132-2.142.376-2.9c1.123-1.673 3.504-1.45 4.344.183c.412.802.257 1.923.276 2.717m-4.996 0c-1.297 0-1.562.742-1.76 1.325c-.183.655-.37 2.22-.084 3.934c.214 1.092 1.049 1.573 1.767 1.634c.687.058 3.587.036 4.426.036c1.301 0 2.113-.286 2.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996 0c1.374-.055 4.21-.044 4.996 0"/></g></svg>

React

import type { SVGProps } from "react";

export function HugeiconsLocked(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeWidth="1.5"><path strokeLinejoin="round" d="M2.5 8.187c.104-2.1.415-3.409 1.347-4.34c.93-.932 2.24-1.243 4.34-1.347M21.5 8.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0 19c2.1-.104 3.41-.415 4.34-1.346c.932-.932 1.243-2.241 1.347-4.34M8.187 21.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34"/><path d="M9.5 10.555c0-.842-.132-2.142.376-2.9c1.123-1.673 3.504-1.45 4.344.183c.412.802.257 1.923.276 2.717m-4.996 0c-1.297 0-1.562.742-1.76 1.325c-.183.655-.37 2.22-.084 3.934c.214 1.092 1.049 1.573 1.767 1.634c.687.058 3.587.036 4.426.036c1.301 0 2.113-.286 2.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996 0c1.374-.055 4.21-.044 4.996 0"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path stroke-linejoin="round" d="M2.5 8.187c.104-2.1.415-3.409 1.347-4.34c.93-.932 2.24-1.243 4.34-1.347M21.5 8.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0 19c2.1-.104 3.41-.415 4.34-1.346c.932-.932 1.243-2.241 1.347-4.34M8.187 21.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34"/><path d="M9.5 10.555c0-.842-.132-2.142.376-2.9c1.123-1.673 3.504-1.45 4.344.183c.412.802.257 1.923.276 2.717m-4.996 0c-1.297 0-1.562.742-1.76 1.325c-.183.655-.37 2.22-.084 3.934c.214 1.092 1.049 1.573 1.767 1.634c.687.058 3.587.036 4.426.036c1.301 0 2.113-.286 2.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996 0c1.374-.055 4.21-.044 4.996 0"/></g></svg>
</template>

CSS

.icon-locked {
  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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M2.5%208.187c.104-2.1.415-3.409%201.347-4.34c.93-.932%202.24-1.243%204.34-1.347M21.5%208.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0%2019c2.1-.104%203.41-.415%204.34-1.346c.932-.932%201.243-2.241%201.347-4.34M8.187%2021.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34%22%2F%3E%3Cpath%20d%3D%22M9.5%2010.555c0-.842-.132-2.142.376-2.9c1.123-1.673%203.504-1.45%204.344.183c.412.802.257%201.923.276%202.717m-4.996%200c-1.297%200-1.562.742-1.76%201.325c-.183.655-.37%202.22-.084%203.934c.214%201.092%201.049%201.573%201.767%201.634c.687.058%203.587.036%204.426.036c1.301%200%202.113-.286%202.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996%200c1.374-.055%204.21-.044%204.996%200%22%2F%3E%3C%2Fg%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M2.5%208.187c.104-2.1.415-3.409%201.347-4.34c.93-.932%202.24-1.243%204.34-1.347M21.5%208.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0%2019c2.1-.104%203.41-.415%204.34-1.346c.932-.932%201.243-2.241%201.347-4.34M8.187%2021.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34%22%2F%3E%3Cpath%20d%3D%22M9.5%2010.555c0-.842-.132-2.142.376-2.9c1.123-1.673%203.504-1.45%204.344.183c.412.802.257%201.923.276%202.717m-4.996%200c-1.297%200-1.562.742-1.76%201.325c-.183.655-.37%202.22-.084%203.934c.214%201.092%201.049%201.573%201.767%201.634c.687.058%203.587.036%204.426.036c1.301%200%202.113-.286%202.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996%200c1.374-.055%204.21-.044%204.996%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/locked.svg?color=%231a73e8&size=48