You searched for "rectangular shape"
RS PRO
RS PRO Through Beam Photoelectric Sensor, Rectangular Sensor, 50 cm Detection Range
Part: 254-3741
Rectangular through-beam sensor for 50-centimeter detection in automation systems.
RS PRO
RS PRO Inductive Block-Style Proximity Sensor, 15 mm Detection, NO Output, 20 to 250 V ac/dc, IP67
Part: 252-2026
Block-shaped inductive sensor detects metal objects up to 15mm away.