Cowboy Hat Face icon
twemoji:cowboy-hat-face
The Cowboy Hat Face icon (twemoji:cowboy-hat-face) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Twitter Emoji
- Author
- License
- CC-BY-4.0
- Size
- 36 × 36
- Category
- Smileys & Emotion
- Tags
- cowboyhat, hatface, cowboyhatface
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#ffcc4d" d="M33 21c0 8.284-6.716 15-15 15S3 29.284 3 21S9.716 6 18 6s15 6.716 15 15"/><path fill="#664500" d="M25.688 25.605a.41.41 0 0 0-.522-.023c-.032.023-3.23 2.389-7.165 2.389c-3.925 0-7.133-2.365-7.165-2.389a.41.41 0 0 0-.6.54c.105.178 2.648 4.318 7.764 4.318s7.659-4.141 7.765-4.317a.41.41 0 0 0-.077-.518m-10.982-5.84c0 1.593-.922 2.883-2.059 2.883s-2.059-1.29-2.059-2.883c0-1.591.921-2.882 2.059-2.882s2.059 1.29 2.059 2.882m10.706 0c0 1.593-.922 2.883-2.06 2.883s-2.059-1.29-2.059-2.883c0-1.591.922-2.882 2.059-2.882c1.138-.001 2.06 1.29 2.06 2.882M32 6.13c-1.19 1.441-3.182 1.951-5.076 2.121C26.606 6.713 25.241 1 22.5 1c-2.403 0-3.269 1.091-4.5 1.091S15.903 1 13.5 1c-2.741 0-4.106 5.713-4.424 7.251C7.182 8.081 5.19 7.57 4 6.13C1.847 3.524-1 5.444.442 8.304C2.72 12.821 8.23 16 18 16s15.279-3.179 17.558-7.696C37 5.444 34.153 3.524 32 6.13"/><path fill="#825d0e" d="M21.5 3c-1.869 0-2.543.964-3.5.964S16.369 3 14.5 3C12.037 3 11 9.75 11 9.75S12.282 12 18 12c5.719 0 7-2.25 7-2.25S23.963 3 21.5 3"/><path fill="#664500" d="M11 6s2.074 2 7 2s7-2 7-2v2s-2.222 2-7 2s-7-2-7-2z"/></svg>How to use the Cowboy Hat Face icon
React
import { Icon } from "@iconify/react";
<Icon icon="twemoji:cowboy-hat-face" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="twemoji:cowboy-hat-face" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="twemoji:cowboy-hat-face" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--cowboy-hat-face]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji: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="twemoji:cowboy-hat-face"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/twemoji/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. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Cowboy Hat Face icon in React?
Install @iconify/react and render <Icon icon="twemoji: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/twemoji/cowboy-hat-face.svg" alt="Cowboy Hat Face icon">, or paste the SVG code inline to style it with CSS.