Detective 2
The detective-2 icon represents a person who investigates and solves crimes.
Exports at 24 × 24 px
Code
Detective 2 in your framework
In any framework. Customize it above, and the code follows.
export const Detective2Icon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
<path fill="#45413c" d="M11.5 44.5a12.5 1.5 0 1 0 25 0a12.5 1.5 0 1 0-25 0" opacity=".15"/><path fill="#a86c4d" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M24 5A14.59 14.59 0 0 0 9.41 19.6v7.64h29.18V19.6A14.59 14.59 0 0 0 24 5"/><path fill="#ffcebf" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M40.15 26.13a2.73 2.73 0 0 0-2.07-2.3l-.87-.24A3 3 0 0 1 35 20.66v-3.07a2.77 2.77 0 0 0-2.08-2.68A23 23 0 0 1 24 16.52a23 23 0 0 1-8.9-1.61a2.77 2.77 0 0 0-2.1 2.68v3.07a3 3 0 0 1-2.23 2.93l-.87.24a2.73 2.73 0 0 0-2.07 2.3a2.69 2.69 0 0 0 2.68 2.92h.17a13.45 13.45 0 0 0 26.6 0h.17a2.69 2.69 0 0 0 2.7-2.92"/><path fill="#45413c" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M15.93 25.81a1.15 1.15 0 1 0 1.14-1.15a1.15 1.15 0 0 0-1.14 1.15m16.14 0a1.15 1.15 0 1 1-1.14-1.15a1.15 1.15 0 0 1 1.14 1.15"/><path fill="#ff6242" d="M20.31 33.09a.6.6 0 0 0-.44.2a.57.57 0 0 0-.13.47a4.32 4.32 0 0 0 8.52 0a.57.57 0 0 0-.13-.47a.6.6 0 0 0-.44-.2Z"/><path fill="#ffa694" d="M24 34.87a5.3 5.3 0 0 0-3.29 1a4.38 4.38 0 0 0 6.58 0a5.3 5.3 0 0 0-3.29-1"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M20.31 33.09a.6.6 0 0 0-.44.2a.57.57 0 0 0-.13.47a4.32 4.32 0 0 0 8.52 0a.57.57 0 0 0-.13-.47a.6.6 0 0 0-.44-.2Z"/><path fill="#ffb59e" d="M13.69 30.69a1.49.89 0 1 0 2.98 0a1.49.89 0 1 0-2.98 0m17.64 0a1.49.89 0 1 0 2.98 0a1.49.89 0 1 0-2.98 0"/><path fill="#b89558" d="M43.5 15.27c0 3.39-8.73 6.47-19.5 6.47S4.5 18.66 4.5 15.27s8.73-4.69 19.5-4.69s19.5 1.3 19.5 4.69"/><path fill="#debb7e" d="M24 13.58c9.08 0 16.69.93 18.86 3.25a2.57 2.57 0 0 0 .64-1.56c0-3.39-8.73-4.69-19.5-4.69s-19.5 1.3-19.5 4.69a2.57 2.57 0 0 0 .64 1.56c2.17-2.32 9.78-3.25 18.86-3.25"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M43.5 15.27c0 3.39-8.73 6.47-19.5 6.47S4.5 18.66 4.5 15.27s8.73-4.69 19.5-4.69s19.5 1.3 19.5 4.69"/><path fill="#b89558" d="M36.83 15s-.61-8.14-6-11.39a3.81 3.81 0 0 0-3.66.1a7.26 7.26 0 0 1-6.24 0a3.81 3.81 0 0 0-3.66-.1c-5.44 3.25-6 11.39-6 11.39s3.48 3 12.73 3s12.83-3 12.83-3"/><path fill="#debb7e" d="M17.22 6.44a3.78 3.78 0 0 1 3.66.09a7.26 7.26 0 0 0 6.24 0a3.78 3.78 0 0 1 3.66-.09c3.5 2.09 5 6.18 5.62 8.85a4 4 0 0 0 .43-.3s-.61-8.14-6-11.39a3.81 3.81 0 0 0-3.66.1a7.26 7.26 0 0 1-6.24 0a3.81 3.81 0 0 0-3.66-.1c-5.44 3.25-6 11.39-6 11.39a4 4 0 0 0 .43.3c.53-2.67 2.02-6.76 5.52-8.85"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M36.83 15s-.61-8.14-6-11.39a3.81 3.81 0 0 0-3.66.1a7.26 7.26 0 0 1-6.24 0a3.81 3.81 0 0 0-3.66-.1c-5.44 3.25-6 11.39-6 11.39s3.48 3 12.73 3s12.83-3 12.83-3"/><path fill="#656769" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M24 13.65a32.6 32.6 0 0 1-12.14-2.18a19 19 0 0 0-.69 3.53s3.58 3 12.83 3s12.83-3 12.83-3a19 19 0 0 0-.69-3.52A32.8 32.8 0 0 1 24 13.65"/><path fill="#daedf7" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="m33.561 31.335l1.505-1.176l2.255 2.883l-1.505 1.176z"/><path fill="#debb7e" d="m35.072 33.996l2.213-1.731l3.857 4.93l-2.213 1.732Z"/><path fill="#f0d5a8" d="M40.61 36.52L37.81 33a.85.85 0 0 0-1.2-.15l-.86.67a.8.8 0 0 0-.24.33a.85.85 0 0 1 1.19.15l2.8 3.57a.85.85 0 0 1 .09.88l.86-.67a.87.87 0 0 0 .16-1.26"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="m35.072 33.996l2.213-1.731l3.857 4.93l-2.213 1.732Z"/><path fill="#daedf7" d="M24.12 26.04a6.51 6.51 0 1 0 13.02 0a6.51 6.51 0 1 0-13.02 0"/><path fill="#fff" d="M26.62 22.58a6.49 6.49 0 0 1 10.46 4.31a6.51 6.51 0 1 0-12.9 0a6.44 6.44 0 0 1 2.44-4.31"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M24.12 26.04a6.51 6.51 0 1 0 13.02 0a6.51 6.51 0 1 0-13.02 0"/><path fill="#00b8f0" d="M26.02 26.04a4.61 4.61 0 1 0 9.22 0a4.61 4.61 0 1 0-9.22 0"/><path fill="#4acfff" d="m27.37 29.31l6.52-6.53a4.61 4.61 0 0 0-6.89 6.1a5 5 0 0 0 .37.43"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M26.02 26.04a4.61 4.61 0 1 0 9.22 0a4.61 4.61 0 1 0-9.22 0"/>
</svg>
);Streamline Emojis
More like it
Icons that share its tags, then the ones next to it in Streamline Emojis, in the same style.
Search Streamline Emojis
Skip the copy and paste. With Pro, your AI agent finds and installs any Streamline Emojis icon from a prompt.
Get ProTags
Browse by tag
Detective 2 is tagged security, law, order and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Streamline Emojis MCP, with Pro
Ask for Detective 2 or any of 787 Streamline Emojis icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Detective 2 icon means and where it's used, then how to install, style, label and license it.
The detective-2 icon represents a person who investigates and solves crimes. It is often used in contexts related to law enforcement, mystery, and puzzle-solving. The icon typically features a stylized image of a detective's head or a magnifying glass.
The detective-2 icon appears in various software and platforms, such as detective agency websites, crime investigation games, and puzzle-solving apps. For instance, companies like Sherlock Holmes and Detective Conan use similar icons to represent their detective services.
From a UX perspective, the detective-2 icon communicates the idea of investigation and problem-solving. It helps users understand that they are in a context where mysteries need to be solved or crimes need to be investigated.
Detective 2 is one of 787 icons in Streamline Emojis, made by Streamline and released under CC BY 4.0. It is drawn on a 48 × 48 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds Detective2Icon to components/icons/streamline-emojis-detective-2.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed Detective2Icon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Detective 2 icon, or any of 787 Streamline Emojis icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 48 × 48 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Detective 2", so screen readers say what it does.
Yes. Detective2Icon passes every SVG prop to the svg element, so <Detective2Icon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are security, law, order, investigation, mystery and crime. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Detective 2 in another set.
4.9 out of 5 from 150+ developers
Install Detective 2 from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro