Lock icon
Stroke weight
Colour
Size
Line ends
Tile
px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="10" width="16" height="11" rx="2" />
<path d="M8 10V7a4 4 0 0 1 8 0v3" />
<path d="M12 14.5v2" />
</svg> Colour comes from CSS color.
A 24×24 stroke icon from the UI Essentials set, also searched as padlock, secure or private. It uses currentColor, so it takes the colour of your text, and the
stroke weight is yours to set.
When to use this icon
A closed padlock: secure or private.
- Locked features on a pricing tier
- Private settings
- Secure connection notes