Optoelectric sensors with rectangular housings. Available with metal or plastic bodies.
Rectangular metal housing
Rectangular plastic housing