Glasses Alt icon
boxicons:glasses-alt
The Glasses Alt icon (boxicons:glasses-alt) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m21.95 11.68l-1.54-4.63A2.99 2.99 0 0 0 17.56 5H16v2h1.56a1 1 0 0 1 .95.68L19.62 11H4.39L5.5 7.68A1 1 0 0 1 6.45 7h1.56V5H6.45A3 3 0 0 0 3.6 7.05l-1.54 4.63h.01c-.03.1-.06.21-.06.32v4c0 1.65 1.35 3 3 3h3c1.65 0 3-1.35 3-3v-3h2v3c0 1.65 1.35 3 3 3h3c1.65 0 3-1.35 3-3v-4c0-.11-.03-.21-.06-.31h.01ZM9 16c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-3h5zm11 0c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-3h5z"/></svg>How to use the Glasses Alt icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:glasses-alt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:glasses-alt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:glasses-alt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--glasses-alt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:glasses-alt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:glasses-alt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/glasses-alt.svg" alt="Glasses Alt icon" width="24" height="24">Related icons in Boxicons
Glasses Alt icon in other icon sets
Glasses Alt icon FAQ
Is the Glasses Alt icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Glasses Alt icon in React?
Install @iconify/react and render <Icon icon="boxicons:glasses-alt" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Glasses Alt icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/glasses-alt.svg" alt="Glasses Alt icon">, or paste the SVG code inline to style it with CSS.