An eye tracker device (200) comprises a diffractive beam expander (207) to provide two substantially collimated illuminating light beams (B11, B12). The collimated light beams (B11, B12) provide two reflection spots (G1, G2) appearing in the image of the eye. The gaze direction (GZD) is calculated from the positions of the reflection spots (G1, G2) with respect to the pupil (P) of the eye (E1). The two illuminating beams (B11, B12) are provided by splitting an infrared laser beam (B4) into two in-coupled beams (B5, B6), which propagate in different directions in the substrate (7) of the beams expander. The in-coupled beams (B5, B6) are expanded and their light is subsequently coupled out of the substrate (7) by an out-coupling grating (230) to illuminate the eye (E1). The same substrate (7) may also be used to implement a virtual display device (100) for displaying virtual images to said eye (E1).