JST XH connector 2, 3 and 4 pin

Either of a google search of the form “fritzing part jst xh connector” or jst xh connector in the forum search bar would have brought up this post which already has these parts.

Thus preventing you from reinventing the wheel. Always do a google search for already available parts before making new ones.

Peter