gentleface

Gentleface › Communication › message-lock

message-lock icon

Message lock: encrypted chat, private message, secure chat, encrypted messages. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M1.5 15.003C1.364 15.003 1.246 14.953 1.146 14.854C1.049 14.756 1 14.638 1 14.5L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7C14.359 7 14.241 6.952 14.144 6.856C14.048 6.759 14 6.641 14 6.5L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 13.293L3.439 11.854C3.713 11.58 4.028 11.37 4.385 11.222C4.742 11.074 5.114 11 5.5 11C5.641 11 5.759 11.048 5.856 11.144C5.952 11.241 6 11.359 6 11.5C6 11.641 5.952 11.759 5.856 11.856C5.759 11.952 5.641 12 5.5 12C5.246 12 5.002 12.049 4.767 12.146C4.533 12.243 4.326 12.381 4.146 12.561L1.854 14.854C1.754 14.953 1.636 15.003 1.5 15.003ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z"/></svg>
React
// Gentleface "message-lock" (line-round), MIT. https://gentleface.com/icons/message-lock
import type { SVGProps } from 'react';

export function MessageLockIcon(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="M1.5 15.003C1.364 15.003 1.246 14.953 1.146 14.854C1.049 14.756 1 14.638 1 14.5L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7C14.359 7 14.241 6.952 14.144 6.856C14.048 6.759 14 6.641 14 6.5L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 13.293L3.439 11.854C3.713 11.58 4.028 11.37 4.385 11.222C4.742 11.074 5.114 11 5.5 11C5.641 11 5.759 11.048 5.856 11.144C5.952 11.241 6 11.359 6 11.5C6 11.641 5.952 11.759 5.856 11.856C5.759 11.952 5.641 12 5.5 12C5.246 12 5.002 12.049 4.767 12.146C4.533 12.243 4.326 12.381 4.146 12.561L1.854 14.854C1.754 14.953 1.636 15.003 1.5 15.003ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/message-lock.md
Svelte
Svelte: see /icons/message-lock.md
HTML img
HTML img: see /icons/message-lock.md
CSS
CSS: see /icons/message-lock.md
Data URL
Data URL: see /icons/message-lock.md
Sprite
Sprite: see /icons/message-lock.md
SwiftUI
SwiftUI: see /icons/message-lock.md
Compose
Compose: see /icons/message-lock.md
Android XML
Android XML: see /icons/message-lock.md
Flutter
Flutter: see /icons/message-lock.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
encrypted chat, private message, secure chat, encrypted messages
Example
End-to-end encrypted chat
Alternatives
  • lock: encryption in general, E2EE (lock owns encrypted)
  • message-dashed: a temporary chat that is not kept
  • message-user: a direct message to one person (message-user owns direct-message)
Also fits
  • direct message: an end-to-end encrypted chat
Built from
message + lock
Tags
chat, comment, speech-bubble, conversation, reply, lock
Category
Communication
Component name
MessageLockIcon
History
  • added

Family 24

More communication icons

For agents

Metadata: /icons/message-lock.json · Markdown: /icons/message-lock.md · SVG: https://gentleface.com/svg/{style}/16/message-lock.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/message-lock.png

Feedback