Hat Glasses Duotone icon
keyline-icons:hat-glasses-duotone
The Hat Glasses Duotone icon (keyline-icons:hat-glasses-duotone) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- hatglasses, glassesduotone, hatglassesduotone, glass
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-opacity=".4" d="M4.2792 9L5.5955 5.0513C6.0038 3.8263 7.1502 3 8.4415 3L9.3333 3C9.9824 3 10.614 3.2105 11.1333 3.6L11.4 3.8C11.5731 3.9298 11.7836 4 12 4C12.2164 4 12.4269 3.9298 12.6 3.8L12.8667 3.6C13.386 3.2105 14.0176 3 14.6667 3L15.5585 3C16.8498 3 17.9962 3.8263 18.4045 5.0513L19.7208 9L22 9C22.5523 9 23 9.4477 23 10C23 10.5523 22.5523 11 22 11L2 11C1.4477 11 1 10.5523 1 10C1 9.4477 1.4477 9 2 9L4.2792 9Z" stroke="none"/><path fill="currentColor" fill-rule="evenodd" d="M11 17C11 19.2091 9.2091 21 7 21C4.7909 21 3 19.2091 3 17C3 14.7909 4.7909 13 7 13C9.2091 13 11 14.7909 11 17ZM21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z" clip-rule="evenodd" stroke="none"/><path d="M10 17C10 15.8954 10.8954 15 12 15C13.1046 15 14 15.8954 14 17"/></g></svg>How to use the Hat Glasses Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:hat-glasses-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:hat-glasses-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:hat-glasses-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--hat-glasses-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:hat-glasses-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:hat-glasses-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/hat-glasses-duotone.svg" alt="Hat Glasses Duotone icon" width="24" height="24">Related icons in Keyline Icons
Hat Glasses Duotone icon in other icon sets
Hat Glasses Duotone icon FAQ
Is the Hat Glasses Duotone icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hat Glasses Duotone icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:hat-glasses-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hat Glasses Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/hat-glasses-duotone.svg" alt="Hat Glasses Duotone icon">, or paste the SVG code inline to style it with CSS.