Skip to content

Hat

The hat icon represents a type of headwear or accessory, symbolizing fashion, style, and personal expression.

Add shadcn.io to your AI agent. · Pro It installs Hat, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Hat icon from IconPark TwoTone

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 48 48" fill="none" stroke="currentColor" {...props}>
    <defs><mask id="SVGj935KcSj"><g fill="none" stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M9 16a8 8 0 0 1 8-8h14a8 8 0 0 1 8 8v16H9z"/><rect width="40" height="8" x="4" y="32" fill="#555" rx="2"/><path d="M9 22h8m14 0h8"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGj935KcSj)"/>
  </svg>
);

Other libraries

Hat in 5 more libraries

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

  • Hat icon from Huge Icons
  • Hat icon from IconPark Outline
  • Hat icon from IconPark Solid
  • Hat icon from Iconoir
  • Hat icon from SmartIcons Glyph

IconPark TwoTone

Icons that share its tags, in the same style.

  • Headwear icon from IconPark TwoTone
  • Slippers icon from IconPark TwoTone
  • Baseball Cap icon from IconPark TwoTone
  • Clothes Gloves Two icon from IconPark TwoTone
  • Shoulder Bag icon from IconPark TwoTone
  • Slippers One icon from IconPark TwoTone
  • Basketball Clothes icon from IconPark TwoTone
  • Clothes Skates icon from IconPark TwoTone
  • Clothes Turtleneck icon from IconPark TwoTone
  • Full Dress Longuette icon from IconPark TwoTone
  • Necktie icon from IconPark TwoTone
  • Retro Bag icon from IconPark TwoTone
  • Shorts icon from IconPark TwoTone
  • Short Skirt icon from IconPark TwoTone
  • Sweater icon from IconPark TwoTone
  • Trousers Bell Bottoms icon from IconPark TwoTone
  • T Shirt icon from IconPark TwoTone
  • Vest icon from IconPark TwoTone
  • Woolen Hat icon from IconPark TwoTone
  • Baby Pants icon from IconPark TwoTone
  • Beauty icon from IconPark TwoTone
  • Clothes Hoodie icon from IconPark TwoTone
  • Clothes Pants Short icon from IconPark TwoTone
  • Clothes Pants Sweat icon from IconPark TwoTone

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

Get Pro

Tags

Browse by tag

Hat is tagged style, avatar, fashion and 3 more. Related tags follow; each opens its icons from every library.

Pricing

IconPark TwoTone MCP, with Pro

Ask for Hat or any of 1,947 IconPark TwoTone 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Hat from a prompt

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

Get Pro