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.

Eye tracker, at rest

Hover · free, with full source

Eye tracker props

NameTypeDefaultDescription
follownumber60How far it turns to look. From 0 to 100.
bouncenumber30How much the turn overshoots. From 0 to 100.
shapestring"Cube"Shape. One of Cube, Pill, Hexagon.
eyesstring"Slant"Eyes. One of Slant, Dots, Squares.
sizenumber100pxSize. From 60 to 180px.

Free under MIT. Licence

More blocks

More hover blocks