ICONYZ
English
Sunglasses icon from Pixelarticons

Sunglasses icon

pixelarticons:sunglasses

The Sunglasses icon (pixelarticons:sunglasses) is a free SVG icon from the Pixelarticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Pixelarticons 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
Pixelarticons
Author
Gerrit Halfmann
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="currentColor" d="M15 10h5v2h-5zM4 10h5v2H4zm16 2h2v5h-2zM9 12h2v5H9zm4 0h2v5h-2zM2 12h2v5H2zm13 5h5v2h-5zM4 17h5v2H4zm7-5h2v2h-2zM2 6h2v6H2zm18 0h2v6h-2zM4 4h2v2H4zm14 0h2v2h-2zM6 12h3v2H6zm11 0h3v2h-3zM4 14h2v3H4zm11 0h2v3h-2zm-9 2h3v1H6zm11 0h3v1h-3zm-9-2h1v2H8zm11 0h1v2h-1z"/></svg>

How to use the Sunglasses icon

React

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

<Icon icon="pixelarticons:sunglasses" width="24" />

Vue

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

<template>
  <Icon icon="pixelarticons:sunglasses" width="24" />
</template>

Svelte

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

<Icon icon="pixelarticons:sunglasses" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pixelarticons:sunglasses"></iconify-icon>

HTML image

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

Related icons in Pixelarticons

Sunglasses icon in other icon sets

Sunglasses icon FAQ

Is the Sunglasses icon free for commercial use?

Yes. Pixelarticons 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="pixelarticons: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/pixelarticons/sunglasses.svg" alt="Sunglasses icon">, or paste the SVG code inline to style it with CSS.

Browse all Pixelarticons →