Cowboy Hat Face icon
fluent-emoji-high-contrast:cowboy-hat-face
The Cowboy Hat Face icon (fluent-emoji-high-contrast:cowboy-hat-face) is a free SVG icon from the Fluent Emoji High Contrast set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji High Contrast icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Fluent Emoji High Contrast
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 32 × 32
- Category
- Smileys & Emotion
- Tags
- cowboyhat, hatface, cowboyhatface
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="currentColor"><path d="M12 17.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m8 0a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M16 27c-8 0-8-8-8-8h16s0 8-8 8"/><path d="M8 5v-.5A2.5 2.5 0 0 0 5.5 2C3.5 2 1 3 1 7c0 2.515 1.854 3.96 3.375 4.624C3.451 13.53 3 15.712 3 18c0 3.512 1.061 6.772 3.266 9.165C8.483 29.57 11.766 31 16 31c4.235 0 7.517-1.43 9.734-3.835C27.94 24.772 29 21.512 29 18c0-2.287-.45-4.47-1.375-6.376C29.146 10.96 31 9.516 31 7c0-4-2.5-5-4.5-5A2.5 2.5 0 0 0 24 4.5V5c0 .481-.113 1.227-.444 1.967c-.333.744-.902 1.515-1.832 1.98a.5.5 0 1 1-.448-.894c.67-.335 1.1-.898 1.368-1.495A4.1 4.1 0 0 0 23 5h-1v-.962C22 2.361 20.612 1 18.902 1c-.694 0-1.328.227-1.84.602a1.527 1.527 0 0 1-2.123 0A3.1 3.1 0 0 0 13.099 1C11.388 1 10 2.361 10 4.038V5H9c0 .352.087.957.356 1.558c.267.597.698 1.16 1.368 1.495a.5.5 0 1 1-.448.894c-.93-.465-1.5-1.236-1.832-1.98A5.1 5.1 0 0 1 8 5m8 6.5c3.702 0 6.496-.779 8.108-1.474q.081.082.159.168C26.062 12.144 27 14.884 27 18c0 3.12-.94 5.86-2.737 7.81C22.48 27.744 19.762 29 16 29s-6.48-1.255-8.263-3.19C5.94 23.86 5 21.12 5 18s.94-5.86 2.737-7.81q.076-.083.155-.164C9.504 10.72 12.298 11.5 16 11.5"/></g></svg>How to use the Cowboy Hat Face icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-emoji-high-contrast:cowboy-hat-face" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-emoji-high-contrast:cowboy-hat-face" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-emoji-high-contrast:cowboy-hat-face" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-high-contrast--cowboy-hat-face]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-high-contrast -->
<div class="i-fluent-emoji-high-contrast:cowboy-hat-face"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-emoji-high-contrast:cowboy-hat-face"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-emoji-high-contrast/cowboy-hat-face.svg" alt="Cowboy Hat Face icon" width="24" height="24">Cowboy Hat Face icon in other icon sets
Cowboy Hat Face icon FAQ
Is the Cowboy Hat Face icon free for commercial use?
Yes. Fluent Emoji High Contrast icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cowboy Hat Face icon in React?
Install @iconify/react and render <Icon icon="fluent-emoji-high-contrast:cowboy-hat-face" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cowboy Hat Face icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-emoji-high-contrast/cowboy-hat-face.svg" alt="Cowboy Hat Face icon">, or paste the SVG code inline to style it with CSS.