You searched for "rectangular shape"
Celduc
Celduc Rectangular Magnetic Proximity Sensor, NO, , IP67
Part: PLMA0100
A sealed magnetic proximity switch that detects when a magnet approaches it, commonly used to sense position or movement in industrial machinery and automation systems.