Glasses Alt icon
bx:glasses-alt
The Glasses Alt icon (bx:glasses-alt) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- glassesalt, glass, bx glasses alt
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m21.948 11.684l-2-6A1 1 0 0 0 19 5h-3v2h2.279l1.334 4H15c-1.103 0-2 .897-2 2h-2c0-1.103-.897-2-2-2H4.387l1.334-4H8V5H5a1 1 0 0 0-.948.684l-2 6l.012.004A.9.9 0 0 0 2 12v4c0 1.654 1.346 3 3 3h3c1.654 0 3-1.346 3-3v-1h2v1c0 1.654 1.346 3 3 3h3c1.654 0 3-1.346 3-3v-4a1 1 0 0 0-.063-.313zM9 16c0 .551-.448 1-1 1H5c-.552 0-1-.449-1-1v-3h5zm11 0c0 .551-.448 1-1 1h-3c-.552 0-1-.449-1-1v-3h5z"/></svg>How to use the Glasses Alt icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:glasses-alt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:glasses-alt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:glasses-alt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--glasses-alt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:glasses-alt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:glasses-alt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/glasses-alt.svg" alt="Glasses Alt icon" width="24" height="24">Related icons in BoxIcons v2
Glasses Alt icon in other icon sets
Glasses Alt icon FAQ
Is the Glasses Alt icon free for commercial use?
Yes. BoxIcons v2 icons 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="bx: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/bx/glasses-alt.svg" alt="Glasses Alt icon">, or paste the SVG code inline to style it with CSS.