lock icon — free SVG
Download the free lock icon as SVG or PNG, copy the lock SVG code, or drop it into React as JSX — 4 matching styles, no attribution required.
lock (noun, verb) — a fastener fitted to a door or drawer to keep it firmly closed
How to use the lock icon
HTML: paste the SVG inline (it inherits currentColor) or hotlink it:
<img src="https://svgrove.com/api/icons/01KZ5TEWZJPAPQ4JQNN1DN3MC9.svg" alt="lock icon" width="24" height="24">
React (JSX):
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" viewBox="0 0 24 24"><rect width="14" height="10" x="5" y="10.5" rx="2"/><path d="M8.5 10.5v-3a3.5 3.5 0 0 1 7 0v3"/><circle cx="12" cy="14.5" r="1.4"/><path d="M12 15.9v2"/></svg>
Accessibility: decorative use → aria-hidden="true"; meaningful use → role="img" aria-label="lock".
Download lock SVG & PNG
lock.svg · lock.png (512px) — all 4 styles are one click away in the picker once the page loads.
License
Free for personal and commercial use. No attribution required. Redistribution or resale of the icons as an icon library, pack or download service is not allowed. Read the SVGrove Free License.