Top Hat
The top-hat icon represents a top hat, often associated with fashion, accessories, or elegance.
Exports at 24 × 24 px
Code
Top Hat in your framework
In any framework. Customize it above, and the code follows.
export const TopHatIcon = (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="M203.594 58.188c-1.933-.01-3.824-.006-5.688.03c-22.398.437-39.932 4.19-51.812 9.688c-15.84 7.33-20.987 15.728-19.78 25.625c1.434 11.79 13.465 23.993 37.405 33.532c23.94 9.54 58.333 15.71 98.78 16.813c39.643 1.082 78.206-.902 103.563-7.625c12.678-3.362 21.815-8.05 26.062-12.5s5.273-7.606 2.47-15.22c-2.138-5.8-9.053-12.543-20.626-18.56c-11.575-6.02-27.22-11.233-44.564-15.47c-34.675-8.47-76.14-13.155-107.5-15.563h-.03a261 261 0 0 0-18.282-.75zm-72.313 72.718c5.676 41.283 10.312 83.897 5.94 129.03c.064 6.285 2.516 11.206 7.81 16.345c5.873 5.7 15.5 10.996 27.72 15.158c24.44 8.323 58.864 12.14 92.938 11.75c34.073-.39 67.996-4.942 91.406-12.22c11.704-3.638 20.75-8.09 25.47-12.03c2.653-2.217 3.885-3.58 4.31-4.813c-6.956-41.256-4.108-83.612 2.407-126.22c-5.526 2.566-11.706 4.63-18.405 6.407c-28.88 7.658-68.327 9.357-108.875 8.25c-42.035-1.147-78.177-7.392-105.188-18.156c-9.615-3.83-18.264-8.317-25.53-13.5zM117.657 266.78c-10.383 3.2-20.108 6.752-29.062 10.658c-42.218 18.415-66.15 43.515-67.938 68.812c-1.084 15.323 3.8 28.18 14.344 40.125c10.543 11.944 27.054 22.592 48.406 31.094c42.706 17.003 104.308 25.326 172.97 23.03c67.127-2.244 127.832-10.5 170.718-25.28c21.443-7.392 38.36-16.458 49.375-26.5c11.014-10.045 16.25-20.462 16.25-32.94c0-12.476-5.55-24.876-16.845-37.155c-11.296-12.28-28.275-24.05-49.688-34.156a280 280 0 0 0-19.968-8.47c2.088 11.05 4.905 21.955 8.655 32.688c4.382 12.54.81 25.65-7.438 35.03c-8.248 9.383-20.406 16.283-35.03 21.938c-29.25 11.31-68.99 17.358-108.97 18.22c-39.978.86-79.94-3.45-109.718-14.376c-14.89-5.463-27.414-12.538-35.907-22.563c-8.494-10.024-12.13-23.69-8.407-37.593c3.867-14.44 6.522-28.603 8.25-42.563zm15.22 23.69a329 329 0 0 1-5.407 23.717c-2.33 8.702-.7 14.412 4.593 20.657c5.29 6.245 15.052 12.34 28.093 17.125c26.083 9.57 64.56 14.043 102.875 13.217s76.716-6.937 102.658-16.968c12.97-5.017 22.683-11.086 27.718-16.814s6.182-9.87 3.844-16.562a242 242 0 0 1-5.813-19.188c-7.61 5.452-17.37 9.6-28.812 13.156c-26.114 8.118-61.16 12.657-96.72 13.063c-35.557.406-71.418-3.262-99.186-12.72c-13.456-4.58-25.092-10.516-33.845-18.686z"/>
</svg>
);Other libraries
Top Hat in 4 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
Top Hat is tagged gaming, style, fashion and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Top 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 Top Hat icon means and where it's used, then how to install, style, label and license it.
The top-hat icon represents a top hat, often associated with fashion, accessories, or elegance. In gaming, the top-hat icon may signify a character's style or sophistication.
In real-world applications, the top-hat icon can be seen in various software and platforms related to fashion simulations, role-playing games, or lifestyle applications. For example, in a game like Grand Theft Auto, a top hat is used as a fashion accessory.
From a UX perspective, the top-hat icon communicates a sense of sophistication and elegance. It helps users understand that the application or feature requires attention to style or fashion.
Top 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 TopHatIcon to components/icons/game-icons-top-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 TopHatIcon 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 Top 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="Top Hat", so screen readers say what it does.
Yes. TopHatIcon passes every SVG prop to the svg element, so <TopHatIcon 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.
4 other libraries draw an icon called Top Hat. 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 gaming, style, fashion, luxury, accessories and elegance. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Top Hat in another set.
4.9 out of 5 from 150+ developers
Install Top Hat from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro