A squared bubble with a padlock, for locked threads, private chats and encrypted messages. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 8L21 6C21 4.3431 19.6569 3 18 3L6 3C4.3431 3 3 4.3431 3 6L3 21L7 17L10 17M15 16L20 16C20.5523 16 21 16.4477 21 17L21 20C21 20.5523 20.5523 21 20 21L15 21C14.4477 21 14 20.5523 14 20L14 17C14 16.4477 14.4477 16 15 16ZM15.5 16L15.5 14C15.5 12.8954 16.3954 12 17.5 12C18.6046 12 19.5 12.8954 19.5 14L19.5 16"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- locked conversation
- private chat
- encrypted
- secure message
- closed thread
Related icons
Closest to message-square-lock first: its name counts most, then what people search for it by, then the rest of the Mail shelf.
FAQ
Answered from message-square-lock's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the message-square-lock icon for?
- A squared bubble with a padlock, for locked threads, private chats and encrypted messages. It is filed under Mail in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as locked conversation, private chat, encrypted, secure message and closed thread, and the browser's search matches all of those.
- What styles does the message-square-lock icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of message-square-lock?
- No. message-square-lock is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with message-square-lock?
- message-square, message-square-off, message-square-dashed, message-square-minus, message-square-plus and lock, and 12 more, all shown below. Closest to message-square-lock first: its name counts most, then what people search for it by, then the rest of the Mail shelf.
- How do I import message-square-lock in React?
- <MessageSquareLock /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <MessageSquareLock size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the message-square-lock SVG?
- icons/stroke/message-square-lock.svg, icons/two-tone/message-square-lock.svg, icons/duotone/message-square-lock.svg and icons/fill/message-square-lock.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was message-square-lock added to the set?
- Added 25 Nov 2026. It is not in a tagged release yet: it is on the site and in the repository, and the next version will carry it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.