Lock icon

securityalso known as padlock, secure, private, password
Colors byColorchord

Tap an icon to copy its SVG · copies stay currentColor at 24px — the swatches only tint the preview.

When to use it

The closed padlock signals security and privacy: password fields, private content, encrypted connections. Its meaning flips with state — closed is safe, open is exposed — so never use the open padlock decoratively. Heroicons is explicit about which is which (lock-closed vs lock-open); the others treat closed as the default drawing.

Every set here is open-licensed for commercial use with no attribution required in your product — the notices their licenses do require live on our set pages. No accounts, no download walls.

Related icons