A hat over dark glasses, for incognito mode, private browsing and anonymity. 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="M5 10L6.5442 5.3675C6.8164 4.5509 7.5807 4 8.4415 4L9.3333 4C9.7661 4 10.1871 4.1404 10.5333 4.4L10.8 4.6C11.5111 5.1333 12.4889 5.1333 13.2 4.6L13.4667 4.4C13.8129 4.1404 14.2339 4 14.6667 4L15.5585 4C16.4193 4 17.1836 4.5509 17.4558 5.3675L19 10M2 10L22 10M10 17C10 18.6569 8.6569 20 7 20C5.3431 20 4 18.6569 4 17C4 15.3431 5.3431 14 7 14C8.6569 14 10 15.3431 10 17ZM20 17C20 18.6569 18.6569 20 17 20C15.3431 20 14 18.6569 14 17C14 15.3431 15.3431 14 17 14C18.6569 14 20 15.3431 20 17ZM10 17C10 15.8954 10.8954 15 12 15C13.1046 15 14 15.8954 14 17"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- incognito
- private browsing
- anonymous
- spy
- disguise
- privacy
Related icons
The rest of the hat family first, then the Users shelf.
FAQ
Answered from hat-glasses's own facts: its shelf, the weights it was drawn in, its siblings and its dates.
- What is the hat-glasses icon for?
- A hat over dark glasses, for incognito mode, private browsing and anonymity. It is filed under Users in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as incognito, private browsing, anonymous, spy, disguise and privacy, and the browser's search matches all of those.
- What styles does the hat-glasses 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 hat-glasses?
- No. hat-glasses is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with hat-glasses?
- accessibility, circle-user, contacts, fingerprint-pattern, id-card and scan-face, and 7 more, all shown below. They are the Users shelf: nothing else in the set is named after hat.
- How do I import hat-glasses in React?
- <HatGlasses /> is the component, and the weight 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 <HatGlasses size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the hat-glasses SVG?
- icons/stroke/hat-glasses.svg, icons/two-tone/hat-glasses.svg, icons/duotone/hat-glasses.svg and icons/fill/hat-glasses.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 hat-glasses added to the set?
- Added 17 Sept 2026. It ships in v1.0.0, so an install at that version or later has 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.