Sunglasses icon
bi:sunglasses
The Sunglasses icon (bi:sunglasses) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
- Tags
- sunglass
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3 5a2 2 0 0 0-2 2v.5H.5a.5.5 0 0 0 0 1H1V9a2 2 0 0 0 2 2h1a3 3 0 0 0 3-3a1 1 0 1 1 2 0a3 3 0 0 0 3 3h1a2 2 0 0 0 2-2v-.5h.5a.5.5 0 0 0 0-1H15V7a2 2 0 0 0-2-2h-2a2 2 0 0 0-1.888 1.338A2 2 0 0 0 8 6a2 2 0 0 0-1.112.338A2 2 0 0 0 5 5zm0 1h.941c.264 0 .348.356.112.474l-.457.228a2 2 0 0 0-.894.894l-.228.457C2.356 8.289 2 8.205 2 7.94V7a1 1 0 0 1 1-1"/></svg>How to use the Sunglasses icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:sunglasses" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:sunglasses" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:sunglasses" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--sunglasses]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:sunglasses"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:sunglasses"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/sunglasses.svg" alt="Sunglasses icon" width="24" height="24">Sunglasses icon in other icon sets
Sunglasses icon FAQ
Is the Sunglasses icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Sunglasses icon in React?
Install @iconify/react and render <Icon icon="bi:sunglasses" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Sunglasses icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/sunglasses.svg" alt="Sunglasses icon">, or paste the SVG code inline to style it with CSS.