---
title: "Eye tracking animated icon"
description: "Eye tracking animated icon (Accessibility & reading). The tracker follows the eye's gaze. Light: the pupil darts right and stops dead; a beat later the corner brackets slide after it and lock on with a small squeeze, then gaze and brackets return to centre. Strong: the pupil darts right, then across to the left, and the brackets chase and lock on each time before everything returns to centre with a small settle. The eye never moves; only the gaze does."
canonical: https://generativeicons.com/icons/eye-tracking/
---

# Eye tracking animated icon

The tracker follows the eye's gaze. Light: the pupil darts right and stops dead; a beat later the corner brackets slide after it and lock on with a small squeeze, then gaze and brackets return to centre. Strong: the pupil darts right, then across to the left, and the brackets chase and lock on each time before everything returns to centre with a small settle. The eye never moves; only the gaze does.

- Id: `eye-tracking`
- Category: Accessibility & reading
- Search terms: gaze tracking, eye gaze, gaze control, eye control, eye tracker, eye movement, pupil tracking, look to select, gaze input, hands free
- One action, back to rest
- 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-tracking.lottie (dotLottie, 4331 bytes, sha256 bb9923c27593d74d3b646f6dd43ae0d24cfa9050d7660205586f1bdd1439719f)
- License: MIT

## Install

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

## React

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

export function EyeTrackingIcon() {
  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-tracking.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-tracking/ · https://generativeicons.com/api/icons/eye-tracking
