Photo Interrupter

.These two tutorials on parts making may help (both apply to current Fritzing versions, many of the others are for older versions!)

The images are pretty much unreadable. A web site that describes the part you want would likely be a better bet.

edit: a google search for photo interrupter module turned up a likely part in the images section so here is a part that should do.

Optical-Endstop-switch.fzpz (5.5 KB)

Peter