ICONYZ
English
Cowboy Hat Face icon from Fluent Emoji Flat

Cowboy Hat Face icon

fluent-emoji-flat:cowboy-hat-face

The Cowboy Hat Face icon (fluent-emoji-flat:cowboy-hat-face) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat 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 Flat
Author
Microsoft Corporation
License
MIT
Size
32 × 32
Category
Smileys & Emotion
Tags
cowboyhat, hatface, cowboyhatface
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><path fill="#6d4534" d="M17.061 2.602A3.1 3.1 0 0 1 18.901 2C20.612 2 22 3.361 22 5.038V6h2v-.5A2.5 2.5 0 0 1 26.5 3c2 0 4.5 1 4.5 5c0 3.2-3 4.667-4.5 5c-4.333-.333-11.9-1-7.5-1h-6c4.4 0-3.167.667-7.5 1C4 12.667 1 11.2 1 8c0-4 2.5-5 4.5-5A2.5 2.5 0 0 1 8 5.5V6h2v-.962C10 3.361 11.388 2 13.098 2c.694 0 1.328.227 1.84.602a1.527 1.527 0 0 0 2.123 0"/><path fill="#ffb02e" d="M7.274 10.228C9.214 11.147 12.074 12 16 12s6.786-.854 8.726-1.772C26.91 12.42 28 15.54 28 19c0 6.632-4.003 12-12 12S4 25.632 4 19c0-3.464 1.092-6.582 3.274-8.772"/><path fill="#fff" d="M15 14.5a3.5 3.5 0 1 1-7 0a3.5 3.5 0 0 1 7 0m9 0a3.5 3.5 0 1 1-7 0a3.5 3.5 0 0 1 7 0"/><path fill="#402a32" d="M14.5 15a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0m8 0a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0"/><path fill="#8c5543" d="M24 6H8v1c-.116 1.157.218 3.116 1.904 4.207c1.648.467 3.668.793 6.096.793s4.448-.326 6.095-.793C23.782 10.117 24.115 8.157 24 7z"/><path fill="#a56953" d="M10 5h12v1H10z"/><path fill="#bb1d80" d="M16 28c-8 0-8-8-8-8h16s0 8-8 8"/><path fill="#fff" d="M9 20.5V20h14v.5a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1"/></g></svg>

How to use the Cowboy Hat Face icon

React

import { Icon } from "@iconify/react";

<Icon icon="fluent-emoji-flat:cowboy-hat-face" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fluent-emoji-flat:cowboy-hat-face" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fluent-emoji-flat:cowboy-hat-face" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-flat--cowboy-hat-face]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-flat -->
<div class="i-fluent-emoji-flat: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-flat:cowboy-hat-face"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/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 Flat 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-flat: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-flat/cowboy-hat-face.svg" alt="Cowboy Hat Face icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent Emoji Flat icons →