The component combines an infrared LED and an infrared phototransistor in a cubic package.
I used a 15 x 15 x 15 yellow casing for easy integration into my models.
Left, the component — Right, the finalised sensor
Human eyes can't see infrared, but camera does.
Left, the sensor is off. Right, the infrared LED is on and clearly visible on the picture.