Gentleface › Security & privacy › input-password
input-password icon
input-passwordInput password: password field, password input, pin entry, masked input. 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="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM4.707 7.293C4.902 7.488 5 7.724 5 8C5 8.276 4.902 8.512 4.707 8.707C4.512 8.902 4.276 9 4 9C3.724 9 3.488 8.902 3.293 8.707C3.098 8.512 3 8.276 3 8C3 7.724 3.098 7.488 3.293 7.293C3.488 7.098 3.724 7 4 7C4.276 7 4.512 7.098 4.707 7.293ZM8.707 7.293C8.902 7.488 9 7.724 9 8C9 8.276 8.902 8.512 8.707 8.707C8.512 8.902 8.276 9 8 9C7.724 9 7.488 8.902 7.293 8.707C7.098 8.512 7 8.276 7 8C7 7.724 7.098 7.488 7.293 7.293C7.488 7.098 7.724 7 8 7C8.276 7 8.512 7.098 8.707 7.293ZM11.293 7.293C11.488 7.098 11.724 7 12 7C12.276 7 12.512 7.098 12.707 7.293C12.902 7.488 13 7.724 13 8C13 8.276 12.902 8.512 12.707 8.707C12.512 8.902 12.276 9 12 9C11.724 9 11.488 8.902 11.293 8.707C11.098 8.512 11 8.276 11 8C11 7.724 11.098 7.488 11.293 7.293Z"/></svg>
// Gentleface "input-password" (line-round), MIT. https://gentleface.com/icons/input-password
import type { SVGProps } from 'react';
export function InputPasswordIcon(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="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM4.707 7.293C4.902 7.488 5 7.724 5 8C5 8.276 4.902 8.512 4.707 8.707C4.512 8.902 4.276 9 4 9C3.724 9 3.488 8.902 3.293 8.707C3.098 8.512 3 8.276 3 8C3 7.724 3.098 7.488 3.293 7.293C3.488 7.098 3.724 7 4 7C4.276 7 4.512 7.098 4.707 7.293ZM8.707 7.293C8.902 7.488 9 7.724 9 8C9 8.276 8.902 8.512 8.707 8.707C8.512 8.902 8.276 9 8 9C7.724 9 7.488 8.902 7.293 8.707C7.098 8.512 7 8.276 7 8C7 7.724 7.098 7.488 7.293 7.293C7.488 7.098 7.724 7 8 7C8.276 7 8.512 7.098 8.707 7.293ZM11.293 7.293C11.488 7.098 11.724 7 12 7C12.276 7 12.512 7.098 12.707 7.293C12.902 7.488 13 7.724 13 8C13 8.276 12.902 8.512 12.707 8.707C12.512 8.902 12.276 9 12 9C11.724 9 11.488 8.902 11.293 8.707C11.098 8.512 11 8.276 11 8C11 7.724 11.098 7.488 11.293 7.293Z" />
</svg>
);
}Vue: see /icons/input-password.md
Svelte: see /icons/input-password.md
HTML img: see /icons/input-password.md
CSS: see /icons/input-password.md
Data URL: see /icons/input-password.md
Sprite: see /icons/input-password.md
SwiftUI: see /icons/input-password.md
Compose: see /icons/input-password.md
Android XML: see /icons/input-password.md
Flutter: see /icons/input-password.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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.
Meaning
- Use it for
- password field, password input, pin entry, masked input, enter password
- Don’t confuse with
key: the key motif does not mean password-field
- Also fits
- user credentials: a password field
- key: a password field or PIN entry
- Tags
- password, field, input, masked, asterisk, dots, pin, secret, form
- Category
- Security & privacy
- Component name
InputPasswordIcon- History
- added
Family 3
More security & privacy icons
brick-wall cctv cctv-off fingerprint fingerprint-off incognito key key-alert key-check key-clock key-code key-horizontal key-off key-plus key-question lock · all security & privacy icons
For agents
Metadata: /icons/input-password.json · Markdown: /icons/input-password.md · SVG: https://gentleface.com/svg/{style}/16/input-password.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/input-password.png