gentleface

Gentleface › Travel › hat-cowboy

hat-cowboy icon

Hat cowboy: cowboy hat, western. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z"/></svg>
React
// Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
import type { SVGProps } from 'react';

export function HatCowboyIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z" />
    </svg>
  );
}
Vue
Vue: see /icons/hat-cowboy.md
Svelte
Svelte: see /icons/hat-cowboy.md
HTML img
HTML img: see /icons/hat-cowboy.md
CSS
CSS: see /icons/hat-cowboy.md
Data URL
Data URL: see /icons/hat-cowboy.md
Sprite
Sprite: see /icons/hat-cowboy.md
SwiftUI
SwiftUI: see /icons/hat-cowboy.md
Compose
Compose: see /icons/hat-cowboy.md
Android XML
Android XML: see /icons/hat-cowboy.md
Flutter
Flutter: see /icons/hat-cowboy.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
cowboy hat, western
Tags
cowboy-hat, cowboy, western, stetson, ranch, rodeo, hat, headwear, clothing, country
Category
Travel
Component name
HatCowboyIcon
History
  • 20 px drawn, 24 px drawn, added

Family 2

More travel icons

For agents

Metadata: /icons/hat-cowboy.json · Markdown: /icons/hat-cowboy.md · SVG: https://gentleface.com/svg/{style}/16/hat-cowboy.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/hat-cowboy.png