icons/Huge Icons/lockOpen in browser →

lock · Huge Icons

Free SVG lock icon from Huge Icons. Rendered at 24×24 in the stroke style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.

lock icon — Huge IconsFree lock SVG icon from Huge Icons, stroke style, MIT licensed.

Tags

  • lock

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10Z"/><path stroke-linecap="round" d="M12 13a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm0 0v3"/></g></svg>
React
// Run: npx sant-icons get huge-lock --format react
export function HugeLock(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10Z"/><path stroke-linecap="round" d="M12 13a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm0 0v3"/></g></svg>
  );
}
CLI
npx sant-icons get huge-lock

Properties

Name
lock
Library
Huge Icons
Style
stroke
License
MIT
Version
1.2.35
Identifier
huge-lock

lock in other libraries

Related from Huge Icons

The lock icon ships with Huge Icons, an open-source icon set licensed under MIT. Search for it as "huge icons lock", "lock svg", or any of its tagged terms (lock). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch huge-lock directly into your project. No browser context-switch.