Gentleface › Security & privacy › security-key
security-key icon
security-keySecurity key: security key, hardware key, fido key, hardware token. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11 3C11.276 3 11.512 3.098 11.707 3.293C11.902 3.488 12 3.724 12 4L12 14C12 14.276 11.902 14.512 11.707 14.707C11.512 14.902 11.276 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14L11 4L8.872 4C8.779 3.961 8.684 3.925 8.587 3.894C8.13 3.744 7.662 3.691 7.183 3.735L7.177 3.735L7.173 3.736C6.808 3.77 6.46 3.858 6.128 4L4 4L4 7.154C3.999 7.196 3.999 7.238 4 7.28L4 14L4.5 14C4.641 14 4.759 14.048 4.856 14.144C4.952 14.241 5 14.359 5 14.5C5 14.641 4.952 14.759 4.856 14.856C4.759 14.952 4.641 15 4.5 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 4C3 3.724 3.098 3.488 3.293 3.293C3.488 3.098 3.724 3 4 3L5 3L5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5L10 3L11 3ZM6 2L6 3L7 3L7 2L6 2ZM8 2L8 3L9 3L9 2L8 2ZM7.5 14.791C7.362 14.791 7.244 14.742 7.146 14.644L6.232 13.73C6.135 13.633 6.086 13.515 6.086 13.377L6.086 9.282C5.802 9.087 5.568 8.843 5.384 8.552C5.2 8.26 5.082 7.943 5.029 7.603C4.977 7.262 4.994 6.925 5.081 6.591C5.167 6.257 5.317 5.954 5.529 5.682C5.741 5.411 5.999 5.192 6.301 5.027C6.604 4.861 6.927 4.763 7.27 4.731C7.613 4.699 7.949 4.737 8.277 4.844C8.605 4.951 8.898 5.119 9.156 5.347C9.414 5.576 9.617 5.846 9.763 6.158C9.91 6.47 9.988 6.799 9.999 7.143C10.01 7.488 9.951 7.821 9.824 8.141C9.697 8.462 9.512 8.744 9.268 8.988L7.854 10.402C7.756 10.5 7.707 10.618 7.707 10.756C7.707 10.894 7.756 11.012 7.854 11.11L8.768 12.024C8.865 12.121 8.914 12.239 8.914 12.377L8.914 13.377C8.914 13.515 8.865 13.633 8.768 13.73L7.854 14.644C7.756 14.742 7.638 14.791 7.5 14.791ZM6.5 7.22C6.5 7.772 6.948 8.22 7.5 8.22C8.052 8.22 8.5 7.772 8.5 7.22C8.5 6.668 8.052 6.22 7.5 6.22C6.948 6.22 6.5 6.668 6.5 7.22Z"/></svg>
// Gentleface "security-key" (line-round), MIT. https://gentleface.com/icons/security-key
import type { SVGProps } from 'react';
export function SecurityKeyIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M11 3C11.276 3 11.512 3.098 11.707 3.293C11.902 3.488 12 3.724 12 4L12 14C12 14.276 11.902 14.512 11.707 14.707C11.512 14.902 11.276 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14L11 4L8.872 4C8.779 3.961 8.684 3.925 8.587 3.894C8.13 3.744 7.662 3.691 7.183 3.735L7.177 3.735L7.173 3.736C6.808 3.77 6.46 3.858 6.128 4L4 4L4 7.154C3.999 7.196 3.999 7.238 4 7.28L4 14L4.5 14C4.641 14 4.759 14.048 4.856 14.144C4.952 14.241 5 14.359 5 14.5C5 14.641 4.952 14.759 4.856 14.856C4.759 14.952 4.641 15 4.5 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 4C3 3.724 3.098 3.488 3.293 3.293C3.488 3.098 3.724 3 4 3L5 3L5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5L10 3L11 3ZM6 2L6 3L7 3L7 2L6 2ZM8 2L8 3L9 3L9 2L8 2ZM7.5 14.791C7.362 14.791 7.244 14.742 7.146 14.644L6.232 13.73C6.135 13.633 6.086 13.515 6.086 13.377L6.086 9.282C5.802 9.087 5.568 8.843 5.384 8.552C5.2 8.26 5.082 7.943 5.029 7.603C4.977 7.262 4.994 6.925 5.081 6.591C5.167 6.257 5.317 5.954 5.529 5.682C5.741 5.411 5.999 5.192 6.301 5.027C6.604 4.861 6.927 4.763 7.27 4.731C7.613 4.699 7.949 4.737 8.277 4.844C8.605 4.951 8.898 5.119 9.156 5.347C9.414 5.576 9.617 5.846 9.763 6.158C9.91 6.47 9.988 6.799 9.999 7.143C10.01 7.488 9.951 7.821 9.824 8.141C9.697 8.462 9.512 8.744 9.268 8.988L7.854 10.402C7.756 10.5 7.707 10.618 7.707 10.756C7.707 10.894 7.756 11.012 7.854 11.11L8.768 12.024C8.865 12.121 8.914 12.239 8.914 12.377L8.914 13.377C8.914 13.515 8.865 13.633 8.768 13.73L7.854 14.644C7.756 14.742 7.638 14.791 7.5 14.791ZM6.5 7.22C6.5 7.772 6.948 8.22 7.5 8.22C8.052 8.22 8.5 7.772 8.5 7.22C8.5 6.668 8.052 6.22 7.5 6.22C6.948 6.22 6.5 6.668 6.5 7.22Z" />
</svg>
);
}Vue: see /icons/security-key.md
Svelte: see /icons/security-key.md
HTML img: see /icons/security-key.md
CSS: see /icons/security-key.md
Data URL: see /icons/security-key.md
Sprite: see /icons/security-key.md
SwiftUI: see /icons/security-key.md
Compose: see /icons/security-key.md
Android XML: see /icons/security-key.md
Flutter: see /icons/security-key.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { SecurityKeyIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- security key, hardware key, fido key, hardware token
- Don’t confuse with
- Tags
- security-key, hardware-key, fido, u2f, webauthn, passkey, yubikey, two-factor, 2fa, mfa, usb, token, authentication
- Category
- Security & privacy
- Component name
SecurityKeyIcon- History
- 20 px drawn, 24 px drawn, added, released in 0.5.0
- Since
- version 0.5.0
More security & privacy icons
brick-wall brick-wall-flame brick-wall-flame-check cctv cctv-off fingerprint fingerprint-check fingerprint-off fingerprint-plus fingerprint-scan fingerprint-x incognito incognito-off input-password input-password-check input-password-off · all security & privacy icons
For agents
Metadata: /icons/security-key.json · Markdown: /icons/security-key.md · SVG: https://gentleface.com/svg/{style}/16/security-key.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/security-key.png