ICONYZ
English
Sunglasses icon from Keyline Icons

Sunglasses icon

keyline-icons:sunglasses

The Sunglasses icon (keyline-icons:sunglasses) 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
sunglass
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.2127 15.9743L15.0917 18.3473C15.237 18.7396 15.6111 19 16.0294 19L20 19C21.1046 19 22 18.1046 22 17L22 14C22 13.4477 21.5523 13 21 13L14.5479 13C13.8514 13 13.3682 13.6942 13.6101 14.3473ZM9.7873 15.9743L8.9083 18.3473C8.763 18.7396 8.3889 19 7.9706 19L4 19C2.8954 19 2 18.1046 2 17L2 14C2 13.4477 2.4477 13 3 13L9.4521 13C10.1486 13 10.6318 13.6942 10.3899 14.3473ZM2 13.5L4.2924 7.6512C4.7424 6.601 5.6202 5.7933 6.7041 5.432L8 5M22 13.5L19.7076 7.6512C19.2576 6.601 18.3798 5.7933 17.2959 5.432L16 5M14.2127 15.9743C13.1111 15 10.8889 15 9.7873 15.9743"/></svg>

How to use the Sunglasses icon

React

import { Icon } from "@iconify/react";

<Icon icon="keyline-icons:sunglasses" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="keyline-icons:sunglasses" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="keyline-icons:sunglasses" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--sunglasses]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:sunglasses"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="keyline-icons:sunglasses"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/sunglasses.svg" alt="Sunglasses icon" width="24" height="24">

Related icons in Keyline Icons

Sunglasses icon in other icon sets

Sunglasses icon FAQ

Is the Sunglasses 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 Sunglasses icon in React?

Install @iconify/react and render <Icon icon="keyline-icons: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/keyline-icons/sunglasses.svg" alt="Sunglasses icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →