---
title: "Hide animated icon"
description: "Hide animated icon (Actions). The view is hidden. Light: a slash strikes down across the eye from top-left to bottom-right, and the eye flinches shut as it is struck, then reopens behind the slash with a small widening and settles; the slash stays. Strong: the eye squeezes fully shut first, the slash strikes across it and snaps a little past its length before settling, and the eye reopens with a flutter. Show reverses it: the slash retracts to the top-left and the eye pops wide open and settles."
canonical: https://generativeicons.com/icons/eye-off/
---

# Hide animated icon

The view is hidden. Light: a slash strikes down across the eye from top-left to bottom-right, and the eye flinches shut as it is struck, then reopens behind the slash with a small widening and settles; the slash stays. Strong: the eye squeezes fully shut first, the slash strikes across it and snaps a little past its length before settling, and the eye reopens with a flutter. Show reverses it: the slash retracts to the top-left and the eye pops wide open and settles.

- Id: `eye-off`
- Category: Actions
- Search terms: hidden, invisible, conceal, hide password, not visible, visibility off, eye slash, unseen, mask password, unwatch
- Two states: visible to hidden, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/eye-off.lottie (dotLottie, 7428 bytes, sha256 f4a16ced5bfdf302816cc489568af9d3caf9cf850efa70492cff4f0126050df3)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add eye-off
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/eye-off.mjs';

export function EyeOffIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/eye-off.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/eye-off/ · https://generativeicons.com/api/icons/eye-off
