John KuehJohn Kueh

lock icon

Tabler · lock · MIT

Download SVG

The Tabler lock icon visually represents a closed lock, commonly used in user interfaces to indicate security, privacy, or restricted access.

Common uses

  • Indicate a password-protected field.
  • Show a feature requiring administrator privileges.
  • Represent a secure connection or data.

Use it in React

Install
npm i @tabler/icons-react
Import & render
import { IconLock } from '@tabler/icons-react';

<IconLock size={24} stroke={2} />

Styles

Tabler ships this icon in 2 styles — each its own import:

outline
<IconLock size={24} stroke={2} />
filled
<IconLockFilled size={24} stroke={2} />

Details

Library
Tabler (5,093 icons)
License
MIT
viewBox
0 0 24 24
Category
System
Keywords
securitypasswordsecurelockprivatecontroloperationprotectedclosedfunctionsystemsecurity iconprivate iconpassword iconsecure icon

FAQ

What does the lock icon signify?
It signifies security, privacy, or restricted access. It's often used for sensitive information or protected features.
How do I use the lock icon in React?
You can import and use it with: import { IconLock } from '@tabler/icons-react'
What is the license for the Tabler lock icon?
The Tabler icon library, including the lock icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Tabler.

Looking for something else? Search Tabler and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →