Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Key icon
A free key 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/key.jsonimport * as React from "react";
/**
* Key from Lucide (https://lucide.dev/), ISC.
* Via Cuelark UI: ui.cuelark.com/icons/lucide/key. Sized in em, colored by currentColor.
*/
export function LuKeyIcon(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}
>
<path d="m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4" />
<path d="m21 2-9.6 9.6" />
<circle cx="7.5" cy="15.5" r="5.5" />
</svg>
);
}import { LuKey } from "react-icons/lu";
export function Example() {
return <LuKey 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"
>
<path d="m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4" />
<path d="m21 2-9.6 9.6" />
<circle cx="7.5" cy="15.5" r="5.5" />
</svg>"Key" icon from Lucide (https://lucide.dev/), licensed under ISC license.Related icons: password, access, auth, login
Key icon in other sets
- Key · Font Awesome 5
- Key · Font Awesome 6
- Key · Ionicons 5
- Key · Material Design icons
- Key · Typicons
- Key · Github Octicons icons
- Key · Feather
- Key · Game Icons
- Key · Bootstrap Icons
- Key · Flat Color Icons
- Key · Grommet-Icons
- Key · Heroicons
- Key · Heroicons 2
- Key · Simple Line Icons
- Key · IcoMoon Free
- Key · BoxIcons
- Key · css.gg
- Key · VS Code Icons