lock
Lock icon · Lucide · <Lock />
lockLucide tags lock with password, secure and admin. It's in Lucide's Security category; similar icons include Lock Keyhole, Wifi Lock and File Lock. The matching icons are Lock Closed in Microsoft's Fluent icons and lock in Google's Material Symbols.
24 px, stroke 2
lock.svg
Size, stroke and code
Lucide icons are drawn on a 24 px grid with a 2 px stroke. Pick a size and stroke width to preview them; the downloads and the code below follow your choice.
Stroke width
Size
Lock icon in React
npm install lucide-react
import { Lock } from "lucide-react";
export function Example() {
return <Lock />;
}Details
| Name | lock |
|---|---|
| Component | Lock (also LockIcon, LucideLock) |
| Category | Security |
| Icon font | icon-lock, U+E10B |
| CSS content | "\e10b" |
| File | lucide-static/icons/lock.svg |
| Grid and stroke | 24 × 24, 2 px stroke, round caps and joins |
| License | ISC License (© Lucide Icons and Contributors) |