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 Grommet-Icons, 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
- Apache License Version 2.0
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/grommet/lock.jsonimport * as React from "react";
/**
* Lock from Grommet-Icons (https://github.com/grommet/grommet-icons), Apache License Version 2.0.
* Via Cuelark UI: ui.cuelark.com/icons/grommet/lock. Sized in em, colored by currentColor.
*/
export function GrLockIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill="none"
strokeWidth="2"
d="M19,23 L19,11 L5,11 L5,23 L19,23 Z M12,15 L12,19 M17,11 L17,7 C17,4 17,1 12,1 C7,1 7,4 7,7 L7,11"
/>
</svg>
);
}import { GrLock } from "react-icons/gr";
export function Example() {
return <GrLock className="size-5" />;
}<svg
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill="none"
stroke-width="2"
d="M19,23 L19,11 L5,11 L5,23 L19,23 Z M12,15 L12,19 M17,11 L17,7 C17,4 17,1 12,1 C7,1 7,4 7,7 L7,11"
/>
</svg>"Lock" icon from Grommet-Icons (https://github.com/grommet/grommet-icons), licensed under Apache License Version 2.0.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 · Lucide
- Lock · Bootstrap Icons
- Lock · Flat Color 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