Creating an arduino shield: part for pins?

The only pins I can find in the parts bins have six pins that can’t be edited, but arduino has groups of 10, 8, 6, and 8. What part should I be using so that my PCB can plug directly into the arduino?

The generic connector.

After dragging the connector in to the sketch you can then use inspector (the lower right window) to set the number of pins and other parameters (male/female etc.) of the connector.