Glasses icon
oui:glasses
The Glasses icon (oui:glasses) is a free SVG icon from the OpenSearch UI set by OpenSearch Contributors. It is drawn on a 24 × 24 grid. OpenSearch UI icons are released under the Apache 2.0 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
- OpenSearch UI
- Author
- OpenSearch Contributors
- License
- Apache-2.0
- Size
- 24 × 24
- Tags
- glass
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9.035 9A3.5 3.5 0 0 1 15 7.05V4.5c0-1.072-.648-1.72-2.098-2.01a.5.5 0 0 1 .196-.98C14.981 1.886 16 2.905 16 4.5v4.25q0 .108-.043.202q.043.269.043.548a3.5 3.5 0 0 1-6.965.5h-2.07A3.5 3.5 0 1 1 .043 8.952A.5.5 0 0 1 0 8.75V4.5c0-1.595 1.019-2.614 2.902-2.99a.5.5 0 0 1 .196.98C1.648 2.78 1 3.428 1 4.5v2.55A3.5 3.5 0 0 1 6.965 9zM3.5 12a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m9 0a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5"/></svg>How to use the Glasses icon
React
import { Icon } from "@iconify/react";
<Icon icon="oui:glasses" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="oui:glasses" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="oui:glasses" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[oui--glasses]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/oui -->
<div class="i-oui:glasses"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="oui:glasses"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/oui/glasses.svg" alt="Glasses icon" width="24" height="24">Glasses icon in other icon sets
Glasses icon FAQ
Is the Glasses icon free for commercial use?
Yes. OpenSearch UI icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Glasses icon in React?
Install @iconify/react and render <Icon icon="oui:glasses" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Glasses icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/oui/glasses.svg" alt="Glasses icon">, or paste the SVG code inline to style it with CSS.