Pirate Hat
The pirate-hat icon represents a pirate's hat, a type of headwear commonly worn by pirates in the past.
Exports at 24 × 24 px
Code
Pirate Hat in your framework
In any framework. Customize it above, and the code follows.
export const PirateHatIcon = (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="M94.32 70.473c-12.257.27-25.32 12.332-36.568 29.64a146 146 0 0 1 19.855-12.115c-31.622 23.364-46.658 83.72-47.166 122.336C43.54 191.32 70.73 160.196 96 174.964c-28.952-6.018-47.296 38.325-56.428 58.606c22.808-9.36 39.494-24.152 72.428-24.523c-32.47 21.4-43.966 44.83-56.428 68.168c23.376-14.505 40.286-22.99 55.528-26.227c13.683-16.43 28.01-33.093 43.728-46.746c11.79-10.24 24.533-18.877 38.37-24.043c-16.805-46.114-42.764-88.828-89.626-107.49c-3-1.6-6.1-2.307-9.252-2.237zM207.578 194.64c-14.066 3.29-27.57 11.573-40.947 23.192c-17.53 15.227-34.353 35.82-50.868 55.703s-32.62 39.088-50.287 51.707c-13.545 9.674-29.157 15.164-45.014 12.565c2.883 14.468 9.866 33.213 19.38 50.42c12.655 22.886 30.036 43.342 44.482 50.59c6.637 3.328 12.566 3.416 21.23 1.243c8.662-2.173 19.453-6.957 32.762-12.52C164.934 416.41 201.78 402.6 256 402.6s91.066 13.81 117.686 24.94c13.31 5.563 24.1 10.347 32.763 12.52s14.59 2.085 21.228-1.244c14.446-7.247 31.827-27.703 44.482-50.59c9.514-17.206 16.497-35.95 19.38-50.42c-15.858 2.6-31.47-2.89-45.015-12.564c-17.667-12.62-33.772-31.823-50.287-51.707s-33.337-40.476-50.87-55.703c-13.376-11.62-26.88-19.902-40.946-23.193c3.024 13.966-.075 26.363-7.594 34.985c-10.06 11.535-25.643 16.307-40.828 16.307s-30.77-4.772-40.828-16.307c-7.52-8.622-10.618-21.02-7.594-34.986zm113.04 35.702c8.495-.304 17.71 10.54 7.925 22.465c16.326-15.08 30.872 6.004 13.81 13.808c-13.26 6.065-25.986 13.423-37.937 21.86a32.3 32.3 0 0 1 1.584 9.958c0 10.202-2.76 19.5-10.88 26.696l-1.18 1.055l-.047 1.582l-.11 4.397c13.784 10.594 29.233 19.1 46.635 25.016c20.08 6.825 5.405 31.39-15.922 15.912c18.035 18.658-6.53 32.908-14.275 14.275c-4.626-11.13-10.36-21.786-17.02-31.887l-.007.233c-1.505.906-4.646 2.64-9.295 4.308V340.6h-9.343v21.583c-3.997.946-6.635 1.68-11.875 1.94v-20.516h-11.344v20.565c-5-.19-7.527-.81-11.518-1.645V340.6h-9.344v20c-5.884-1.864-9.905-3.948-11.69-4.96l-.01-.298c-6.652 10.092-12.38 20.738-17.003 31.855c-7.746 18.632-32.31 4.384-14.274-14.275c-21.327 15.48-36.005-9.097-15.924-15.922c17.313-5.885 32.705-14.322 46.435-24.84l-.156-4.687l-.05-1.547l-1.152-1.032C208.72 317.74 206 308.48 206 298.396c0-3.362.53-6.647 1.533-9.798c-11.935-8.415-24.646-15.747-37.883-21.8c-17.063-7.806-2.527-28.89 13.8-13.812c-9.574-11.666-.968-22.302 7.364-22.474c3.52-.073 6.99 1.722 9.024 6.086c5.733 12.305 12.05 24.032 19.04 35.013c8.91-7.97 21.735-13.142 36.214-13.352H256c14.805 0 27.942 5.186 37.03 13.28c7.024-11.008 13.372-22.763 19.124-35.11c1.926-4.134 5.14-5.967 8.463-6.086zM224.7 293.228c-4.483.056-7.877 1.904-8.042 7.28c0 8.555 6.923 15.498 15.485 15.498c8.555 0 15.496-6.943 15.496-15.498c0 0-13.757-7.395-22.94-7.28zm62.624 0c-9.18-.116-22.937 7.28-22.937 7.28c0 8.555 6.94 15.498 15.496 15.498c8.555 0 15.484-6.943 15.484-15.498c-.164-5.376-3.56-7.224-8.043-7.28m-31.336 18.96l-7.994 17.84h15.988z"/>
</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
Pirate Hat is tagged adventure, fashion, sea and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Pirate Hat 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 Hat icon means and where it's used, then how to install, style, label and license it.
The pirate-hat icon represents a pirate's hat, a type of headwear commonly worn by pirates in the past. Pirate hats are often depicted as tricorn or bicorn hats.
In digital design, the pirate-hat 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 character's costume or in an educational app to teach children about pirate fashion.
From a UX perspective, the pirate-hat icon can convey a sense of style or flair. When used in an interface, it can help users quickly understand that a particular action or situation involves creativity or self-expression.
Pirate Hat 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 PirateHatIcon to components/icons/game-icons-pirate-hat.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 PirateHatIcon 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 Hat 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 Hat", so screen readers say what it does.
Yes. PirateHatIcon passes every SVG prop to the svg element, so <PirateHatIcon 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 adventure, fashion, sea, costume 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 Hat in another set.
4.9 out of 5 from 150+ developers
Install Pirate Hat from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro