Hat Cowboy Side
The hat-cowboy-side icon represents a cowboy hat viewed from the side, often used to symbolize the American West or cowboy culture.
Exports at 24 × 24 px
Code
Hat Cowboy Side in your framework
In any framework. Customize it above, and the code follows.
export const HatCowboySideIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="currentColor" d="M19.21 7.01a4.5 4.5 0 0 0-.788.047c-.685.102-1.328.357-1.988.568S15.119 8 14.631 8c-.311 0-.874-.008-1.442-.002c-.567.006-1.11.014-1.59.102c-.846.154-1.579.526-2.093 1.091c-.515.566-.788 1.276-.914 2.014l-.002.014l-.602 3.816c-3.144.178-5.421 2.11-6.656 4.703a3.41 3.41 0 0 0 .191 3.32c.6.922 1.591 1.547 2.73 1.794c8.174 1.768 15.176 1.227 22.794.146h.025v-.002l.045-.004l.024-.002l.02-.004a1 1 0 0 0 .282-.091c1.292-.27 2.257-.812 2.815-1.547c.603-.796.742-1.688.742-2.366c0-3.4-2.618-7.5-7.445-8.802l-.586-2.274l-.006-.02c-.461-1.649-1.95-2.823-3.752-2.876zm-.024 1.984c1.027-.014 1.592.515 1.85 1.43l.001.002l.693 2.681l.002.006a1 1 0 0 0 .067.264l.164.633l.02.082c.112.402-.244 1.2-.715 1.476c-.288.168-1.401.591-2.696.895c-1.212.284-2.633.498-3.93.523c-1.244-.895-2.711-1.627-4.638-1.884l.56-3.559c.083-.481.227-.793.42-1.006c.194-.212.458-.376.975-.47c.168-.031.72-.063 1.252-.069s1.073.002 1.42.002c.88 0 1.696-.24 2.412-.469s1.358-.45 1.674-.498q.249-.037.469-.039m4.966 5.496C27.384 15.86 29 18.88 29 20.982c0 .41-.08.821-.336 1.159c-.252.332-.73.679-1.797.859c-3.022.212-4.952-.32-6.48-1.207c1.26-.267 2.387-.67 3.134-1.105l.002-.002c1.149-.672 1.727-2.041 1.37-3.327l-.74-2.869zm-1.422 2.492l.23.895l.005.018c.115.413-.05.83-.451 1.064c-.672.392-2.645 1.04-4.375 1.121a36 36 0 0 1-.543-.506c-.257-.244-.535-.5-.8-.752a24 24 0 0 0 2.233-.412c1.414-.332 2.523-.693 3.246-1.115h.002q.24-.14.453-.313M8.45 17c2.366 0 3.864.672 5.165 1.66a1 1 0 0 0 .305.233c.77.627 1.488 1.36 2.295 2.128q.375.36.789.713a1 1 0 0 0 .322.256l.006.004a15 15 0 0 0 2.48 1.652c-4.91.372-9.776.412-15.136-.748c-.682-.147-1.213-.523-1.477-.93c-.264-.405-.333-.8-.062-1.368c1.066-2.241 2.67-3.6 5.312-3.6z"/>
</svg>
);Other libraries
Hat Cowboy Side in 3 more libraries
Each library draws it its own way. Open one to compare.
Line Awesome
More like it
Icons that share its tags, in the same style.
Search Line Awesome
Skip the copy and paste. With Pro, your AI agent finds and installs any Line Awesome icon from a prompt.
Get ProTags
Browse by tag
Hat Cowboy Side is tagged adventure, culture, freedom and 1 more. Related tags follow; each opens its icons from every library.
Pricing
Line Awesome MCP, with Pro
Ask for Hat Cowboy Side or any of 1,544 Line Awesome 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 Cowboy Side icon means and where it's used, then how to install, style, label and license it.
The hat-cowboy-side icon represents a cowboy hat viewed from the side, often used to symbolize the American West or cowboy culture. This icon can be used in various contexts to convey a sense of ruggedness or independence.
In real-world applications, this icon may appear in software or platforms related to western culture, such as video games or entertainment websites. For example, it could be used on a website to illustrate a western-themed article.
From a UX perspective, the hat-cowboy-side icon communicates a sense of adventure or freedom. It can be used in interfaces to convey a sense of playfulness or informality, such as in a casual blog or social media platform.
Hat Cowboy Side is one of 1,544 icons in Line Awesome, made by Icons8 and released under Apache 2.0. It is drawn on a 32 × 32 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 HatCowboySideIcon to components/icons/la-hat-cowboy-side.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 HatCowboySideIcon 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 Hat Cowboy Side icon, or any of 1,544 Line Awesome 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 32 × 32 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="Hat Cowboy Side", so screen readers say what it does.
Yes. HatCowboySideIcon passes every SVG prop to the svg element, so <HatCowboySideIcon 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. Apache 2.0 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: Apache 2.0 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 Line Awesome, Icons8 and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Hat Cowboy Side. 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 adventure, culture, freedom and western. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Hat Cowboy Side in another set.
Line Awesome draws many icons in several styles: Solid next to the default. Open the library and pick a style above the grid to see Hat Cowboy Side's siblings in it.
4.9 out of 5 from 150+ developers
Install Hat Cowboy Side from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro