You searched for "rectangular shape"
Assemtech
Assemtech Rectangular Reed Switch, NO, 240V, 500mA
Part: S1366
A small magnetic switch that detects when metal objects are near it, used to monitor positions and trigger actions in industrial machinery and equipment.