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 Feather, 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
- MIT license
- Project
- feathericons.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/feather/lock.jsonimport * as React from "react";
/**
* Lock from Feather (https://feathericons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/feather/lock. Sized in em, colored by currentColor.
*/
export function FiLockIcon(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 x="3" y="11" width="18" height="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
</svg>
);
}import { FiLock } from "react-icons/fi";
export function Example() {
return <FiLock 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 x="3" y="11" width="18" height="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
</svg>"Lock" icon from Feather (https://feathericons.com/), licensed under MIT 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 · Lucide
- 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