Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Lock icon
A free lock icon from Lucide, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- ISC license
- Project
- lucide.dev
npx shadcn@latest add https://ui.cuelark.com/r/icons/lucide/lock.jsonimport * as React from "react";
/**
* Lock from Lucide (https://lucide.dev/), ISC.
* Via Cuelark UI: ui.cuelark.com/icons/lucide/lock. Sized in em, colored by currentColor.
*/
export function LuLockIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
strokeWidth="2"
viewBox="0 0 24 24"
strokeLinecap="round"
strokeLinejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
</svg>
);
}import { LuLock } from "react-icons/lu";
export function Example() {
return <LuLock className="size-5" />;
}<svg
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
</svg>"Lock" icon from Lucide (https://lucide.dev/), licensed under ISC license.Related icons: secure, security, password, padlock
Lock icon in other sets
- Lock · Circum Icons
- Lock · Font Awesome 5
- Lock · Font Awesome 6
- Lock · Material Design icons
- Lock · Github Octicons icons
- Lock · Feather
- Lock · Bootstrap Icons
- Lock · Flat Color Icons
- Lock · Grommet-Icons
- Lock · Simple Line Icons
- Lock · IcoMoon Free
- Lock · BoxIcons
- Lock · css.gg
- Lock · VS Code Icons
- Lock · Tabler Icons
- Lock · Themify Icons
- Lock · Phosphor Icons