ICONYZ
English
Eye Slash icon from HeroIcons

Eye Slash icon

heroicons:eye-slash

The Eye Slash icon (heroicons:eye-slash) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
HeroIcons
Author
Refactoring UI Inc
License
MIT
Size
24 × 24
Tags
eyeslash
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="1.5" d="M3.98 8.223A10.5 10.5 0 0 0 1.934 12c1.292 4.339 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.499a10.52 10.52 0 0 1-4.293 5.773M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"/></svg>

How to use the Eye Slash icon

React

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

<Icon icon="heroicons:eye-slash" width="24" />

Vue

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

<template>
  <Icon icon="heroicons:eye-slash" width="24" />
</template>

Svelte

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

<Icon icon="heroicons:eye-slash" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--eye-slash]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:eye-slash"></div>

Web component

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

<iconify-icon icon="heroicons:eye-slash"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/heroicons/eye-slash.svg" alt="Eye Slash icon" width="24" height="24">

Related icons in HeroIcons

Eye Slash icon in other icon sets

Eye Slash icon FAQ

Is the Eye Slash icon free for commercial use?

Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Eye Slash icon in React?

Install @iconify/react and render <Icon icon="heroicons:eye-slash" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Eye Slash icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/eye-slash.svg" alt="Eye Slash icon">, or paste the SVG code inline to style it with CSS.

Browse all HeroIcons →