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 Tabler 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
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/key.jsonimport * as React from "react";
/**
* Key from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/key. Sized in em, colored by currentColor.
*/
export function TbKeyIcon(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="M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0"
/>
<path d="M15 9h.01" />
</svg>
);
}import { TbKey } from "react-icons/tb";
export function Example() {
return <TbKey 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="M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0"
/>
<path d="M15 9h.01" />
</svg>"Key" icon from Tabler Icons (https://github.com/tabler/tabler-icons), 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 · Feather
- 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