Cowboy Hat Duotone
The cowboy-hat-duotone icon represents a cowboy hat with a duotone design.
Exports at 24 × 24 px
Code
Cowboy Hat Duotone in your framework
In any framework. Customize it above, and the code follows.
export const CowboyHatDuotoneIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 256 256" {...props}>
<g fill="currentColor"><path d="M190.53 160.18C158.13 192 128 192 128 192s-30.13 0-62.53-31.82L70.06 136h115.88Z" opacity=".2"/><path d="M216 120a8 8 0 0 0-6.78 3.76A180 180 0 0 1 195.41 143l-17.09-89.93a16 16 0 0 0-25.72-9.55l-.13.1L128 64l-24.47-20.38l-.13-.1a16 16 0 0 0-25.72 9.53L60.59 143a179 179 0 0 1-13.81-19.25A8 8 0 0 0 40 120a40 40 0 0 0 0 80h176a40 40 0 0 0 0-80M93.41 56l24.47 20.4l.12.1a15.92 15.92 0 0 0 20 0l.12-.1L162.59 56l13.68 72H79.73ZM40 184a24 24 0 0 1-4.14-47.64C51.28 159.83 67.73 174.65 82.4 184Zm88 0c-.33 0-25.49-.4-53.86-26.6l2.54-13.4h102.63l2.54 13.35a113.3 113.3 0 0 1-27.35 19c-15.4 7.42-26.44 7.65-26.5 7.65m88 0h-42.4c14.67-9.35 31.12-24.17 46.54-47.64A24 24 0 0 1 216 184"/></g>
</svg>
);Other libraries
Cowboy Hat Duotone in 1 more libraries
Each library draws it its own way. Open one to compare.
Phosphor
More like it
Icons that share its tags, in the same style.
Search Phosphor
Skip the copy and paste. With Pro, your AI agent finds and installs any Phosphor icon from a prompt.
Get ProTags
Browse by tag
Cowboy Hat Duotone is tagged UI, icon, other and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Phosphor MCP, with Pro
Ask for Cowboy Hat Duotone or any of 9,161 Phosphor 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 Cowboy Hat Duotone icon means and where it's used, then how to install, style, label and license it.
The cowboy-hat-duotone icon represents a cowboy hat with a duotone design. It is often used to symbolize the American West or a cowboy theme with a modern twist.
The cowboy-hat-duotone icon can be used in various software and platforms, such as graphic design tools like Adobe Illustrator or Canva, to add a touch of the Wild West to designs.
From a UX perspective, the cowboy-hat-duotone icon communicates a sense of adventure and ruggedness, and can be used to guide users through interfaces that require a bold and daring approach.
Cowboy Hat Duotone is one of 9,161 icons in Phosphor, made by Phosphor Icons and released under MIT. It is drawn on a 256 × 256 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 CowboyHatDuotoneIcon to components/icons/ph-cowboy-hat-duotone.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 CowboyHatDuotoneIcon 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.
Yes, if your project has @phosphor-icons/react: Cowboy Hat Duotone is `CowboyHat` there, used as <CowboyHat weight="duotone" />. The shadcn.io MCP server answers with that import when it finds the package. Without it, copy the icon from here.
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 Cowboy Hat Duotone icon, or any of 9,161 Phosphor 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 256 × 256 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="Cowboy Hat Duotone", so screen readers say what it does.
Yes. CowboyHatDuotoneIcon passes every SVG prop to the svg element, so <CowboyHatDuotoneIcon 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. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Phosphor, Phosphor Icons and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
1 other library draws an icon called Cowboy Hat Duotone. 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 UI, icon, other, react, phosphor and mixed grid. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Cowboy Hat Duotone in another set.
Phosphor draws many icons in several styles: Bold, Light, Thin, Duotone and Fill next to the default. Open the library and pick a style above the grid to see Cowboy Hat Duotone's siblings in it.
4.9 out of 5 from 150+ developers
Install Cowboy Hat Duotone from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro