Mp 40
The mp-40 icon represents a type of submachine gun, often used in military and gaming contexts.
Exports at 24 × 24 px
Code
Mp 40 in your framework
In any framework. Customize it above, and the code follows.
export const Mp40Icon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="m341.552 242.585l-21.197 21.197l89.386 89.386l21.197-21.197zm-13.619-101.81l-12.612-12.613a7.65 7.65 0 0 0-9.1 1.296L84.337 351.342c-7.625 7.625-3.489 47.897 9.693 61.079l4.066 4.066a13.245 13.245 0 0 0 16.928 1.46c1.967-1.687 13.182-4.957 15.414 8.717l7.875 53.438a12.76 12.76 0 0 0 14.478 10.762l21.236-8.42a12.3 12.3 0 0 0 4.253-2.693c2.834-2.833 3.81-6.93 3.083-11.34c-.96-5.784-8.358-6.018-9.1-12.893l-7.445-49.856l26.902-26.903a16.037 16.037 0 0 0 0-22.68l-7.297-7.297l78.194-78.194a15.596 15.596 0 0 0 0-22.056l-10.107-10.107c1.818-1.818 3.262-1.701 4.199-1.202l1.397 1.397a11.126 11.126 0 0 0 15.734 0l7.297-7.297l23.351 23.351l27.933-27.932l-41.294-41.294l35.542-35.542a7.66 7.66 0 0 0 1.272-9.124zM158.215 372.928l14.048-14.048a10.353 10.353 0 0 1 14.642 0l2.068 2.068a10.353 10.353 0 0 1 0 14.642l-14.049 14.048a10.353 10.353 0 0 1-14.64 0l-2.07-2.068a10.353 10.353 0 0 1 .024-14.618zM221.9 234.242a8.83 8.83 0 0 1 0 12.487l-87.934 87.934a8.83 8.83 0 1 1-12.487-12.487l87.934-87.934a8.83 8.83 0 0 1 12.487 0M399.798 40.173l-8-12.292a4.415 4.415 0 0 1 5.604-6.431l15.898 8.905l5.752-5.752l12.417 12.417l-30.828 30.828a25.02 25.02 0 0 0-1.499 23.227a3.31 3.31 0 0 1-.632 3.754a3.31 3.31 0 0 1-4.682 0L383.76 84.76l-43.433 43.432l-12.433-12.433l71.568-71.568z"/>
</svg>
);Game Icons
More like it
Icons that share its tags, in the same style.
Search Game Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Game Icons icon from a prompt.
Get ProTags
Browse by tag
Mp 40 is tagged gaming, military, weapon and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Mp 40 or any of 4,123 Game Icons 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 Mp 40 icon means and where it's used, then how to install, style, label and license it.
The mp-40 icon represents a type of submachine gun, often used in military and gaming contexts. It is a popular firearm used by military and law enforcement personnel.
In real-world applications, the mp-40 icon is often used in gaming interfaces, military simulations, and firearm-related websites. It can be used to represent a weapon, a military unit, or a gaming character's equipment. The mp-40 icon is a popular choice for applications that require a representation of firepower.
From a UX perspective, the mp-40 icon communicates power and aggression. It can be used to draw attention to a gaming character's abilities or to create a sense of intensity. The mp-40 icon can also be used to represent a sense of danger, as it is often associated with combat and violence.
Mp 40 is one of 4,123 icons in Game Icons, made by GameIcons and released under CC BY 3.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 Mp40Icon to components/icons/game-icons-mp-40.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 Mp40Icon 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 Mp 40 icon, or any of 4,123 Game Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
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 follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. 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="Mp 40", so screen readers say what it does.
Yes. Mp40Icon passes every SVG prop to the svg element, so <Mp40Icon 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 3.0 asks you to credit the author (GameIcons) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 3.0 asks you to credit the author where you use the icons, for example "Icons by GameIcons, CC BY 3.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 gaming, military, weapon, combat, war and firearm. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Mp 40 in another set.
4.9 out of 5 from 150+ developers
Install Mp 40 from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro