Cannon
The cannon icon represents a type of military weapon, often used to symbolize power, strength, or aggression in various contexts, including games.
Exports at 24 × 24 px
Code
Cannon in your framework
In any framework. Customize it above, and the code follows.
export const CannonIcon = (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="m142.373 116.285l-15.92 9.79l19.223 31.257c-17.208 13.06-28.326 33.725-28.326 56.994c0 21.555 9.55 40.866 24.632 53.977l-71.76 92.16L20.66 379.69v17.828h71.834l73.588-95.78h8.22c-5.383 42.56 21.434 83.807 63.995 95.21c46.448 12.447 94.437-15.26 106.883-61.708a86.7 86.7 0 0 0 2.273-33.502h35.3v-30.61l109.858-7.968v-96.365l-286.655-21.91a71.6 71.6 0 0 0-17.094-2.072c-9.53 0-18.62 1.88-26.934 5.265l-19.553-31.793zM260.637 244.04a69 69 0 0 1 17.998 2.37c36.692 9.832 58.323 47.3 48.492 83.992s-47.3 58.326-83.992 48.494c-36.692-9.83-58.326-47.3-48.494-83.992c7.99-29.812 34.222-49.684 63.46-50.814q1.266-.05 2.537-.05zm3.633 19.747l-8.225 30.697l-22.47-22.47l-13.216 13.215l22.47 22.47l-30.695 8.226l4.838 18.053l30.695-8.226l-8.225 30.695l18.053 4.835l8.225-30.693l22.47 22.47l13.214-13.216l-22.468-22.47l30.695-8.226l-4.837-18.052l-30.695 8.224l8.224-30.697l-18.052-4.838z"/>
</svg>
);Other libraries
Cannon in 2 more libraries
Each library draws it its own way. Open one to compare.
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
Cannon is tagged game, thematic, military and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Cannon 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 Cannon icon means and where it's used, then how to install, style, label and license it.
The cannon icon represents a type of military weapon, often used to symbolize power, strength, or aggression in various contexts, including games. Cannons have been used throughout history in warfare, representing a significant advancement in military technology. In modern times, the icon may be used in game design to represent a character's military abilities, firepower, or destructive capabilities.
In real-world applications, the cannon icon can be found in software or platforms related to military history, warfare strategy, or action games, such as military simulation games, strategy games, or action-adventure games. For instance, a military history website might use a cannon icon to represent a historical military artifact or a significant event in military history.
From a UX perspective, the cannon icon communicates a sense of power, strength, or aggression. It can help users understand that a particular feature or section of a game or application is related to military abilities, combat, or action. For example, a game might use the cannon icon to indicate a character's ability to use heavy artillery or engage in combat.
Cannon 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 CannonIcon to components/icons/game-icons-cannon.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 CannonIcon 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 Cannon 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="Cannon", so screen readers say what it does.
Yes. CannonIcon passes every SVG prop to the svg element, so <CannonIcon 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.
2 other libraries draw an icon called Cannon. 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 game, thematic, military, weapon and warfare. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Cannon in another set.
4.9 out of 5 from 150+ developers
Install Cannon from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro