Pirate Flag
The pirate-flag icon represents a pirate flag, a symbol commonly used by pirates to identify themselves.
Exports at 24 × 24 px
Code
Pirate Flag in your framework
In any framework. Customize it above, and the code follows.
export const PirateFlagIcon = (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="M256 31.203c-96 .797-117.377 76.692-79.434 135.133c-6.397 6.534-10.344 15.886-.566 25.664c16 16 32 16 39.852 32.42h80.296C304 208 320 208 336 192c9.778-9.778 5.831-19.13-.566-25.664C373.377 107.896 352 32 256 31.203m-42.146 101.049q.64-.005 1.306.03c28.404 1.442 40.84 59.718-10.83 51.095c-10.412-1.738-17.355-50.963 9.524-51.125m84.292 0c26.88.162 19.936 49.387 9.524 51.125C256 192 268.436 133.724 296.84 132.28q.666-.033 1.306-.03zM32 144c7.406 88.586 64.475 175.544 156.623 236.797c17.959-7.251 35.767-15.322 50.424-23.877C180.254 319.737 104.939 255.465 32 144m448 0C359.2 328.605 231.863 383.797 183.908 400.797c3.177 5.374 5.997 10.98 8.711 16.432c3.878 7.789 7.581 15.251 11.184 20.986A518 518 0 0 0 256 417.973l.168.076a885 885 0 0 0 9.652-4.65C391.488 353.263 471.156 249.79 480 144m-224 27.725l20.074 40.15L256 199.328l-20.074 12.547zm-65.604 57.11l15.76 51.042s31.268 24.92 49.844 24.92s49.844-24.92 49.844-24.92l15.76-51.041l-27.086 19.236l-8.063 16.248S267.35 279.547 256 279.547s-30.455-15.227-30.455-15.227l-8.063-16.248l-27.086-19.236zm-59.984 152.976a33 33 0 0 0-2.375.027l.856 17.978c6.36-.302 10.814 2.416 16.11 8.64c5.298 6.222 10.32 15.707 15.24 25.589c4.918 9.882 9.707 20.12 16.122 28.45c6.415 8.327 16.202 15.446 27.969 13.89l-2.36-17.844c-4.094.541-6.78-1.099-11.349-7.031c-4.57-5.933-9.275-15.46-14.268-25.489c-4.992-10.029-10.297-20.604-17.644-29.234c-6.888-8.09-16.556-14.686-28.3-14.976zm251.176 0c-11.745.29-21.413 6.885-28.3 14.976c-7.348 8.63-12.653 19.205-17.645 29.234c-4.993 10.03-9.698 19.556-14.268 25.489s-7.255 7.572-11.35 7.031l-2.359 17.844c11.767 1.556 21.554-5.563 27.969-13.89c6.415-8.33 11.204-18.568 16.123-28.45s9.94-19.367 15.238-25.59c5.297-6.223 9.75-8.941 16.111-8.639l.856-17.978a33 33 0 0 0-2.375-.027m-55.928 18.107c-13.97 10.003-30.13 18.92-47.424 27.478a525 525 0 0 0 29.961 10.819c3.603-5.735 7.306-13.197 11.184-20.986c2.714-5.453 5.534-11.058 8.71-16.432c-.77-.273-1.62-.586-2.43-.879zm-191.808 23.371l-27.67 10.352l7.904 31.771l36.424-11.707c-1.418-2.814-2.81-5.649-4.207-8.457c-4.048-8.131-8.169-15.961-12.451-21.959m244.296 0c-4.282 5.998-8.403 13.828-12.45 21.959c-1.399 2.808-2.79 5.643-4.208 8.457l36.424 11.707l7.904-31.771zM78.271 435.438a10 10 0 0 0-1.32.12a7 7 0 0 0-1.217.313c-11.544 4.201-25.105 18.04-21.648 29.828c3.07 10.472 19.675 13.359 30.492 11.916c3.828-.51 8.415-3.761 12.234-7.086l-8.124-32.648c-3.238-1.285-7.214-2.528-10.417-2.443m355.458 0c-3.203-.085-7.179 1.158-10.416 2.443l-8.125 32.648c3.819 3.325 8.406 6.576 12.234 7.086c10.817 1.443 27.422-1.444 30.492-11.916c3.457-11.788-10.104-25.627-21.648-29.828a7 7 0 0 0-1.217-.312a10 10 0 0 0-1.32-.122z"/>
</svg>
);Other libraries
Pirate Flag in 1 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
Pirate Flag is tagged icon, symbol, adventure and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Pirate Flag 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 Pirate Flag icon means and where it's used, then how to install, style, label and license it.
The pirate-flag icon represents a pirate flag, a symbol commonly used by pirates to identify themselves. Pirate flags often feature a skull and crossbones.
In digital design, the pirate-flag icon can be used in various contexts, such as in game design, historical simulations, or educational materials. For example, it could be used in a game to represent a pirate ship or in an educational app to teach children about pirate symbols.
From a UX perspective, the pirate-flag icon can convey a sense of warning or danger. When used in an interface, it can help users quickly understand that a particular action or situation may be hazardous or require caution.
Pirate Flag 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 PirateFlagIcon to components/icons/game-icons-pirate-flag.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 PirateFlagIcon 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 Pirate Flag 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="Pirate Flag", so screen readers say what it does.
Yes. PirateFlagIcon passes every SVG prop to the svg element, so <PirateFlagIcon 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.
1 other library draws an icon called Pirate Flag. 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 icon, symbol, adventure, sea and navy. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pirate Flag in another set.
4.9 out of 5 from 150+ developers
Install Pirate Flag from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro