Pistol
The pistol icon represents a firearm, specifically a pistol or handgun.
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 512 512" {...props}>
<path fill="#778A91" d="M80.177 135.052h-38.14c-8.351 0-15.12-6.769-15.12-15.12V85.66c0-8.351 6.769-15.12 15.12-15.12h38.14c8.351 0 15.12 6.769 15.12 15.12v34.272c0 8.35-6.77 15.12-15.12 15.12"/><path fill="#576F7A" d="M402.595 74.975c14.313 54.484 37.153-7.326 69.721-18.956c41.002-14.642 48.822 32.548 11.527 32.548c-33.904 0-15.596 146.391-131.827 146.391c-68.887 0 50.579-159.983 50.579-159.983"/><path fill="#778A91" d="m346.775 192.948l-.153.923l-.184 1.108l-.329 2.185l-.21 1.28l-.25 1.205a60 60 0 0 1-.595 2.662a101 101 0 0 1-1.646 6.056c-.64 2.165-1.404 4.424-2.244 6.779a164 164 0 0 1-2.806 7.25c-2.056 4.936-4.417 10.048-7.04 15.029c-2.618 4.984-5.446 9.85-8.413 14.309c-1.459 2.231-2.998 4.358-4.488 6.352c-1.543 1.993-3.026 3.85-4.565 5.537a63 63 0 0 1-4.454 4.519c-.728.658-1.465 1.264-2.117 1.816l-1.981 1.49c-1.311.879-2.339 1.532-3.183 1.95l-1.225.633a7.77 7.77 0 0 1-9.528-11.884l1.521-1.815l.322-.385c.199-.197.543-.668.977-1.215l.74-1.065l.87-1.41c.611-1.076 1.297-2.319 1.983-3.826c.703-1.462 1.393-3.188 2.098-5.007c.679-1.866 1.375-3.84 2.007-5.964c1.295-4.212 2.427-8.873 3.353-13.563a155 155 0 0 0 2.08-13.82c.226-2.195.395-4.304.5-6.277c.102-1.97.167-3.816.153-5.464a62 62 0 0 0-.133-4.379c-.028-.639-.088-1.197-.141-1.712l-.072-.74c-.028-.212-.07-.337-.099-.496c-.064-.312-.113-.529-.158-.819l-.137-1.115l-.114-.928l-.003-.028c-1.352-10.986 6.457-20.988 17.443-22.34s20.988 6.457 22.34 17.443a20.7 20.7 0 0 1-.119 5.726"/><path fill="#9CADB5" d="M441.988 158.063c-.916-8.876-3.54-17.251-7.516-24.832c-12.106-30.799-31.877-58.255-31.877-58.255c0-10.469 3.183-18.956-14.859-18.956H205.012c-13.991 0-25.333 14.47-25.333 32.319v3.281H14.17c-6.581 0-11.915 4.895-11.915 10.934v57.691c0 24.285 21.454 43.972 47.92 43.972h153.758v30.961c0 51.258 41.701 92.958 92.959 92.958s92.958-41.7 92.958-92.958q0-1.234-.033-2.461c26.298-7.034 46.538-28.462 51.4-55.122c1.554-.94 2.449-2.157 2.449-3.717c-.001-5.092-.612-10.407-1.678-15.815M296.891 297.62c-34.433 0-62.445-28.013-62.445-62.444V204.81c29.266 2.302 9.614 29.355 124.889 30.338l.001.029c-.001 34.43-28.014 62.443-62.445 62.443"/><path fill="#576F7A" d="M336.623 84.543H243.66c-14.306 0-25.904 11.598-25.904 25.904v56.401c0 14.306 11.597 25.904 25.904 25.904h89.478c1.153.071 2.313.118 3.484.118c30.494 0 55.214-24.25 55.214-54.164s-24.719-54.163-55.213-54.163"/><path fill="#C3D6DD" d="M311.917 127.034h-67.658c-7.022 0-12.714-5.692-12.714-12.714s5.692-12.714 12.714-12.714h67.658c7.021 0 12.714 5.692 12.714 12.714s-5.693 12.714-12.714 12.714"/><path fill="#D7DFE2" d="M160.152 126.017H22.642a8.646 8.646 0 0 1 0-17.292h137.51a8.646 8.646 0 0 1 0 17.292"/><path fill="#C3D6DD" d="M311.917 174.314h-67.658c-7.022 0-12.714-5.692-12.714-12.714s5.692-12.714 12.714-12.714h67.658c7.021 0 12.714 5.692 12.714 12.714s-5.693 12.714-12.714 12.714"/><path fill="#2B3B47" d="M443.665 173.876s-39.413-3.109-39.413 28.289c0 15.87-7.707 25.891-14.289 31.555c-6.009 5.171-9.545 12.647-9.97 20.563l-1.347 25.084c-13.778 25.389-39.032 43.677-68.759 47.855c41.232-.76 64.146-3.037 64.146 38.062l-3.018 56.214c0 25.019 20.282 45.301 45.301 45.301h51.323c25.019 0 45.301-20.282 45.301-45.301V320.136c.001-60.978-37.573-146.26-69.275-146.26"/>
</svg>
);Other libraries
Pistol in 3 more libraries
Each library draws it its own way. Open one to compare.
Firefox OS Emoji
More like it
Icons that share its tags, in the same style.
Search Firefox OS Emoji
Skip the copy and paste. With Pro, your AI agent finds and installs any Firefox OS Emoji icon from a prompt.
Get ProTags
Browse by tag
Pistol is tagged security, warning, safety and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Firefox OS Emoji MCP, with Pro
Ask for Pistol or any of 1,034 Firefox OS Emoji 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, specifically a pistol or handgun. It is often used to indicate danger, warning, or caution.
In real-world applications, the pistol icon may appear in safety-related contexts, such as warning signs, security software, or law enforcement apps.
From a UX perspective, the pistol icon communicates a sense of danger or warning, helping users understand that there may be a risk or threat involved.
Pistol is one of 1,034 icons in Firefox OS Emoji, made by Mozilla and released under Apache 2.0. It is drawn on a 512 × 512 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/fxemoji-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,034 Firefox OS Emoji 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 512 × 512 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. Apache 2.0 allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: Apache 2.0 only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Firefox OS Emoji, Mozilla and the 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 security, warning, safety, danger, caution and weapon. 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