Skip to content

Hat

The hat icon represents a headwear accessory commonly worn by people for various purposes.

Exports at 24 × 24 px

Hat icon from Iconoir
Get Pro

Code

Hat in your framework

In any framework. Customize it above, and the code follows.

export const HatIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M7 17v-2a7 7 0 1 1 14 0v2zm0 0H2M14 6.01l.01-.011"/>
  </svg>
);

Other libraries

Hat in 5 more libraries

Each library draws it its own way. Open one to compare.

Iconoir

Icons that share its tags, in the same style.

  • Male icon from Iconoir
  • Pants icon from Iconoir
  • Pants Pockets icon from Iconoir
  • Sandals icon from Iconoir
  • Shirt icon from Iconoir
  • Shirt Tank Top icon from Iconoir
  • User Circle icon from Iconoir
  • User Square icon from Iconoir
  • Beach Bag icon from Iconoir
  • Beach Bag Big icon from Iconoir
  • Female icon from Iconoir
  • Handbag icon from Iconoir
  • Home User icon from Iconoir
  • Scarf icon from Iconoir
  • Short Pants icon from Iconoir
  • Short Pants Pockets icon from Iconoir
  • User Badge Check icon from Iconoir
  • Bold icon from Iconoir
  • Bold Square icon from Iconoir
  • Style Border icon from Iconoir
  • User Bag icon from Iconoir
  • User Cart icon from Iconoir
  • User Crown icon from Iconoir
  • User Love icon from Iconoir

Skip the copy and paste. With Pro, your AI agent finds and installs any Iconoir icon from a prompt.

Get Pro

Pricing

Iconoir MCP, with Pro

Ask for Hat or any of 1,682 Iconoir 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 Hat icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Hat from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro