icons/Feather/lockOpen in browser →

lock · Feather

Free SVG lock icon from Feather. 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 — FeatherFree lock SVG icon from Feather, 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"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
React
// Run: npx sant-icons get feather-lock --format react
export function FeatherLock(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
  );
}
CLI
npx sant-icons get feather-lock

Properties

Name
lock
Library
Feather
Style
stroke
License
MIT
Version
4.29.2
Identifier
feather-lock

lock in other libraries

The lock icon ships with Feather, an open-source icon set licensed under MIT. Search for it as "feather 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 feather-lock directly into your project. No browser context-switch.