Pistol
The pistol icon represents a firearm, commonly used in contexts related to safety or warning to symbolize potential danger.
Exports at 24 × 24 px
Code
Pistol in your framework
In any framework. Customize it above, and the code follows.
export const PistolIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 64 64" {...props}>
<path fill="#719198" d="M39.01 28.28c0 2.646-1.659 4.789-3.708 4.789H12.896c-2.049 0-1.967-2.143-1.967-4.789s-.083-4.792 1.967-4.792h22.406c2.049 0 3.708 2.145 3.708 4.792"/><path fill="#6c888c" d="M38.744 30.05a6 6 0 0 0 .269-1.77c0-2.646-1.659-4.792-3.708-4.792H12.899c-2.049 0-1.967 2.145-1.967 4.792c0 .625-.003 1.219.017 1.77z"/><path fill="#719198" d="M37.36 33.486c.805 1.902-1.681 3.927-2.272 4.779c-1.636 2.347.759 2.19.813 2.183c2.033-.305 4.478-2.631 4.693-7.963c.126-3.055-3.846-3.357-5.875-3.051q-.202.031-.399.095c1.476.044 2.161 1.885 3.04 3.957m10.81-13.151c1.556-.932.092-3.752-.105-4.69c-.537-2.587 1.634-1.169 1.678-1.134c1.772 1.33 3.076 4.341 1.029 8.313c-1.171 2.277-5.01.33-6.777-.999a4 4 0 0 1-.328-.287c1.395.771 2.807-.185 4.503-1.203"/><path fill="#354a54" d="M63.27 51.916a8.3 8.3 0 0 0-.031-2.488c-.29-1.697-4.606-8.807-6.02-10.783c-1.1-1.539-2.01-3.158-1.874-5.05a17 17 0 0 1-.401-1.557a16.6 16.6 0 0 1-.315-3.149l1.573-2.324c.771-1.137.513-2.704-.567-3.502c-.438-.322-.943-.428-1.443-.415c-.658-1.494-1.992-2.587-3.605-3.047c-3.998 3.814-7.468 7.983-8.9 12.732c2.187 3.177 2.552 6.03 1.898 10.09c1.449 2.359 4.627 7.917 4.771 9.516c.434 4.838-.657 6.363 2.158 5.903c.522-.082 9.496-1.82 9.496-1.82c4.808-.922 3.595-3.539 3.265-4.101"/><path fill="#405866" d="M57.22 38.645c-1.1-1.539-2.01-3.158-1.874-5.05a17 17 0 0 1-.401-1.557c-.074-.353-.112-.711-.159-1.069c-8.08 7.304-6.938 21.1 4.243 25.24l.98-.188c4.811-.922 3.597-3.539 3.268-4.101a8.3 8.3 0 0 0-.031-2.488c-.291-1.699-4.607-8.808-6.03-10.784"/><path fill="#719198" d="M35.391 21.998a5.46 5.46 0 0 1-5.463 5.464H4.071c-3.02 0-3.724-2.447-3.724-5.464c0-3.02.708-5.466 3.724-5.466h25.856a5.464 5.464 0 0 1 5.464 5.466m3.255 23.182h-6.51c-3.419 0-6.199-3.117-6.199-6.945c0-3.83 2.78-6.946 6.199-6.946h6.51c3.419 0 6.201 3.116 6.201 6.946c0 3.828-2.783 6.945-6.201 6.945m-6.511-12.149c-2.458 0-4.459 2.334-4.459 5.203s2 5.204 4.459 5.204h6.51c2.459 0 4.459-2.335 4.459-5.204s-2-5.203-4.459-5.203z"/><path fill="#80a0a6" d="M47.56 26.817c0 4.564-4.04 6.25-9.03 6.25h-6.274c-4.988 0-9.03-1.686-9.03-6.25v-6.04c0-4.563 4.04-5.977 9.03-5.977h6.274c4.99 0 9.03 1.414 9.03 5.977z"/><path fill="#465c61" d="M41.734 19.965c0 .472-.522.852-1.174.852H30.226c-.65 0-1.18-.38-1.18-.852v-.816c0-.472.529-.851 1.18-.851H40.56c.651 0 1.174.379 1.174.851zm0 5.195c0 .468-.522.85-1.174.85H30.226c-.65 0-1.18-.381-1.18-.85v-.817c0-.472.529-.852 1.18-.852H40.56c.651 0 1.174.379 1.174.852zm.16 4.459c0 .469-.523.849-1.174.849H30.385c-.651 0-1.18-.379-1.18-.849v-.818c0-.472.529-.85 1.18-.85H40.72c.65 0 1.174.378 1.174.85z"/>
</svg>
);Other libraries
Pistol in 3 more libraries
Each library draws it its own way. Open one to compare.
Emoji One (v1)
More like it
Icons that share its tags, in the same style.
Search Emoji One (v1)
Skip the copy and paste. With Pro, your AI agent finds and installs any Emoji One (v1) icon from a prompt.
Get ProTags
Browse by tag
Pistol is tagged warning, safety, danger and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Emoji One (v1) MCP, with Pro
Ask for Pistol or any of 1,262 Emoji One (v1) 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 Pistol icon means and where it's used, then how to install, style, label and license it.
The pistol icon represents a firearm, commonly used in contexts related to safety or warning to symbolize potential danger. The pistol icon is often associated with caution or risk. The Emoji One library offers a variety of icons, including the pistol icon, which can be used to represent different concepts.
The pistol icon appears in various software and platforms, such as safety apps, warning systems, or emergency response websites.
From a UX perspective, the pistol icon communicates a sense of danger or risk, helping users understand potential threats or hazards.
Pistol is one of 1,262 icons in Emoji One (v1), made by Emoji One and released under CC BY-SA 4.0. It is drawn on a 64 × 64 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 PistolIcon to components/icons/emojione-v1-pistol.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 PistolIcon 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 Pistol icon, or any of 1,262 Emoji One (v1) 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 64 × 64 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="Pistol", so screen readers say what it does.
Yes. PistolIcon passes every SVG prop to the svg element, so <PistolIcon 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 conditions: CC BY-SA 4.0 asks you to credit the author (Emoji One), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit Emoji One, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Pistol. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are warning, safety, danger, caution, risk and firearm. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pistol in another set.
4.9 out of 5 from 150+ developers
Install Pistol from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro