Eye tracker
A pair of eyes for React that follow the cursor around. They sit on a soft shape and turn to look at your pointer wherever it goes in the block. Choose a cube, pill or hexagon, with slanted, dot or square eyes. Good for mascots, 404 pages and playful landing pages.
Hover · free, with full source
Eye tracker props
| Name | Type | Default | Description |
|---|---|---|---|
follow | number | 60 | How far it turns to look. From 0 to 100. |
bounce | number | 30 | How much the turn overshoots. From 0 to 100. |
shape | string | "Cube" | Shape. One of Cube, Pill, Hexagon. |
eyes | string | "Slant" | Eyes. One of Slant, Dots, Squares. |
size | number | 100px | Size. From 60 to 180px. |
Free under MIT. Licence