Skip to content

Conversation

@anthony-mariotti
Copy link
Contributor

closes #2790

What is the purpose of this pull request?

  • New Icon
  • Bug fix
  • New Feature
  • Documentation update
  • Other:

Description

Creating a new user based icon user-lock. Taking the concept from user-* icons and use lock icon.

Icon use case

  • User account information is locked
  • To lock a user account
  • Your account is locked

Alternative icon designs

#2790 contained a suggestion for adding a round version of this icon.

Icon Design Checklist

Concept

  • I have provided valid use cases for each icon.
  • I have not added any a brand or logo icon.
  • I have not used any hate symbols.
  • I have not included any religious or political imagery.

Author, credits & license

  • The icons are solely my own creation.
  • The icons were originally created in A user with a lock #2790 by @anthony-mariotti
  • I've based them on the following Lucide icons: user-*, lock
  • I've based them on the following design:

Naming

  • I've read and followed the naming conventions
  • I've named icons by what they are rather than their use case.
  • I've provided meta JSON files in icons/[iconName].json.

Design

  • I've read and followed the icon design guidelines
  • I've made sure that the icons look sharp on low DPI displays.
  • I've made sure that the icons look consistent with the icon set in size, optical volume and density.
  • I've made sure that the icons are visually centered.
  • I've correctly optimized all icons to three points of precision.

Before Submitting

@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2025

Added or changed icons

icons/user-lock.svg

Preview cohesion icons/square-library.svg
icons/user-lock.svg
icons/cannabis.svg
Preview stroke widths icons/user-lock.svg
icons/user-lock.svg
icons/user-lock.svg
DPI Preview (24px) icons/user-lock.svg
Icon X-rays icons/user-lock.svg
Icon Diffs icons/user-lock.svg
Icons as code

Works for: lucide-react, lucide-react-native, lucide-preact, lucide-vue-next

const UserLockIcon = createLucideIcon('UserLock', [
  ["circle",{"cx":"10","cy":"7","r":"4"}],
  ["path",{"d":"M10.3 15H7a4 4 0 0 0-4 4v2"}],
  ["path",{"d":"M15 15.5V14a2 2 0 0 1 4 0v1.5"}],
  ["rect",{"width":"8","height":"5","x":"13","y":"16","rx":".899"}]
])

Copy link
Member

@ericfennis ericfennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice love it!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 7, 2025
@github-actions github-actions bot removed the Stale label Apr 8, 2025
Copy link
Member

@jguddas jguddas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lock is not correctly arcing in the top

@jguddas
Copy link
Member

jguddas commented Apr 11, 2025

The lock has a 1px gap that should be closed

@ericfennis ericfennis merged commit 2517eb6 into lucide-icons:main Apr 18, 2025
9 checks passed
jpjacobpadilla pushed a commit to briz123/lucide that referenced this pull request Apr 18, 2025
* Added `user-lock` icon

* Corrected lock arc and alignment

---------

Co-authored-by: Eric Fennis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 icon About new icons 🫧 metadata Improved metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A user with a lock

3 participants