Solenoids are a great way to induce linear motion for pushing, pulling or controlling switches and levers. This smaller solenoid is designed to work directly with 5V which makes it a great match for embedded projects. It has a throw of about 4.5mm and 2 M2 mounting holes on the body.
The wire lead is about 2″ long and is terminated with a 2-pin JST PH connector.
Note: The mounting holes on this solenoid are actually 1.6mm in diameter. This will allow you to tap for an M2 screw. Also, although the datasheet lists a throw of 6mm, the actual throw appears to be closer to 4.5mm.