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 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/key.jsonimport * as React from "react";
/**
* Key from Feather (https://feathericons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/feather/key. Sized in em, colored by currentColor.
*/
export function FiKeyIcon(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="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"
/>
</svg>
);
}import { FiKey } from "react-icons/fi";
export function Example() {
return <FiKey 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="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"
/>
</svg>"Key" icon from Feather (https://feathericons.com/), licensed under MIT 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 · Lucide
- 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