lock

Lock icon · Material Symbols

lock

Google tags lock with key, secure and private. It's in Google's Actions category; similar symbols include Vpn Lock 2, Lock Open Right and Lock Reset. It's the 38th most used of Google's 3,927 Material Symbols.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

GradeOptical size

Outlined, unfilled, weight 400

lock_outlined_fill0_wght400.svg

Lock icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=lock" />

<span class="material-symbols-outlined">lock</span>

Details

NameLock
Ligaturelock
UnicodeU+E897
HTML entity&#xe897;
CSS content"\e897"
CategoryActions
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/lock.svg, lock-fill.svg
FlutterSymbols.lock (Material Icons: Icons.lock)
MUI componentLockIcon
MUI importimport LockIcon from "@mui/icons-material/Lock"
Popularity#38 of 3,927 Material Symbols by use
LicenseApache License 2.0 (© Google LLC)

Keywords

actionsnetworkconnectioninternetsecuritydigitalaccessprotectionprivacysafetyprivatesecure

Also in Fluent

Lock Closed iconLock ClosedMicrosoft's version of this icon, on Fluenticons

Similar icons